post your code. someone might help you out

-Nick


On Mon, Feb 15, 2010 at 5:29 PM, Julien Valentin <[email protected]
> wrote:

> 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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to