Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-21 Thread Robert Osfield
Hi Brad,

I have now reviewed Wang Rui's fixes and rather than adopt these
directly, I've learnt from them what the problem was - which enabled
me to recreate the problem under Linux, so can confirm now that it's
now Windows specific issue, it was just I wasn't quite recreating the
same usage.

With the new knowledge of the problem in hand I've implemented a
variation on Wang Rui's fix which handles the failing case as well as
provides syntax which is a bit more succint than Wang Rui's changes
and bit closer to the original .osg style syntax.

I've checked my changes into OSG svn/trunk, could you do an svn update
and let me know how you get on.

Cheers,
Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-21 Thread Christiansen, Brad
Hi Robert,

I have just completed an update and build and all seems to be running correctly 
again. Thanks so much to yourself and Wang Rui for solving the issue 
(especially given I was kicking back on holidays at the time! : ). I will now 
be able to move on to testing your fixes to the DB pager, hopefully today, if 
not tomorrow.

Thanks again,

Brad

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

Hi Brad,

I have now reviewed Wang Rui's fixes and rather than adopt these
directly, I've learnt from them what the problem was - which enabled
me to recreate the problem under Linux, so can confirm now that it's
now Windows specific issue, it was just I wasn't quite recreating the
same usage.

With the new knowledge of the problem in hand I've implemented a
variation on Wang Rui's fix which handles the failing case as well as
provides syntax which is a bit more succint than Wang Rui's changes
and bit closer to the original .osg style syntax.

I've checked my changes into OSG svn/trunk, could you do an svn update
and let me know how you get on.

Cheers,
Robert.
___
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


Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad

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 

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Robert Osfield
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 

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad
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

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Robert Osfield
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
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad
Hi Robert,

Just checked out a fresh copy of both osg and vpb, re-created the projects and 
did a full build of both. Unfortunately I still have the same problem. Looks 
like I will need to fix the problem that occurring with my OS/compiler. Can you 
suggest any areas that I should look at first? I am guessing the issue will be 
in osgTerrain serializer plug-in.

Cheers,

Brad

-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 6:23 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

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: osg-users-boun...@lists.openscenegraph.org 
[mailto:osg-users-boun...@lists.openscenegraph.org] 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

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Robert Osfield
Hi Brad,

On Thu, Jun 17, 2010 at 2:50 PM, Christiansen, Brad
brad.christian...@thalesgroup.com.au wrote:
 Just checked out a fresh copy of both osg and vpb, re-created the projects 
 and did a full build of both. Unfortunately I still have the same problem. 
 Looks like I will need to fix the problem that occurring with my OS/compiler. 
 Can you suggest any areas that I should look at first? I am guessing the 
 issue will be in osgTerrain serializer plug-in.

Does the osgdem -s .. --so .. test produce a source file with the
vpb::DatabaseBuilder entry in it?  Could you post the result, it might
give a small hint to what might be going wrong.

Is there any chance you are linking to slighty older version of the
OSG/plugins are runtime?

Could you set OSG_NOTIFY_LEVEL to DEBUG and then re-run the test:

osgdem -s build_master.source --so test.source

And post the results, there is chance it might give a clue to what is
going amiss.

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


Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad
Hi,

 Does the osgdem -s .. --so .. test produce a source file with the
 vpb::DatabaseBuilder entry in it?

Yes. The DatabaseBuilder is there but there are no color layers.

For the results that follow, all the binaries I have just built from a fresh 
checkout are in D:\osg\vpb-bin\bin. Before the run, in the shell, I set the 
PATH to only include that directory. It appears that that is where the DLLs are 
getting loaded from. However, it isn't finding osgterrainrd.dll or orgrd.dll. 
All my OSG DLLs have been created using the naming convention: osg66-osgrd.dll, 
osg66-osgTerrainrd.dll etc (I built release with debug binaries). Not sure if 
this has anything to do with it.

I ran this with notify set to debug:
osgdem -s build_master.source --so test.source  out.txt

The results are attached, out.txt is the console output.

Thanks for your help.

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 10:04 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

Hi Brad,

On Thu, Jun 17, 2010 at 2:50 PM, Christiansen, Brad
brad.christian...@thalesgroup.com.au wrote:
 Just checked out a fresh copy of both osg and vpb, re-created the projects 
 and did a full build of both. Unfortunately I still have the same problem. 
 Looks like I will need to fix the problem that occurring with my OS/compiler. 
 Can you suggest any areas that I should look at first? I am guessing the 
 issue will be in osgTerrain serializer plug-in.

Does the osgdem -s .. --so .. test produce a source file with the
vpb::DatabaseBuilder entry in it?  Could you post the result, it might
give a small hint to what might be going wrong.

Is there any chance you are linking to slighty older version of the
OSG/plugins are runtime?

Could you set OSG_NOTIFY_LEVEL to DEBUG and then re-run the test:

osgdem -s build_master.source --so test.source

And post the results, there is chance it might give a clue to what is
going amiss.

Robert.
___
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.
--

