[osg-users] Render to texture

Ivan Bolčina ivan.bolcina at gmail.com
Tue Sep 4 12:43:51 PDT 2007


Hi.

I just want to render a simple node to a texture. All the examples are using
callbacks, osg viewer,etc.. I don't understand all that, I just want to set
up geometry, projection and new camera and then take one shoot with camera
and that's it.

So I need a simple function like this

osg::Image * CreateTopDownShotOfNode( osg::Node * node);

The main problem is how to tell osg to render using that camera.

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070904/0870f0b9/attachment-0002.htm>


More information about the osg-users mailing list