Hello Vinay,

I want rendering enabled, but I only want to render to the frame buffer object. Currently it is still trying to draw something to the screen. Thanks,

That is what Robert told you - to disable rendering to the screen you set the viewer's main camera's node mask to 0. Your RTT camera (with render target = frame buffer object) will still render to the offscreen surface.

Alternatively, if you want to not even have a window (the above solution will still spawn a window, but it will not render anything) you can use a PBuffer context. Search the archives or the examples for information about the usage (the sources of the osgconv application that comes with OSG could also be a good starting point).

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to