Dear All,

I am making a scene graph in OSG and things are going great. Extensive support 
is available in forums and tutorials of OSG. Thanks a lot for that.

I have one doubt. It may not be related to OSG but may be related general 
application development based on OSG.

To update my scenegraph periodically, I want to use timer. I want a particular 
function to be called every few seconds or so.

In GTK, I used to use g_timeout_add() function. However I believe OSG doesn't 
use g_main_loop() inside its render API. is it correct?

Can some one tell me equivalent API for g_timeout_add() for OSG based 
application? or is there any other way to implement timer callback in OSG?

Thanks in advance!

Cheers,
Ankur

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to