Hi Leo, On 6/13/06, Leo Lam <[EMAIL PROTECTED]> wrote:
It's the first I'm afraid... the idea is to get the user to view the monocular image with both eyes (could've been done with an eye patch, but we'd like to make it less obvious :)
Still not clear on what you want. You want the left eye and right eye image to be the result of the left eye view? Or the right eye to be blacked off?
Can this be done with a mask or function or would some modifications be necessary?
For stereo imagery and movies I have used node masks in the past, see the osgstereimage example. Perhaps you could do something similar to blank off the scene for the inappropriate eye. Or perhaps just use two SceneView's one for each eye, but only render the one you want. You'll need to share the same osg::State object between the two SceneView's as you'll be sharing the same graphics context. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
