Hi Michel,

osgDB::Registry::instance()->
   setOptions(new ReaderWriter::Options(ReaderWriter::Options::CACHE_ALL));

or

pass the Options on each readNodeFile call.

On 5/19/07, Bosse, Michael A @ Link <[EMAIL PROTECTED]> wrote:


I am trying to get osgDB::readObjectFile("filename") to
cache the models as they are loaded instead of reloading from file each
time. I am unfamiliar with the syntax that the other overload of this
function requires. Could someone point me to an example that can help me
understand this? Thanks a lot.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to