Hi Scott,
On 2/20/07, May, Scott <[EMAIL PROTECTED]> wrote:
Thanks Robert for that quick response.
An RTT camera is just a osg::Camera correct? It seems like there are
limitations to RTT from reading different threads on this topic.
osg::Camera can be used as an RTT camera.
You an also used osg::Camera to add HUD's and mirror views directly on
top of your main 3D scene graph. See osghud for an example of this.
I have the MirrorCamera's RenderSurface, but I can't seem find how to
texture using the surface and I can't see how any of the examples apply.
Is there a specific example or compilation that might help?
All the RTT examples in the OSG distribution are osg::Camera based.
osg::Camera supports FBO's, pbuffers and frame buffer reads and an
automatic fallback system for when extensions aren't supported. This
makes it the most flexible means for doing RTT.
You can do RTT using Producer, and the way to do it is to create a
pbuffer RenderSurtace. Have a look through Producer examples to see
if there is any example there.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/