Hi, i want to render several textured meshes. For each mesh the texture is filled with some polygons via a render-to-texture Camera.
Now, to save some video memory i want to reuse the same texture for each mesh. Looking into the code i think i would need to create 2 render stages for each mesh. One rendering the polygons into the texture and another one rendering the textured mesh, before filling the texture for the next mesh. I'm currently trying to achieve this with two prerender cameras for each mesh. One camera is a copy of the main camera, so stuff gets rendered into framebuffer of the window, and the other camera is added as child to render into the texture. Am i on the right track, or is there a better/simpler solution to this problem? Thank you! Cheers, Mathias ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=30766#30766 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

