Re: ViewPoint -> moving into scenes
- To: mathgroup at smc.vnet.net
- Subject: [mg40491] Re: ViewPoint -> moving into scenes
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 8 Apr 2003 03:02:46 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <b6re75$7na$1@smc.vnet.net>
- Reply-to: kuska at informatik.uni-leipzig.de
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
ideally *there are* two points ViewPoint and ViewCenter and
the difference between the ViewCenter and the ViewPoint is the
view direction.
Moreover there is a ViewVertical, that specify the
camera orientation.
And
gg = ParametricPlot3D[
{(2 + Cos[v])*Cos[u],
(2 + Cos[v])*Sin[u],
Sin[v]},
{u, 0, 2Pi}, {v, Pi, 2Pi}]
Show[
gg,
ViewPoint -> {0.5, 0.5, 0.16},
ViewCenter -> {0.5, 0.5, 0.05},
PlotRegion -> {{-6, 6}, {-6, 6}}
]
look like you where inside of the half-torus.
Regards
Jens
Patrick McLean wrote:
>
> In making animations using Mathematica, I would like to create the scene
> as a Graphics3D object and then be able to view the scene from a point
> *inside* the scene.
>
> The option ViewPoint seems to be the most obvious thing to try.
>
> But ViewPoint is taken to be a point *outside* the limits of a box
> around the object.
>
> Ideally their would be two options - ViewPoint and ViewDirection.
>
> Does anyone know how to make this work?