Hi Robert,

Thank you for your reply.
I have already thought to do the screenshot using FBO with another camera to
not disturb the main view but sadly, at the moment, i have a piece of code
to improve but no time to do some refactoring.

The current algorithm just place the main camera where we want and then do a
readPixel in an osg::Image. I agree that's not the ideal way to take a
screenshot but i have to use it still for 2 weeks.
This will be refactored later, so i just need a way, ugly one or not, to
change instantly the clear color forcing the glClearColor call.

( I tried to simply put glClearColor(xxx) in my code but this didnt worked
*sigh* )

Regards,
Harold
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to