MathGroup Archive 2001

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

Search the Archive

Re: 2D to 3D graphics?

  • To: mathgroup at
  • Subject: [mg31329] Re: 2D to 3D graphics?
  • From: Mark Westwood <mark at>
  • Date: Sun, 28 Oct 2001 03:07:10 -0500 (EST)
  • References: <9rb87l$5m4$>
  • Sender: owner-wri-mathgroup at


Something like:

twoDto3D[graphicObject] := Replace[graphicObject, {x_, y_} -> {x, y, 0}, 

works on things like Points and Lines, but may be too simple for more 
complicated objects.  Hope it points you in the right direction for 
those too.

Mark Westwood
Pilot Solutions Ltd

Ingolf Dahl wrote:

> Dear Mathgroup,
> Is there any way to transform a general (2D) Graphics objects to a
> Graphics3D object (with zero z coordinates)? I have a feeling that it is
> either very simple or very complicated. Have I missed something in the Book?
> Then I of course also want to be able to rotate the graphics in three
> dimensions, by RotateShape, but that is maybe to ask too much.
> I have experimented a bit with StackGraphics, since it seems to take 2D
> graphics as input, and 3D as output, but have not yet managed to manipulate
> the output of StackGraphics in any way.
> Ingolf Dahl
> Chalmers University

  • Prev by Date: Re: find argument of function inside long result?
  • Next by Date: RE: find argument of function inside long result?
  • Previous by thread: 2D to 3D graphics?
  • Next by thread: Re: 2D to 3D graphics?