Chris Hanson wrote on 2012-02-03: > Ran into a problem where models made on a Windows box didn't work on a > Linux box because the modeler had stored texture filenames in the file in > one case "foo.jpg" and the actual image file was a different case "foo.JPG". ... > Is there a better way to do this or away to do this already? > > Is there an osgDB callback that I could hook into that would let me make one > last-ditch effort at finding a file before osgDB gives up?
You could add a osgDB::ReadFileCallback to the osgDB::Registry that would do a case-insensitive search for the file. -- Bryan Thrall Principal Software Engineer FlightSafety International bryan.thr...@flightsafety.com _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org