[osg-users] osgprerender every other frame

Robert Osfield robert.osfield at gmail.com
Tue Sep 4 01:25:27 PDT 2007

Hi Zach,

On 9/4/07, Zach Deedler <mynamezach at gmail.com> wrote:
> Anybody know how to modify osgprerender to only update the texture every
> other frame?  My goal is to only update the texture if there is time left in
> a frame to do so.  This will allow rear-view mirror scenes to not affect
> performance.

You can use a cull callback on the osg::Camera or node mask, or a
switch/sequence above the osg::Camera to toggle it one/off.


More information about the osg-users mailing list