Hi,
Using osgDB::writeImageFile you can save an osg::Image to you hard
drive, the format available will be depending on the plugins you have.
To make this image, just use the viewer/camera to get the pixel buffer.
Or simply use the screenCaptureHandler, you can find it in the examples,
to obtain the base code to take screenshots.
Regards,
Vincent.
Le 08/03/2012 17:33, Zachary Hilbun a écrit :
Hi,
I want to be able to animate a scene and then write the images to an image
format such as mpeg or other format.
Is this possible using OSG?
If so, is there any documentation on how to do it or is this just one of those "read
the source code" things?
Thank you!
Cheers,
Zachary
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=46108#46108
_______________________________________________
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