Hi Chris,
I actually run across the problem by setting "./" in the databasePath...
this way it is never overridden.
My actual problem is that I set my pagedLod graph in two passes from two
different applications, so the second pass set the databasePath and you
know the end of the story...
Maybe the actual implementation is not an issue, (unless the relative
path is not a relative one) so do you have an other suggestion on how I
can ignore the problem ?
Thanks.
Regards,
Vincent.
Chris 'Xenon' Hanson a écrit :
Vincent Bourdier wrote:
As you can see, the DatabasePath appear, and the path set is to the path
where the original osg file is... so now my PagedLod won't work on a
different PC than mine...
I have run into this too.
This is the reason why the osgconv recursion submission I sent it a few weeks
ago has to
change working directory to the location of the sub-files before it converts
them.
Otherwise, the hard-coded path gets built into the converted output file, and
it will no
longer be portable.
I classify this as a "problem" in the PagedLOD saver (both IVE and OSG, I
think), but
I'm hesitant to call it a bug, and I didn't submit a "fix" for it, because I
suspected
that it was there for a reason and something I was unaware of might be relying
on it, so I
just worked around it.
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 4670 (20091208) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org