Hi guys,

 

Recently I’ve been experimenting on stereo views using OSG, with a ZScreen and a projector – Quite a heap of fun J   I’ve found it to be particularly useful for stereopsis research too.

 

I’ve hit a problem though – I’m trying to generate a ‘monocular view’ with a scene, i.e. to project a stereo view (under QUAD_BUFFER mode) with one eye’s image turned off.  I’ve dug around the SceneView code thus far and I had thought about these methods:

 

  1. Modify the library code to ‘hide’ the left/right eye view in SceneView, perhaps in the OpenGL projection part of the code,
  2. Generate a ‘patch’ to cover up the view of one eye (not sure about this one)
  3. Find a way to mask the view within the OSG parameters (again, not sure if that’s possible)

 

I’ve tried the LEFT_EYE/RIGHT_EYE flags in DisplaySettings, but they won’t work with the ZScreen.

 

Any ideas will be appreciated J

 

 

Regards,

Leo

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to