Re: [osg-users] I cant get DrawCallback to work...

2007-09-28 Thread Carlos Zoido
is : virtual void operator () (const osg::Camera /*camera*/) const {} You've not got the const. Robert. On 9/28/07, Carlos Zoido [EMAIL PROTECTED] wrote: Hi all!, I'm trying to add a DrawCallback in order to set a PostDrawCallback to a camera and make a delay before SwapBuffers happen. At las

[osg-users] Is it possible to get a fixed constant framerate in OSG?

2007-09-27 Thread Carlos Zoido
Hi all!, Does anyone know if it's possible to controll the application framerate in any way ? We have now V-sync on and if for example we have a refresh frequency of 72Hz and the framerate is during all the execution of the application over 40fps we'd like to now if there's any function in OSG

[osg-users] How to activate precaching of textures on current version?

2007-09-21 Thread Carlos Zoido
Hi all, Could anyone please tell me how can i activate the textures precache in current stable version ? In the past I had this piece of code to do that task, wich piece of code would substitute this one ? for(osgProducer::OsgCameraGroup::SceneHandlerList::iterator