Hi,

we made a little driving simulator with different levels and we have a problem 
with dynamic loaded models from the ReaderWriter.

We'd like to load all models when the level is changed and the scenegraph is 
created. After loading the models into the scenegraph, the simulation should 
start.

When we just create the root node and attach it to our camera, the simulation 
starts and updates a few frames while the models still are loading.
Models which are not in the camera's field of vision when the level starts, are 
loaded, when tey are in the field of vision for the first time. This makes our 
simulation have a litte framerate per second for a moment

We tried to enable CACHING_ALL as ReaderWriter options and disabled the 
Optimizer for the graph, but it still doesn't work.


So do you have any suggestions how can we load all objects at the point the 
scenegraph is created? Do we have to set any property to the viewer/camera?

We are using osg 2.8.3.

Thank you!

Cheers,
Theo

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





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

Reply via email to