Sergey, thank you so much for your help. Its been very useful and has helped me focus my attention on the right things. I have almost finished what I needed to do.
I have one last question: I now have an RTT camera which I take its depth and color attachments from. The RTT camera is a slave to the master scene camera and takes its data from there also. My problem is that when I just leave the natural settings of the master camera then it seems that the depth range changes according to the bounding box of the scene data. [Image: http://forum.openscenegraph.org/files/capture2_125.png ] The range in the above image it gives me is great but I dont want it to change. I want to fix that depth range and also be in control of it. In the next image I have set viewer.getCamera()->setComputeNearFarMode(osg::CullSettings::DO_NOT_COMPUTE_NEAR_FAR); I assumed this had to do with the near and far culling planes but it seems to affect the depth range also. [Image: http://forum.openscenegraph.org/files/capture1_105.png ] So now my question is how do I set and fix the depth range to what I choose? ... Thank you! Cheers, aaron[img][/img] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=41117#41117 Attachments: http://forum.openscenegraph.org//files/capture1_105.png http://forum.openscenegraph.org//files/capture2_125.png _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

