MathGroup Archive 2006

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

Search the Archive

RE: RelaTime3D

Hi Dimitris,
Usually graphs in Mathematica are rendered by producing PostScript code,
which is then rendered by the FrontEnd using a built-in PostScript
interpreter (which just manages 2D graphics). You can see the PostScript
code by applying the menu command "Show expression" to a cell with graphics.
The Wolfram people have a long time tried to replace this interpreter with a
new one, allowing real and interactive 3D graphics. It did not appear with
Mathematica 5, but I believe and I think we all hope that the new rendering
will appear with Mathematica 6, whenever that will appear. I think the
RealTime3D was a very preliminary, and maybe not compatible, version of this
new rendering machine. It is included with Mathematica, but they do not make
very much fuzz about it, since it is so limited in what kind of graphics it
is capable of displaying. If you install my TaggedCells package (still beta
version, see ), there is a
ShowTo3DBoxedCell command there, which enables you to display RealTime3D
graphics mixed with ordinary graphics, without having to change the mode of
Mathematica. (It is even possible to make some animations if you can stand a
somewhat low update speed.) If you apply ShowExpression on such a cell, you
will not see any PostScript code, instead you will see a Graphics3D or
SurfaceGraphics expression.   

Best regards 

Ingolf Dahl

-----Original Message-----
From: dimmechan at [mailto:dimmechan at] 
To: mathgroup at
Subject: [mg70328] [mg70293] RelaTime3D

Consider the graph

Plot3D[Sin[x] - y^2, {x, -2*Pi, 2*Pi}, {y, -2, 2}]
(*plot to be displayed*)

One way to get a rotatable 3D graph is to execute the following command
puts you in the real time mode:

<< "RealTime3D`"

>From now on, any 3D graphics generated will come out in rotatable mode.

Plot3D[Sin[x] - y^2, {x, -2*Pi, 2*Pi}, {y, -2, 2}]
(*plot to be displayed*)

The only relevant information I found was

Information["RealTime*", LongForm -> True]
"RealTimeGraphicsDisplayFunction is display function which allows
Graphics3D and SurfaceGraphics objects to be rotated interactively in
the front end."

Executing then

<< "Default3D`"

you switch back to PostScript output.

Plot3D[Sin[x] - y^2, {x, -2*Pi, 2*Pi}, {y, -2, 2}]
(*plot to be displayed*)

Can someone explain how exactly happens this changing from PostScript
to rotatable object and back?
What is loaded with << "Default3D`"?


  • Prev by Date: Re: integrate an interpolated function
  • Next by Date: Re: How do you open all cells?
  • Previous by thread: Re: RelaTime3D
  • Next by thread: vector derivatives