OpenGL viewer

Hello,

I am using root version 5.02 with the new additions to OpenGL viewer: i.e. I can save the image to pdf and eps. I was wondering if there is a documentation about the 3D OpenGL viewer someplace. I want to generate many images and then play them to generate an animation movie. I wabt to know what functions are responsible for the “File” menu items like: “Print PDF” etc. … and rotation of the 3D object in the Open GL viewer.
Or even better, is there a way how to record a movie clip from OpenGL viewer.

thanks
michal

The way to do it in batch with the latest version is (thanks Timur):

gVirtualGL->CaptureViewer((TGLViewer*)gPad->GetViewer3D(),0);

[quote=“couet”]The way to do it in batch with the latest version is (thanks Timur):

gVirtualGL->CaptureViewer((TGLViewer*)gPad->GetViewer3D(),0); [/quote]

You may be interested to know that Qt version of the 3D viewer (see root/bnl.gov) is based on QGLViewer
artis.imag.fr/Members/Gilles.Deb … iewer.html
It is extremmely well documented and provides plenty of features:
artis.imag.fr/Members/Gilles.Deb … tures.html
See examples
star.bnl.gov/STAR/comp/vis/O … splay.html

star.bnl.gov/STAR/comp/vis/StarCollision.wmv