Re: [osg-users] how to judge the model renderering progress is over in my codes

2011-07-31 Thread ramy panda
Dear Jsaon,
thank you very very much. I had used another method to implement my needs. But 
i also read the example you recommanded. Thank you very much for you kindness 
answer.

Thank you!

Cheers,
ramy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41753#41753





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] how to judge the model renderering progress is over in my codes

2011-07-27 Thread ramy panda
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!

Thank you!

Cheers,
ramy

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41664#41664





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] how to judge the model renderering progress is over in my codes

2011-07-27 Thread Jason Daly

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