New 3D graphics primitives in Mathematica 5.2
- To: mathgroup at smc.vnet.net
- Subject: [mg76084] New 3D graphics primitives in Mathematica 5.2
- From: Szabolcs <szhorvat at gmail.com>
- Date: Wed, 16 May 2007 05:23:16 -0400 (EDT)
- Organization: University of Bergen
It is possible to define new 2D graphics primitives using PostScript[]. This is how the Graphics`Arrow` package works. But does the user have any control over how 3D graphics are rendered? Is is possible to add new primitives, for example a line whose width depends on the distance from the ViewPoint (but not the viewing angle)? A series of joined lines with varying thickness appears ugly. A polygon would be a more appropriate low-level representation for a line whose thickness changes linearly. But a 3D polygon appears differently from different angles, and one would need access to the mechanism of translating 3D graphics to a 2D projection to be able to use a 2D polygon. Any suggestions for achieving this effect? Szabolcs