MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: New 3D graphics primitives in Mathematica 5.2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg76174] Re: New 3D graphics primitives in Mathematica 5.2
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 17 May 2007 06:00:46 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <f2eivi$t7p$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

since the graphics objects know nothing about the options of the
Graphics3D[] object, the objects will never find out what is in the
options list and can't access the value of the ViewPoint option.
but you can make a function that take the Graphics3D[] object and
update the ViewPoint.

For you 3d lines that change the thickness, it would be better to make
a tube with changing diameter.

Regards
   Jens

Szabolcs wrote:
> 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
> 


  • Prev by Date: Re: Re: Compatibility woes
  • Next by Date: Re: Re: Compatibility woes
  • Previous by thread: New 3D graphics primitives in Mathematica 5.2
  • Next by thread: An (undocumented?) feature of CompoundExpression and Out