Re: [osg-users] PHYSFS / VFS - How to make a custom osgDB:: function ?
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 Caneswrote: > 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 > 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
[osg-users] PHYSFS / VFS - How to make a custom osgDB:: function ?
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 osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Forum
Hi folks, The forum seems up and running again. My best guess is, that Art Tevs (who is hosting the forum) has fixed the issue. Cheers Sebastian ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org