Hi Johny, you can't reimplement or override the osgDB::findDataFile(), but with osgDB::setFindFileCallback() you can make it do whatever you want.
Regards, Laurens. On Mon, Jul 10, 2017 at 3:28 PM, Johny Canes <[email protected]> wrote: > Hi, > > More keywords would be: How to reimplement or override the osgDB namespace > functions? They have > Code: > __declspec(dllimport) > > and it seems the osgPlugins are hardcoded to use this. > > From the osgrecipes I've got a small, effective and somewhat working > ReaderWriterPhysFS. It reads my model.obj.physfs properly, however, > osgdb_obj looks for the existence of the mtllib file using > Code: > osgDB::findDataFile > > > > What are my options to make subloads like textures work, because right now > it says > > > Code: > Obj unable to find mtllib 'bla.mtl' > > > > Thank you! > > Cheers, > Johny > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=71143#71143 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

