MathGroup Archive 2005

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

Search the Archive

Re: Mouse controlled 3D rotations


On Jun 10, 2005, at 2:29 AM, Jim Hafner wrote:

> Is there a way to build a 3D graphics object (e.g., a simple
> Tetrahedron) and manipulate it (e.g., rotate it in 3D) with the mouse?
>
> There is an example on webMathematica of just this, but I haven't
> figured out how to do it at all in plain ol' Mathematica.
>
> Does it matter what system I'm on (AIX 5.1 or WinXP)?
>
> I noticed that on AIX5.1, starting math kernel (no notebooks) that  
> I can
> use Animate[] to make a movie of a rotating Tetrahedron.  In XP, the
> same doesn't produce anything.  On either system, in a notebook, I  
> just
> get multiple graphics objects, one for each rotational position --
> there's no live animation.
>
> Any guidance is appreciated.
>
> Jim Hafner
> hafner at almaden.ibm.com
>

In[1]:=
<< "Graphics`Polyhedra`"

In[2]:=
<< "RealTime3D`"

In[3]:=
Show[Polyhedron[Tetrahedron]]

János


----------------------------------------------
Trying to argue with a politician is like lifting up the head of a  
corpse.
(S. Lem: His Master Voice)


  • Prev by Date: Re: Mouse controlled 3D rotations
  • Next by Date: Re: Getting simple answers from Reduce, ComplexExpand and FullSimplify
  • Previous by thread: Mouse controlled 3D rotations
  • Next by thread: Re: Mouse controlled 3D rotations