Yes, I understand this. And because you _have_ to disable color buffer clears in the other cameras, it'd be nice if you could also disable depth buffer clears. That way, the other cameras wouldn't have to invoke glClear at all. (That was the point I was trying to make, sorry it got convoluted. :-)
Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -----Original Message----- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Jean-Sébastien Guay Sent: Tuesday, April 21, 2009 4:02 PM To: OpenSceneGraph Users Subject: Re: [osg-users]Geometryconsidered in near+far plane auto computation Hi Paul, > Anyhow, you might be able to also avoid clearing depth in your other > cameras. Actually, the problem is not disabling clear of the depth buffer, it's disabling clear of the color buffer. Only the first camera needs to clear the color buffer, and since my skydome is rendered in PRE_RENDER, it's the first camera. I therefore need to disable clear of the color buffer for all other cameras. Anyways, I'll try to go forward with the other route (disabling auto computation of near/far) since I think this will have less implications. Thanks, J-S -- ______________________________________________________ Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ 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