GraphicsContext::setWindowingSystemInterface() 02C229A8 015C4978
itr='D:\osg\vpb-bin\bin'
FindFileInPath() : trying D:\osg\vpb-bin\bin\osgPlugins-2.9.8\osgdb_osgrd.dll 
...
FindFileInPath() : USING D:\osg\vpb-bin\bin\osgPlugins-2.9.8\osgdb_osgrd.dll
Opened DynamicLibrary osgPlugins-2.9.8/osgdb_osgrd.dll
FindFileInPath(build_master.source): returning build_master.source
VPBReaderWriter::readNode()
FindFileInPath(build_master.source): returning build_master.source
readNode_new()
   found ReaderWriter, readNode_new()
itr='D:\osg\vpb-bin\bin'
FindFileInPath() : trying D:\osg\vpb-bin\bin\osgTerrainrd.dll ...
itr='D:\osg\vpb-bin\bin'
FindFileInPath() : trying D:\osg\vpb-bin\bin\osgTerrainrd.dll ...
itr='C:\WINDOWS\system32'
FindFileInPath() : trying C:\WINDOWS\system32\osgTerrainrd.dll ...
itr='C:\WINDOWS\System'
FindFileInPath() : trying C:\WINDOWS\system\osgTerrainrd.dll ...
itr='C:\WINDOWS'
FindFileInPath() : trying C:\WINDOWS\osgTerrainrd.dll ...
itr='.'
FindFileInPath() : trying D:\osg\test\osgTerrainrd.dll ...
itr='D:\osg\vpb-bin\bin'
FindFileInPath() : trying D:\osg\vpb-bin\bin\osgTerrainrd.dll ...
itr='D:/osg/vpb-bin/lib/osgPlugins-2.9.8'
FindFileInPath() : trying D:\osg\vpb-bin\lib\osgPlugins-2.9.8\osgTerrainrd.dll 
...
DynamicLibrary::failed loading osgTerrainrd.dll
itr='D:\osg\vpb-bin\bin'
FindFileInPath() : trying 
D:\osg\vpb-bin\bin\osgPlugins-2.9.8\osgdb_serializers_osgterrainrd.dll ...
FindFileInPath() : USING 
D:\osg\vpb-bin\bin

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad
Hi,

As a quick test I renamed of copy of osg66-osgrd.dll and osg66-orgTerrainrd.dll 
to osgrd.dll and osgterrain.dll. Thr output is cleaner but the result is the 
same (test.source still has no laters). I have attached the output.

Cheers,

Brad

-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 10:25 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

Hi,

 Does the osgdem -s .. --so .. test produce a source file with the 
 vpb::DatabaseBuilder entry in it?

Yes. The DatabaseBuilder is there but there are no color layers.

For the results that follow, all the binaries I have just built from a fresh 
checkout are in D:\osg\vpb-bin\bin. Before the run, in the shell, I set the 
PATH to only include that directory. It appears that that is where the DLLs are 
getting loaded from. However, it isn't finding osgterrainrd.dll or orgrd.dll. 
All my OSG DLLs have been created using the naming convention: osg66-osgrd.dll, 
osg66-osgTerrainrd.dll etc (I built release with debug binaries). Not sure if 
this has anything to do with it.

I ran this with notify set to debug:
osgdem -s build_master.source --so test.source  out.txt

The results are attached, out.txt is the console output.

Thanks for your help.

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 10:04 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

Hi Brad,

On Thu, Jun 17, 2010 at 2:50 PM, Christiansen, Brad 
brad.christian...@thalesgroup.com.au wrote:
 Just checked out a fresh copy of both osg and vpb, re-created the projects 
 and did a full build of both. Unfortunately I still have the same problem. 
 Looks like I will need to fix the problem that occurring with my OS/compiler. 
 Can you suggest any areas that I should look at first? I am guessing the 
 issue will be in osgTerrain serializer plug-in.

Does the osgdem -s .. --so .. test produce a source file with the 
vpb::DatabaseBuilder entry in it?  Could you post the result, it might give a 
small hint to what might be going wrong.

Is there any chance you are linking to slighty older version of the OSG/plugins 
are runtime?

Could you set OSG_NOTIFY_LEVEL to DEBUG and then re-run the test:

osgdem -s build_master.source --so test.source

And post the results, there is chance it might give a clue to what is going 
amiss.

Robert.
___
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.
--




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

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Robert Osfield
Hi Brad,

The output all looks fine, the serializers for osgTerrain do seem to
be loading, but for some reason are failing.

Could you try a release build to see if that produces any different
results.  I'm clutching at straws though, I believe the code in
question is identical for both platforms and should work fine.

Do you have any unix systems you could try a test build and run on?

Robert.

