Hello Rene,
Rene Weller wrote:
> I`m trying to get an Zalman-3D-Stereo-Monitor to work with OpenSG. This kind
> of monitor uses polarization and an horizontal interlaced format.
> Unfortunatley, the Nvidia stereo drivers do not support OpenGL properly.
hm, too bad, using the drivers would have been the most convenient way.
> However, a workaround should be to use stencil operations, this means:
> Draw even lines of the scene from left viewport, draw uneven lines of scene
> from right viewport. But I don`t know how to combine this simple scheme with
> OpenSG viewports and StencilChunks.
the basic setup could be something like this:
- render the lines to the stencil buffer
- add a stencil chunk to everything in your scene and render it (create
only one chunk and keep a pointer to it, then you can reconfigure it to
let odd or even lines pass).
alternatively you could render your scene to a texture and only draw a
single full screen quad with the stencil chunk on it. I'm not sure what
the performance implications are, but it does not require to add the
chunk to each material in the scene.
Hope it helps,
Carsten
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users