Hi Robert,

I just did a clean (release) build of both OSG and VPB and re-ran my test, with 
the same result. The revision of the osg source I used is: 11618 (12:49:45 AM, 
Thursday, 17 June 2010) and for VPB it is: 1010 (11:23:36 PM, Thursday, 10 June 
2010).

I added in some debug code to print out the number of color layers before 
saving the .source file, and after loading it. Before save the terrain tile has 
one color layer but after it is reloaded it has none.

I have had a quick shot at debugging it but I am having trouble getting my head 
around how the new serializes work.

The simple test to reproduce the error is to run a command like:

vpbmaster --bluemarble-west -t aRandomPNG.png -o ./out/test.ive

Any tips on where to look or how to debug the issue would be great.

Cheers,

Brad


-----Original Message-----
From: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield
Sent: Thursday, 17 June 2010 4:09 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

Hi Brad,

I had this problem when I developing the new serializer support in
VPB, but this has been addressed with fixes to the OSG that I checked
in last.  The .source file looks OK so hopefully an update to OSG and
VPB and a rebuild will fix this problem.

Robert.

On Thu, Jun 17, 2010 at 8:04 AM, Christiansen, Brad
<brad.christian...@thalesgroup.com.au> wrote:
>
> Ok, I think I am getting close to the source of the issue, so hopefully 
> somebody may have some ideas.
>
> The problem is occuring because the TerrainTile being loaded from 
> build_master.source has no color layers and no elevation layer. A manual 
> inspection of the file shows it does have a color layer so it looks like the 
> .source file is not being loaded correctly. Next step is to look into the 
> loading of the file.
>
> The files contents are:
>
> #Ascii Scene
> #Version 2
> #Generator OpenSceneGraph 2.9.8
>
> osgTerrain::TerrainTile {
>  UniqueID 1
>  TerrainTechnique TRUE {
>    vpb::DatabaseBuilder {
>      UniqueID 2
>      BuildOptions TRUE {
>        vpb::BuildOptions {
>          UniqueID 3
>          Directory "./out\\"
>          DestinationTileBaseName "test"
>          ConvertFromGeographicToGeocentric TRUE
>          DistributedBuildSplitLevel 2
>        }
>      }
>    }
>  }
>  ColorLayers 1 {
>    osgTerrain::CompositeLayer {
>      UniqueID 4
>      Layers 2 {
>        osgTerrain::ProxyLayer {
>          UniqueID 5
>          FileName "hills.png"
>          Locator TRUE {
>            osgTerrain::Locator {
>              UniqueID 6
>              Format "WKT"
>              CoordinateSystem "GEOGCS[\"WGS 
> 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 
> 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4326\"]]"
>              EllipsoidModel TRUE {
>                osg::EllipsoidModel {
>                  UniqueID 7
>                  RadiusEquator 6.37814e+006
>                  RadiusPolar 6.35675e+006
>                }
>              }
>              Transform Matrixd {
>                180 0 0 0
>                0 180 0 0
>                0 0 1 0
>                -180 -90 0 1
>              }
>
>            }
>          }
>        }
>        osgTerrain::ProxyLayer {
>          UniqueID 8
>          FileName "hills2.png"
>          Locator TRUE {
>            osgTerrain::Locator {
>              UniqueID 9
>              Format "WKT"
>              CoordinateSystem "GEOGCS[\"WGS 
> 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 
> 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],TOWGS84[0,0,0,0,0,0,0],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AUTHORITY[\"EPSG\",\"4326\"]]"
>              EllipsoidModel TRUE {
>                osg::EllipsoidModel {
>                  UniqueID 10
>                  RadiusEquator 6.37814e+006
>                  RadiusPolar 6.35675e+006
>                }
>              }
>              Transform Matrixd {
>                180 0 0 0
>                0 180 0 0
>                0 0 1 0
>                0 -90 0 1
>              }
>
>            }
>          }
>        }
>      }
>    }
>  }
> }
>
>
> -----Original Message-----
> From: osg-users-boun...@lists.openscenegraph.org 
> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of 
> Christiansen, Brad
> Sent: Thursday, 17 June 2010 2:08 PM
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] VPBMaster failing
>
> Hi,
>
> Thanks. The error is:
> Error: no destination graph built, cannot proceed with build.
>
> I am just starting the run with a break point on createDestination() in 
> DataSet.cpp from osgdem to see why it isn't creating the destination now.
>
> Cheers,
>
> Brad
>
> -----Original Message-----
> From: osg-users-boun...@lists.openscenegraph.org 
> [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Torben 
> Dannhauer
> Sent: Thursday, 17 June 2010 1:38 PM
> To: osg-users@lists.openscenegraph.org
> Subject: Re: [osg-users] VPBMaster failing
>
> Hi,
>
>
>> Warning: Task tasks/build_root_L0_X0_Y0.task has failed, blacklisting 
>> machine and resubmitting task.
>
>
> means, that the osgdem run of this task failed. You can read the logfile 
> corresponding to this task to get information why it failed.
>
> Failed tasks let vpbmaster blacklist the host which run this task, in this 
> case your localhost. Because it is the only host working on your batch, it 
> stops premature and your vpbmaster run is uncompleted.
>
>
> Cheers,
> Torben
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=29047#29047
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> DISCLAIMER:---------------------------------------------------------------------------
> This e-mail transmission and any documents, files and previous e-mail messages
> attached to it are private and confidential. They may contain proprietary or 
> copyright
> material or information that is subject to legal professional privilege. They 
> are for
> the use of the intended recipient only.  Any unauthorised viewing, use, 
> disclosure,
> copying, alteration, storage or distribution of, or reliance on, this message 
> is
> strictly prohibited. No part may be reproduced, adapted or transmitted 
> without the
> written permission of the owner. If you have received this transmission in 
> error, or
> are not an authorised recipient, please immediately notify the sender by 
> return email,
> delete this message and all copies from your e-mail system, and destroy any 
> printed
> copies. Receipt by anyone other than the intended recipient should not be 
> deemed a
> waiver of any privilege or protection. Thales Australia does not warrant or 
> represent
> that this e-mail or any documents, files and previous e-mail messages 
> attached are
> error or virus free.
> --------------------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
> DISCLAIMER:---------------------------------------------------------------------------
> This e-mail transmission and any documents, files and previous e-mail messages
> attached to it are private and confidential. They may contain proprietary or 
> copyright
> material or information that is subject to legal professional privilege. They 
> are for
> the use of the intended recipient only.  Any unauthorised viewing, use, 
> disclosure,
> copying, alteration, storage or distribution of, or reliance on, this message 
> is
> strictly prohibited. No part may be reproduced, adapted or transmitted 
> without the
> written permission of the owner. If you have received this transmission in 
> error, or
> are not an authorised recipient, please immediately notify the sender by 
> return email,
> delete this message and all copies from your e-mail system, and destroy any 
> printed
> copies. Receipt by anyone other than the intended recipient should not be 
> deemed a
> waiver of any privilege or protection. Thales Australia does not warrant or 
> represent
> that this e-mail or any documents, files and previous e-mail messages 
> attached are
> error or virus free.
> --------------------------------------------------------------------------------------
>
> _______________________________________________
> 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



DISCLAIMER:---------------------------------------------------------------------------
This e-mail transmission and any documents, files and previous e-mail messages
attached to it are private and confidential. They may contain proprietary or 
copyright
material or information that is subject to legal professional privilege. They 
are for
the use of the intended recipient only.  Any unauthorised viewing, use, 
disclosure,
copying, alteration, storage or distribution of, or reliance on, this message is
strictly prohibited. No part may be reproduced, adapted or transmitted without 
the
written permission of the owner. If you have received this transmission in 
error, or
are not an authorised recipient, please immediately notify the sender by return 
email,
delete this message and all copies from your e-mail system, and destroy any 
printed
copies. Receipt by anyone other than the intended recipient should not be 
deemed a
waiver of any privilege or protection. Thales Australia does not warrant or 
represent
that this e-mail or any documents, files and previous e-mail messages attached 
are
error or virus free.
--------------------------------------------------------------------------------------

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to