Hi Gordon,

You won't really swap rendering bettern render surfaces, you'd just
set up a seperate pbuffer and camera/sceneview and set it up with the
same view and projection matrices, capture the image, then disposal of
it all.

Robert.

On 11/16/06, Gordon Tomlinson <[EMAIL PROTECTED]> wrote:




Hi Folks

I have not done any offscreen rendering with OSG and have just been posed a
question I'm not sure about so I thought I woulld ask ;)

Basically what we want to do is

Render to the normal OSG  screen rendersurface, then we want to be able to
swap the rendering from the screen to an offscreen  p-buffer for a period of
time then switch back to rendering to the normal on screen rendersurface

Is it possible to switch likes this ?

Thanks






Gordon


__________________________________________________________




"Self defence is not a function of learning tricks
but is a function of how quickly and intensely one
can arouse one's instinct for survival"
- Master Tambo Tetsura



_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to