Does OSG support taking snapshots every frame and saving them as AVI file? Currently I just save snapshots to disk every frame and use VirtualDub to convert snapshot sequence into AVI file.

Yanling

On 5/15/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
On 5/15/06, MICHEL NAHAS <[EMAIL PROTECTED] > wrote:
Hi to all,

I want to ask how can i capture an image for the 3D model while I am
navigating in the model and to save this image into a file ( .bmp, .jpg,
...) so i can use the image later.

Can anyone help me to know what functions to use ( I think i have to use the
image class) or to indicate me a source code from an exemple pf OSG where i
can find a similar functionnality.

For similiar functionality look at src/osgProducer/ViewerEventHandler.cpp, as it has a screen snap shot code in it.

Robert.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to