[osg-users] Convert to OSG without file path
Alexandre Vaillancourt
alexandre.vaillancourt.list at gmail.com
Thu Feb 18 04:40:53 PST 2016
When converting our models to the .osg format, the exporter lists the
texture files with the full path to the file in the converted osg file.
These paths are not correct when we export/distribute the software, so we
have a script that looks for these full paths in the .osg file and remove
them (it leaves only the file name).
The folders paths OSG searches for the images are supplied to OSG at the
initialization of our software, this way it can search for these and find
the correct texture files.
I'm wondering: is there a way to tell osgconv to not output the full path
of the image files in the .osg file but only keep the file name?
We're exporting form .flt (OpenFlight), if that matters. And we're
currently using OSG 3.2.0, if that matters.
Thanks!
--
Alexandre Vaillancourt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160218/198ff72d/attachment-0002.htm>
More information about the osg-users
mailing list