Hi J-S, Thanks a lot! It almost worked. i made the following changes:
Code: camera->addChild(object.get()); camera1->addChild(object.get()); camera->setClearMask(GL_DEPTH_BUFFER_BIT | GL_COLOR_BUFFER_BIT); camera1->setClearMask(GL_DEPTH_BUFFER_BIT); clearing only depth buffer for the first and second camera was giving a black screen. So i just cleared the color buffer as well. Well, could you please tell how i can specify setClearMask() for the master camera? (the viewer) Also, i wasn't able to get anaglyphs. Here is the snap: http://img593.imageshack.us/f/73302341.png/ Thanks, Mukund ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=38045#38045 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org