On 07/27/2011 08:46 AM, ramy panda wrote:
Hi,
Now i have a problem in my codes that i want to get a large number of thumnail
picture of the models. But i don't know when the model renderer progress is
over and the model is show in the OSG viewport, because until the model
renderer progress is over and model is show in the osg viewport in my codes i
capture the thumnail picture of the model. Is there any one can help me with
this problem. I'm in a hurry. Thank you very much!
The osgscreencapture example should be a good starting point.
Essentially, you'll want to use the Camera's FinalDrawCallback to
capture your thumbnail image.
--"J"
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org