[Logo]
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing  
[Register] Register / 
[Login] Login 
Converting local coordinates to global coordinates  XML
Forum Index » Alternativa3D 5
Author Message
tbomedia


Joined: 12/06/2008 15:28:54
Messages: 9
Offline

Is there a way to convert a mesh's verex points into their global positions?

I can't seem to find a translatePoint function in the Matrix3D class.

I'm trying to get the matrix transformation of the mesh then use that along with the local vertex positions to find their global positions.

The flash Matrix3D class has a function called "transformVector" which is what I'm after.

Thanks.

*I've also tried converting the Alternativa Matrix3D into a flash Matrix3D object without success.

This message was edited 1 time. Last update was at 29/01/2010 04:39:21

tbomedia


Joined: 12/06/2008 15:28:54
Messages: 9
Offline

I Think I've found a solution, if theres a better way I'd love to hear it

tbomedia


Joined: 12/06/2008 15:28:54
Messages: 9
Offline

EDIT - need to change translate to "translateLocal"
makc

[Avatar]

Joined: 02/06/2008 12:19:17
Messages: 1535
Offline

chris foulston wrote:Is there a way to convert a mesh's verex points into their global positions?
vertices have global coordinates property in namespace alternativa3d:
[WWW]
tbomedia


Joined: 12/06/2008 15:28:54
Messages: 9
Offline

ah I thought there might have been some namespace trickery going on.

Thanks.
 
Forum Index » Alternativa3D 5
Go to:   
Powered by JForum 2.1.8 © JForum Team