Hi,
Just ran the command. You are correct, the files are not the same, all the
layers have been stripped out. I am using WindowsXP, Visual Studio 2008.
I will do a fresh checkout and build when I get home tonight (if the kids allow
it : ) as I cant access an external SVN server from the work network. It seems
odd that the different platforms would result in this behavior so its worth a
tripple check.
Original:
#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"
DistributedBuildSplitLevel 2
}
}
}
}
ColorLayers 1 {
osgTerrain::CompositeLayer {
UniqueID 4
Layers 1 {
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
}
}
}
}
}
}
}
}
test.source
#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
}
}
}
}
}
Cheers,
Brad
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Osfield
Sent: Thursday, 17 June 2010 6:10 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded
correctly.
Hi Brad,
I just run the test along the lines of yours:
vpbmaster --bluemarble-west -t
../BlueMarble/land_shallow_topo_west.tif -o out/test.ive
And it run to completion without any problems. The generated
build_master.source is included below, and looks pretty similar to
yours.
Could you try doing:
osgdem -s build_master.source --so test.source
This will load and then re-save the terrain description, the above
test results in test.source that is identical to build_master.source.
My guess is that on your system it won't be.
What OS/compilers are you using? I'm using Kubuntu 9.04 and gcc 4.3.3.
Robert.
--
#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"
DistributedBuildSplitLevel 4
}
}
}
}
ColorLayers 1 {
osgTerrain::CompositeLayer {
UniqueID 4
Layers 1 {
osgTerrain::ProxyLayer {
UniqueID 5
FileName "../BlueMarble/land_shallow_topo_west.tif"
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],AUTHORIT
Y[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],AXIS[\"Lat\",NORTH],AXIS[\"Long\
",EAST],AUTHORITY[\"EPSG\",\"4326\"]]"
EllipsoidModel TRUE {
osg::EllipsoidModel {
UniqueID 7
RadiusEquator 6.37814e+06
RadiusPolar 6.35675e+06
}
}
Transform Matrixd {
180 0 0 0
0 180 0 0
0 0 1 0
-180 -90 0 1
}
}
}
}
}
}
}
}
_______________________________________________
osg-users mailing list
[email protected]
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org