yarniso
August 18th, 2005, 06:28 PM
Hi all,
probably a simple question for you guys. I have set the tracker up and everything runs fine. However, the matrix (or at least the values I see) doesn't seem to be quite right. When I hold my camera almost straight above the marker (imagine the marker laying down on a table) I get the following values:
eye : (2.37821 , -10.9967 , 1091.38)
center: (2.45599 , -11.0202 , 1092.38)
up : (-0.102153 , -0.994649 , -.00154012)
(these values are obtainted using OpenSceneGraph's getLookAt function for matrices)
Now, there is this line in ar.h saying "..., and z axis is pointing downwards from marker plane." at arGetTransMat. What does this mean? That positive z-values are down (below the marker) or that they are up (above the marker)? And what about the values that I'm getting. The eye-point seems to be lower than the center. Which is odd, because I'm holding it above the marker....
Can anyone give me any explanation on this topic? And if you don't understand what I'm asking, please say so and I'll try to clarify things.
Kind regards
probably a simple question for you guys. I have set the tracker up and everything runs fine. However, the matrix (or at least the values I see) doesn't seem to be quite right. When I hold my camera almost straight above the marker (imagine the marker laying down on a table) I get the following values:
eye : (2.37821 , -10.9967 , 1091.38)
center: (2.45599 , -11.0202 , 1092.38)
up : (-0.102153 , -0.994649 , -.00154012)
(these values are obtainted using OpenSceneGraph's getLookAt function for matrices)
Now, there is this line in ar.h saying "..., and z axis is pointing downwards from marker plane." at arGetTransMat. What does this mean? That positive z-values are down (below the marker) or that they are up (above the marker)? And what about the values that I'm getting. The eye-point seems to be lower than the center. Which is odd, because I'm holding it above the marker....
Can anyone give me any explanation on this topic? And if you don't understand what I'm asking, please say so and I'll try to clarify things.
Kind regards