Marker Coordinates

Oct 4, 2010 at 3:50 PM

Hello everybody,

is it possible to know the position of the marker when it is tracked?




Oct 6, 2010 at 7:16 AM

I noticed you can read a WorldTransformation matrix from the markerNode (and from other nodes too), but can't understand if it could be useful or not for my aim.

I did some tries involving matricial calculations but couldn't get to a solution.

Any help, please?



Oct 10, 2010 at 7:15 AM

MarkerNode.WorldTransformation gives your exactly what you need for the position of the marker relative to your camera (it's relative position, not absolute). 


Oct 12, 2010 at 7:51 AM

Ok, so i'll need to multiply markernode.WorldTransformation and scene.CameraNode.WorldTransformation?

This way i'll get a 4x4 matrix where only the first 2 rows and columns are of my interest, right?