Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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


  • Prev by Date: Re: About UnitStep and ZeroValue
  • Next by Date: Re: About Condition and HoldAll
  • Previous by thread: Re: TeXForm and custom LaTeX macros
  • Next by thread: Re: New 3D graphics primitives in Mathematica 5.2