Hi all, I'm trying to use a slave camera to take screenshots in a different 
resolution than the main camera. I have tried setting the slave cameras 
renderingimplementation to Frame_buffer_object and pixel_buffer_rtt and have 
made a graphics context with the desired resolution, but I'm always just 
getting a screenshot where I have the desired content in the original camera's 
resolution in the lower left corner and black pixels in the rest of the 
screenshots area. I've tried changing the background color of the slave cameras 
graphics context, and this works fine with only the screenshot being affected 
and the windows rendered by the main camera looking as normal, so I'm guessing 
that it's using the FBO for the slave camera. I'm guessing that I have 
forgotten some kind of statement regarding the slave camera's graphics context.

regards, and thanks in advance.

Jesper D. Thomsen

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to