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
http://code.google.com/p/osgocean/source/browse/trunk/src/oceanExample/application.cpp#303
Cheers,
Kim.
On 20 January 2012 01:35, bart gallet bartgal...@hotmail.com wrote:
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.
I am using Windows 7 and Microsoft Visual Studio 2008.
Any suggestions?
Thank you!
Cheers,
bart
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44923#44923
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org