Hello, I would like to make a prerender camera that loop over the rendering of its son's geometries until an event happens and then display the result as a texture with the main camera..
mainloop(){ while(condition){ tex=prerender_camera.draw() //render to texture using fbo } maincamera.draw() //render the main scene using texture tex } (The condition depends on the post draw opengl state : an occlusion query.. ) I have try a few tricks without success Can you help me for this?.
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org