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
+1 303 859 9466

-----Original Message-----
[] 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

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.


Jean-Sebastien Guay
osg-users mailing list

osg-users mailing list

Reply via email to