Re: [osg-users] Convert to OSG without file path
It would be good to add this functionality to all the Exporters that support the texture names. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66419#66419 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Convert to OSG without file path
Hi Nick, Yes, that would be one way to do it. I think I'll suggest it here and see how it goes :) Thanks! -- Alexandre Vaillancourt 2016-02-24 10:41 GMT-05:00 Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com>: > Hi Alexandre, > > why not extend osgconv (you have the code :) ) with this feature and > submit it to Robert? It is nice and needed feature (I needed it too and I > ended up with having my own local copy of osgconv) > > Cheers, > Nick > > On Wed, Feb 24, 2016 at 4:40 PM, Alexandre Vaillancourt < > alexandre.vaillancourt.l...@gmail.com> wrote: > >> Tony, >> >> Thanks for the tip! >> >> Unfortunately, I want to have the paths removed from the .osg after the >> conversion with osgconv to avoid an extra step (to load the file in a >> script and have it removed the paths). This loading of the .flt and output >> twice will add an extra step and a lot more time to process (some of our >> models take 3 minutes+ to convert). >> >> >> -- >> Alexandre Vaillancourt >> >> 2016-02-23 17:07 GMT-05:00 Tony Vasile : >> >>> Hi Alexandre, >>> Your right, but you could use osgconv to strip the paths in a >>> temporary flt file and then convert the temporary flt file to osg. >>> >>> >>> Tony V >>> >>> -- >>> Read this topic online here: >>> http://forum.openscenegraph.org/viewtopic.php?p=66401#66401 >>> >>> >>> >>> >>> >>> ___ >>> 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 >> >> > > > -- > trajce nikolov nick > > ___ > 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
Re: [osg-users] Convert to OSG without file path
Tony, Thanks for the tip! Unfortunately, I want to have the paths removed from the .osg after the conversion with osgconv to avoid an extra step (to load the file in a script and have it removed the paths). This loading of the .flt and output twice will add an extra step and a lot more time to process (some of our models take 3 minutes+ to convert). -- Alexandre Vaillancourt 2016-02-23 17:07 GMT-05:00 Tony Vasile : > Hi Alexandre, > Your right, but you could use osgconv to strip the paths in a temporary > flt file and then convert the temporary flt file to osg. > > > Tony V > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66401#66401 > > > > > > ___ > 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
Re: [osg-users] Convert to OSG without file path
Hi Alexandre, why not extend osgconv (you have the code :) ) with this feature and submit it to Robert? It is nice and needed feature (I needed it too and I ended up with having my own local copy of osgconv) Cheers, Nick On Wed, Feb 24, 2016 at 4:40 PM, Alexandre Vaillancourt < alexandre.vaillancourt.l...@gmail.com> wrote: > Tony, > > Thanks for the tip! > > Unfortunately, I want to have the paths removed from the .osg after the > conversion with osgconv to avoid an extra step (to load the file in a > script and have it removed the paths). This loading of the .flt and output > twice will add an extra step and a lot more time to process (some of our > models take 3 minutes+ to convert). > > > -- > Alexandre Vaillancourt > > 2016-02-23 17:07 GMT-05:00 Tony Vasile : > >> Hi Alexandre, >> Your right, but you could use osgconv to strip the paths in a temporary >> flt file and then convert the temporary flt file to osg. >> >> >> Tony V >> >> -- >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=66401#66401 >> >> >> >> >> >> ___ >> 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 > > -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Convert to OSG without file path
Hi Alexandre, Your right, but you could use osgconv to strip the paths in a temporary flt file and then convert the temporary flt file to osg. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66401#66401 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Convert to OSG without file path
Tony, Thanks for your answer. Correct me if I'm wrong, but isn't this option used when you want to output .flt files? I'm trying to output .osg files. Thanks! -- Alexandre Vaillancourt 2016-02-23 7:44 GMT-05:00 Tony Vasile : > Hi Alexandre, > There is an export option for the OpenFlight plugin > "stripTextureFilePath". This should would do what you want. > > > Tony V > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=66396#66396 > > > > > > ___ > 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
Re: [osg-users] Convert to OSG without file path
Hi Alexandre, There is an export option for the OpenFlight plugin "stripTextureFilePath". This should would do what you want. Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66396#66396 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Convert to OSG without file path
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 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org