Hi everybody. I have a problem switching Interlace modes.
I'm using stereoscopic rendering with the help of the DisplaySettings and the functions setStereo(...) and setStereoMode(...). Everything works fine, but when I want to switch e.g. from horizontal interlacing to vertical interlacing or checkerboard-mode later on it doesn't work. I always get the stereo mode I selected first. Other kinds of stereo rendering work fine. To give an example: I select vertical interlacing. Everything is displayed fine. I now can change the mode to anaglyphic without any problems. My scene shows up in red and cyan. When I now change to horizontal or checkerboard interlacing I always get my view still interlaced in a vertical direction. When I change interlace modes right after enabling it the first time so that the scene isn't rendered in the meantime everything works as it should and the mode that was selected last shows up. So it seems something during the rendering in the SceneView-class prevents from switching modes after the first time everything was interlaced. I looked into the code of the SceneView-class and it seems that _redrawInterlacedStereoStencilMask causes this behaviour. There is a possibility to set this parameter manually via setRedrawInterlacedStereoStencilMask which I probably have to do after changing interlace modes. But my problem is that I don't know how to access it since I cannot get hold of the SceneView used for rendering. Anybody got any ideas on how to make my interlace-mode-switching work? Thanks in advance, Steffen _______________________________________________________________________ EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/[EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

