Re: [osg-users] [osgOcean] how to set path to other resources folder?

2012-01-20 Thread Kim Bale
Hi Bart, osgOcean uses the osgDB registry to find paths for resources. You can add additional path to that with the following code: osgDB::Registry::instance()-getDataFilePathList().push_back( resources/boat); There is an example of this in application.cpp

Re: [osg-users] [osgOcean] how to set path to other resources folder?

2012-01-20 Thread bart gallet
Thank you Kim that solved it. Cheers, bart -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44940#44940 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] [osgOcean] how to set path to other resources folder?

2012-01-19 Thread bart gallet
Howdy folks, Is there a way to tell osgOcean to look elsewhere for its resources folder? My applications are looking for the resources folder directly in the directory of its executable, but I have many different applications, and I would like to share just the one resources folder among them.