Robert Osfield wrote:
> I've tried the suggested command line option and it just writes out
> the root file in my local outputpath directory, and then the next
> nested tile appears in the outputpath directory nested in the original
> databases directory, and the while lots of output appears on the
> console no other tiles appear to be written anywhere I can work out.
> As things stand it really doesn't appear to be working well under Linux.

  Hmm. Ok. I don't have a Linux OSG box handy, but a friend might. Let me look 
into it.

> Could you explain why you are using the set working directory code?

  The child PagedLOD files are very sensitive to having a certain portion of 
their path
written into the file and a certain portion implicitly inferred from the 
location of the
parent. The solution to this has always been to execute osgconv from within the 
proper
folder (where their parent file was, and where it will begin the search for 
them).

  The various file-writers (.osg and .ive) would have to have been modified to 
provide
some sort of mechanism to instruct the saver as to how much of the path should 
be
hard-coded into the data written, and this seemed like an ugly hack. So, 
instead, I simply
simulate the established practice of changing current working directory, and 
let the saver
store as much of the path as it is aware of, which works out right.

> Robert.

-- 
Chris 'Xenon' Hanson, omo sanza lettere                  Xenon AlphaPixel.com
PixelSense Landsat processing now available! http://www.alphapixel.com/demos/
"There is no Truth. There is only Perception. To Perceive is to Exist." - Xen
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to