HI Aurelien, On 18 May 2012 15:06, Aurelien Albert <aurelien.alb...@alyotech.fr> wrote: > What about my 2nd question ? (render only this camera)
Not a quick an easy answer to this one. The normal frame loop will render the various graphics windows and then issue a swap buffers at the end of the frame, what you are wanting to just render a RTT Camera as a one off, or do you.... Typically one would do such RTT Camera's prior to the main Camera, putting them in the scene graph can be the best way to manage whether it needs to be rendered or not per frame. It's possible to render a Camera more directly by calling the Camera's Renderer's cull_draw() method for a thread with the appropriate context current, this isn't usual OSG usage though, and not one I've tried yet, this is just what the viewer will be doing behind the scenes so it will be possible to split this out into user control. The one thing you'd need to be careful of who has control of which thread and which context. Running single threaded and single context makes this more straight forward. Do too much in non standard ways will require greater low level understanding and patience in debugging stuff as you'll be doing stuff that most other haven't directly done before. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org