Hi Mukend, One of the first tasks I did with the OSG was to a proof of concept of using a haptic glove and immersive workbench to create a interactive virtual environment where would could pick up and touch items in the virtual scene. This was over a decade ago ;-)
Understanding how to get a stereo projected scene to be placed accurately enough to enable a compelling interaction with physical objects, such as tracked gloves, required tracking of the glasses, glove and accurate mapping of the trackers coordinate frame relative to the display systems coordinate frame. You have to fully understand the required projection and modelview matrices that will produce the correct view for eye. This is not a trivial implementation of stereo, you'll need to understand everything at a much deeper level than the standard stereo app that can get away with a fixed eye point relative to the display system. For the proper interaction you'll need to compute the left and right eye offsets yourself, and use two viewer slave Camera to create the left and right images. I wouldn't recommend trying to built in stereo that the OSG provides as it's too simplified for your requirements - it's very easy to enable and configure but way too simplistic. >From the sound of it you probably have a way to go to learn how to set up eveything correctly, you'll need to grasp the maths and the requirements for accurately settings up the system, as well as setting up the viewer appropriate. I would recommend starting simple and then work your way up. Simple would be to start with a built in stereo that the OSG provides, and then recreate this manually using slave Camera, then as you get experience start introducing left and eye poisitioning relative to the displays coordinate frame. I'm afraid I can't walk you through all of this, I can point you in the right direction w.r.t OSG API, but for the concepts and maths there are textbooks and online resources. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

