[Papervision3D] projecting a Number3D to screen location
kwarismian at gmail.com
Mon Mar 24 06:21:58 PST 2008
The "screen coordinates" of any vector in 3d space is the result of
projecting those 3d coordinates to a 2d plane. Thus, it is always a
function of the camera transform, as that dictates how the projection for
each vertex is handled.
You can't have a screen without a projection.
On Sat, Mar 22, 2008 at 7:34 PM, REast <reast at esri.com> wrote:
> Ok, there's still a problem. Vertices3D extends DisplayObject3D and thus
> has a view property.
> In my scenario, I am looking for a way to convert from a Number3D to
> coordinates. But, the Number3D is not a DO3D, so there isn't an
> Is there a view somewhere that I can use? The scene.camera doesn't look
> promising to me.
> Seb-21 wrote:
> > .....
> > find projectFrustum in Vertices3D.as
> > this is the code you want :
> > s_z = vx * m31 + vy * m32 + vz * m33 + view.n34;
> > s_w = vx * m41 + vy * m42 + vz * m43 + view.n44;
> > .......
> View this message in context:
> Sent from the Papervision3D mailing list archive at Nabble.com.
> Papervision3D mailing list
> Papervision3D at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D