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
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
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.
3 matches
Mail list logo