Hey,
Well my problem is this, I have a webcam and it looks on a table from a slant, 
and gives me coordinates of an object it finds (a marker). These coordinates 
are then sent to the TransformationMatrix arTransform in order for 
OpenSceneGraph zu render a Model on there.
The problem is, if I move the marker back on the table it should move the model 
as well, but because the camera is slanted it moves the object back and down 
(or up).
So what I wanted to do is adjust the Camera Coordinate System by the angle the 
camera has to the table. So roughly 45°.

So I thought updating arTransform by the rotation, would solve my problem of my 
model not adjusting correctly.

And then I wanted to add scale factors, as the model "slides" off of the 
model....

Does this approach make any sense? Is that the correct way to adjust the 
Coordinate System?
Hope that description helps to understand my problem better,
David

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17276#17276





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to