On Thu, Jun 17, 2010 at 3:58 PM, Christiansen, Brad
brad.christian...@thalesgroup.com.au wrote:
 Hi,

 As a quick test I renamed of copy of osg66-osgrd.dll and 
 osg66-orgTerrainrd.dll to osgrd.dll and osgterrain.dll. Thr output is cleaner 
 but the result is the same (test.source still has no laters). I have attached 
 the output.

 Cheers,

 Brad

 -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 10:25 PM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
 correctly.

 Hi,

 Does the osgdem -s .. --so .. test produce a source file with the
 vpb::DatabaseBuilder entry in it?

 Yes. The DatabaseBuilder is there but there are no color layers.

 For the results that follow, all the binaries I have just built from a fresh 
 checkout are in D:\osg\vpb-bin\bin. Before the run, in the shell, I set the 
 PATH to only include that directory. It appears that that is where the DLLs 
 are getting loaded from. However, it isn't finding osgterrainrd.dll or 
 orgrd.dll. All my OSG DLLs have been created using the naming convention: 
 osg66-osgrd.dll, osg66-osgTerrainrd.dll etc (I built release with debug 
 binaries). Not sure if this has anything to do with it.

 I ran this with notify set to debug:
 osgdem -s build_master.source --so test.source  out.txt

 The results are attached, out.txt is the console output.

 Thanks for your help.

 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 10:04 PM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
 correctly.

 Hi Brad,

 On Thu, Jun 17, 2010 at 2:50 PM, Christiansen, Brad 
 brad.christian...@thalesgroup.com.au wrote:
 Just checked out a fresh copy of both osg and vpb, re-created the projects 
 and did a full build of both. Unfortunately I still have the same problem. 
 Looks like I will need to fix the problem that occurring with my 
 OS/compiler. Can you suggest any areas that I should look at first? I am 
 guessing the issue will be in osgTerrain serializer plug-in.

 Does the osgdem -s .. --so .. test produce a source file with the 
 vpb::DatabaseBuilder entry in it?  Could you post the result, it might give a 
 small hint to what might be going wrong.

 Is there any chance you are linking to slighty older version of the 
 OSG/plugins are runtime?

 Could you set OSG_NOTIFY_LEVEL to DEBUG and then re-run the test:

 osgdem -s build_master.source --so test.source

 And post the results, there is chance it might give a clue to what is going 
 amiss.

 Robert.
 ___
 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.
 --




 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

Re: [osg-users] VPBMaster failing - build_master.source not loaded correctly.

2010-06-17 Thread Christiansen, Brad
Hi Robert,

I will try a release build just to confirm the results are the same. I don't 
have a functioning Unix system at home at the moment (my Linux server just 
died) but I will try and get one up and running. Failing that, I have one at 
work I can use. I am off for a short break this morning but I will get back 
onto it Tuesday next week when I am back.

Thanks again,

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 11:06 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
correctly.

Hi Brad,

The output all looks fine, the serializers for osgTerrain do seem to
be loading, but for some reason are failing.

Could you try a release build to see if that produces any different
results.  I'm clutching at straws though, I believe the code in
question is identical for both platforms and should work fine.

Do you have any unix systems you could try a test build and run on?

Robert.

On Thu, Jun 17, 2010 at 3:58 PM, Christiansen, Brad
brad.christian...@thalesgroup.com.au wrote:
 Hi,

 As a quick test I renamed of copy of osg66-osgrd.dll and 
 osg66-orgTerrainrd.dll to osgrd.dll and osgterrain.dll. Thr output is cleaner 
 but the result is the same (test.source still has no laters). I have attached 
 the output.

 Cheers,

 Brad

 -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 10:25 PM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
 correctly.

 Hi,

 Does the osgdem -s .. --so .. test produce a source file with the
 vpb::DatabaseBuilder entry in it?

 Yes. The DatabaseBuilder is there but there are no color layers.

 For the results that follow, all the binaries I have just built from a fresh 
 checkout are in D:\osg\vpb-bin\bin. Before the run, in the shell, I set the 
 PATH to only include that directory. It appears that that is where the DLLs 
 are getting loaded from. However, it isn't finding osgterrainrd.dll or 
 orgrd.dll. All my OSG DLLs have been created using the naming convention: 
 osg66-osgrd.dll, osg66-osgTerrainrd.dll etc (I built release with debug 
 binaries). Not sure if this has anything to do with it.

 I ran this with notify set to debug:
 osgdem -s build_master.source --so test.source  out.txt

 The results are attached, out.txt is the console output.

 Thanks for your help.

 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 10:04 PM
 To: OpenSceneGraph Users
 Subject: Re: [osg-users] VPBMaster failing - build_master.source not loaded 
 correctly.

 Hi Brad,

 On Thu, Jun 17, 2010 at 2:50 PM, Christiansen, Brad 
 brad.christian...@thalesgroup.com.au wrote:
 Just checked out a fresh copy of both osg and vpb, re-created the projects 
 and did a full build of both. Unfortunately I still have the same problem. 
 Looks like I will need to fix the problem that occurring with my 
 OS/compiler. Can you suggest any areas that I should look at first? I am 
 guessing the issue will be in osgTerrain serializer plug-in.

 Does the osgdem -s .. --so .. test produce a source file with the 
 vpb::DatabaseBuilder entry in it?  Could you post the result, it might give a 
 small hint to what might be going wrong.

 Is there any chance you are linking to slighty older version of the 
 OSG/plugins are runtime?

 Could you set OSG_NOTIFY_LEVEL to DEBUG and then re-run the test:

 osgdem -s build_master.source --so test.source

 And post the results, there is chance it might give a clue to what is going 
 amiss.

 Robert.
 ___
 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