[Papervision3D] LocalToGlobal
De'Angelo Richardson
dialeoson at yahoo.com
Sat Aug 18 11:43:19 PDT 2007
Mouse3D does something similar. The getCoordAtPoint() method results in a new v3d then it is converted to world coords.
-De'Angelo
----- Original Message ----
From: Andy Zupko <azupko at zupko.info>
To: papervision3d at osflash.org
Sent: Saturday, August 18, 2007 10:08:34 AM
Subject: [Papervision3D] LocalToGlobal
Hey Guys, quick math question.
I am trying to convert a Vertex3D in an do3d to its global position. To do
this, I create a matrix and set n14, 24, and 34 to the x,y,z cords of the
v3d. I then multiply that matrix with the do3d.transform, and then set the
global point to the resulting matrix. Unfortunately, this doesn't give me
the expected results. Any ideas on how I can do this, or is there anything
built to handle this already?
Thanks.
-Andy
_______________________________________________
Papervision3D mailing list
Papervision3D at osflash.org
http://osflash.org/mailman/listinfo/papervision3d_osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070818/32084893/attachment.html
More information about the Papervision3D
mailing list