Hi Alexandre,
Let's say I have a openflight model with .rgb texture, when converting this one to an ive file, if the rgb texture file is missing (say temp.rgb in this case) there will be no texture and that makes perfectly sense. But a cool feature would be that if there is not associated rgb file (temp.rgb) the plugin will search other file extensions like dds, png, bmp (temp.dds, temp.png or temp.bmp).
We do this for loading models in our app - it starts by trying to load the filename as it was passed, then if not found it tries the same filename with .ive, then .flt extension.
But I don't think this is a feature that could be integrated into OSG since it's perfectly possible to have a file called "file.png" and another called "file.jpg" that contain totally different images. The OSG cannot know when they're expected to contain the same thing, it's up to your app to make that kind of decision.
I think with a ReadFileCallback you could do something like that. Hope this helps, J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

