Hi Eric,
Eric Maslowski wrote:
> Hello all,
> We're playing with the ProjectionCamera and our Vicon system, but have run
> into two problems/questions.
>
> 1) When we move the user node in/out the scene seems to adjust the size of
> our object properly for that view. However, when we move left/right or
> up/down the scene (a torus) just seems to follow us when it should be
> distorting and skewing for the different viewing angles. Any thoughts on why
> this might be happening? We're just feeding the position grabbed from our
> Vicon system into the user_node.
Hm, if the object is far in front of the zero parallax/projection plane it can
look like that. Have you tried putting the object in the projection plane?
Also,
a torus might not be the best test object, I usually try to use something long
and thin, like a box, that sticks out of the screen.
> 2) What values are people using when setting the user's position? We have a
> Vicon system which we are getting the full matrix for. If we just feed that
> to the user node we get rotation on too many axes. Naturally we only want
> the eye separation to be affected if the person tilts their head to the
> side. How are others building up their user node matrix with tracked data?
The trick with the PCD is to make sure that the projection plane is in the same
coordinate system as the user coordinates. So just try to put a wand or other
tracker at the corners of the projection plane and use those coordinates.
> If it matters, we're using two ProjectionCameraDecorators (one for each
> eye), two PassiveViewports, and a PassiveWindow. We also know the
> coordinates we are getting from Vicon to be correct.
That sounds sensible.
Hope it helps
Dirk
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users