Hi Marcus, For render to texture examples have a look at the osgprerender example. The basic principle is that you create an osg::Camera and set it up to take a picture of a subgraph into a texture, this approach is often called RenderToTexture or RTT.
FYI, The 1.9.x series of the OSG has an osgShadow library with support for shadow mapping. Robert. On 5/16/07, Marcus Fritzen <[EMAIL PROTECTED]> wrote:
Hello, can somebody explain me this class a little bit more detailled, because I have draw my scene twice from different points of view and I don't know how to do it till know. After the first draw, I want to clear everything because I just need some information of the scene which I will store in a texture ( it's for shadow mapping ;) ) Thanks, Marcus -- ---------------------------------------------------------------- Marcus Fritzen E-mail: [EMAIL PROTECTED] University Koblenz Mobil: +491786867360 Triererstr. 105, 56072 Koblenz, HIWI FB4 Herr Jackel ---------------------------------------------------------------- _______________________________________________ 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/
