Hi Ronny, It looks like the stencil buffer is not being properly setup. Are you sure that your application allocates a stencil buffer when creating the OpenGL context?
Cheers, Farshid On Mon, Mar 22, 2010 at 2:04 PM, Ronny Hatteland <ronnyhattel...@gmail.com>wrote: > Hi, > > When activating horizontal/vertical interlace or checkerboard, I get the > following result: img229.imageshack.us/img229/9520/stereofy.png > I tried my application with horizontal interlace enabled on my thinkpad > laptop where I got interlace working as expected. > Thus I assumed this might be caused by the display driver; I installed > 196.21_desktop_win7_winvista_64bit_international_whql and the beta driver > 197.13_desktop_win7_winvista_64bit_international, none of which solved the > problem. > I currently have two GeForce GTX260 setup in non-SLI using three monitors. > > Any suggestions? > > > I also tried to change the stereoscopic mode after initializing the camera > and viewer (the camera variable is set as a public member of the mOSG > class): > > > Code: > void CMyView::SetStereoscopicMode(DisplaySettings::StereoMode mode) { > DisplaySettings *stereoSettings = new DisplaySettings(); > if (mode == NULL) stereoSettings->setStereo(false); > else { > stereoSettings->setStereo(true); > stereoSettings->setStereoMode(mode); > } > mOSG->camera->setDisplaySettings(stereoSettings); // Works fine > mOSG->getViewer()->getCamera()->setDisplaySettings(stereoSettings); // > Does not work > } > > > > Is there a way to make ->getViewer()->getCamera() work and leave the camera > variable protected/private? > > Thank you! > > Best Regards > Ronny Hatteland > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=25986#25986 > > > > > Attachments: > http://forum.openscenegraph.org//files/stereo_152.png > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org