Re: [osg-users] RTT using slave cameras (osgfpdeth example)

2012-06-06 Thread Joel Graff
Tim, That would appear to explain it. Thanks. -Joel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48074#48074 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] RTT using slave cameras (osgfpdeth example)

2012-06-04 Thread Tim Moore
I'm not sure if this answers your question, but... the only portable way to get a floating point depth buffer is with an FBO; you can't attach one to the frame buffer associated with the main display. So the example renders the geometry to an FBO attached to a slave, then displays the results as a

[osg-users] RTT using slave cameras (osgfpdeth example)

2012-06-02 Thread Joel Graff
Hello, I'm trying to learn the intracacies of rendering to textures using osg, and I've dissected the osgfpdepth example to do it. I've been largely successful at resolving the code into a much simpler example for rendering using the color buffer only. Anyway, my goal was to have both the