Hi Mattias,

This looks like a bug I've introduced with the nesting of task directories.
Tasks directories are related the the distributed build support that
vpbmaster provides, as it splits the build into a series of tasks, each
tasks writes to its own directory.  osgdem also has this support as it's the
tool that is invoked by vpbmaster to run each task.

For the distributed build support I haven't yet done any work on
compatibility with using archives.  It should be possible at the task level,
but not for the whole build.  With big vpbmaster builds you might be
outputting several terrabytes of data so it doesn't make it a good candidate
for placing in an archive.  The threading issues with writing to a shared
archive file mean that generating a single archive is impractical.

For much of the past year I've been working on this distributed build/large
scale database build support, some old features haven't been tested in this
new work, archive support being one of them.  This is one area I need to do
futher work on.

For the time being I'd recommend not using archive support in osgdem and
instead place databases in their own directory to make it easier to manage,
i.e.

  osgdem ..... -o earth/earth.ive

When it builds all the extra directories will be safely nested away in the
earth directory and you can just treat the whole data as a single entity.

Robert.

On Thu, Apr 3, 2008 at 9:27 AM, Mattias Helsing <[EMAIL PROTECTED]> wrote:

> Hi all,
> I have some problems loading archives that may have to do with osgdem
> or osg archive handling. Anyone who builds a db with osgdem using -a
> <myterrain>.osga should be able to reproduce.
> Basically the tile files gets put in a directory inside the archive
> and the master file is able to point out the level0 file as
> <arch>/<directory>/level0.[osg|ive] but it in turn request loading of
> <archive>/levelx.[ive|osg] without the directory name.
> Just wanted to report before doing anything. If reply-less I'll try
> adn post a fix in the next week or so.
>
> I'm on Windows and is using head of osg and vpb
>
> Mattias
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to