Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-02 Thread Robert Osfield
On Thu, Oct 1, 2009 at 9:50 PM, Chris 'Xenon' Hanson
xe...@alphapixel.com wrote:
 Robert Osfield wrote:
 I should add that I'm not the author of the shapefile support in VPB,
 so I can't answer in too much about it's implementation.

  Can you point the finger to who is?

I'll do no finger pointing :-)

Feel free to use svn log.

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-02 Thread Alejandro Aguilar Sierra
Hi Robert,

Thanks for the information. By the way, how you can modify a terrain
without rebuild it?
I mean, suppose you have more raster data that you want to put as
additional texture layers. How you can do it without rebuild the
entire thing, as it would do using a source file?

Regards,

-- A.


On Thu, Oct 1, 2009 at 11:43 AM, Robert Osfield
robert.osfi...@gmail.com wrote:
 HI Alejandro and Chris,

 On Thu, Oct 1, 2009 at 6:55 AM, Chris 'Xenon' Hanson
 xe...@alphapixel.com wrote:
  I was just asking about the same thing. I'm curious too, I'm not sure if 
 they're fully
 implemented.

 In VPB the vector (build and forest outlines imported from shape
 files) support is limited to databases build that use polygonal meshes
 rather than osgTerrain::TerrainTile.  VPB now defaults to generating
 databases with osgTerrain::TerrainTile's as they are more compact and
 more flexible as they allow runtime decimation of data as well as
 terrain modifications, but it doesn't yet have support for handling
 vector data.  To use the polygonal build you'll need to use
 --polygonal.

 I would like to see support added to osgTerrain::TerrainTile to allow
 us to provide polygonal outlines and fixed points of interest that the
 tesselation will honour, once this is in place we'll be able to get
 the shapefile support in VPB rolled out to all combinations.

 I should add that I'm not the author of the shapefile support in VPB,
 so I can't answer in too much about it's implementation.

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-02 Thread Robert Osfield
Hi Alejando,

On Fri, Oct 2, 2009 at 2:49 PM, Alejandro Aguilar Sierra
algsie...@gmail.com wrote:
 Thanks for the information. By the way, how you can modify a terrain
 without rebuild it?

That depends upon how and when you want to modify it.  Modify it only
the fly as it's loaded from disk?  Load modify and resave tiles on
disk?  Modify the terrain dynamically per frame in the application.

 I mean, suppose you have more raster data that you want to put as
 additional texture layers. How you can do it without rebuild the
 entire thing, as it would do using a source file?

In the case of osgTerrain based VPB database you'd need to find the
TerrainTile's in each loaded subgraph and then add/remove/modify the
ColorLayers as required.  However, this only part of the story, as I
alluded to above, how you go about this depends on what exactly you to
do.

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-02 Thread Glenn Waldron
Alejandro,

One option is to use osgEarth for this:

http://wush.net/trac/osgearth/wiki/TileSourcePluginVPB

Glenn

On Fri, Oct 2, 2009 at 9:49 AM, Alejandro Aguilar Sierra 
algsie...@gmail.com wrote:

 Hi Robert,

 Thanks for the information. By the way, how you can modify a terrain
 without rebuild it?
 I mean, suppose you have more raster data that you want to put as
 additional texture layers. How you can do it without rebuild the
 entire thing, as it would do using a source file?


 Regards,

 -- A.


 On Thu, Oct 1, 2009 at 11:43 AM, Robert Osfield
 robert.osfi...@gmail.com wrote:
  HI Alejandro and Chris,
 
  On Thu, Oct 1, 2009 at 6:55 AM, Chris 'Xenon' Hanson
  xe...@alphapixel.com wrote:
   I was just asking about the same thing. I'm curious too, I'm not sure
 if they're fully
  implemented.
 
  In VPB the vector (build and forest outlines imported from shape
  files) support is limited to databases build that use polygonal meshes
  rather than osgTerrain::TerrainTile.  VPB now defaults to generating
  databases with osgTerrain::TerrainTile's as they are more compact and
  more flexible as they allow runtime decimation of data as well as
  terrain modifications, but it doesn't yet have support for handling
  vector data.  To use the polygonal build you'll need to use
  --polygonal.
 
  I would like to see support added to osgTerrain::TerrainTile to allow
  us to provide polygonal outlines and fixed points of interest that the
  tesselation will honour, once this is in place we'll be able to get
  the shapefile support in VPB rolled out to all combinations.
 
  I should add that I'm not the author of the shapefile support in VPB,
  so I can't answer in too much about it's implementation.
 
  Robert.
  ___
  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

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-01 Thread Jason Beverage
Hi Chris and Alejandro,

I'm not sure what the status of of these options are in osgdem, but you can
use osgGIS to accomplish these tasks.  It works well with draping over VPB
databases.

Thanks,

Jason

On Thu, Oct 1, 2009 at 1:55 AM, Chris 'Xenon' Hanson
xe...@alphapixel.comwrote:

 Alejandro Aguilar Sierra wrote:
  Hello:
  Can someone please explain how can be used the command line option
  --vector with osgdem?
  Is there reproducible examples of the use of --building, --forest,
  --type-attribute, --height options?

   I was just asking about the same thing. I'm curious too, I'm not sure if
 they're fully
 implemented.


 --
 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-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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-01 Thread Robert Osfield
HI Alejandro and Chris,

On Thu, Oct 1, 2009 at 6:55 AM, Chris 'Xenon' Hanson
xe...@alphapixel.com wrote:
  I was just asking about the same thing. I'm curious too, I'm not sure if 
 they're fully
 implemented.

In VPB the vector (build and forest outlines imported from shape
files) support is limited to databases build that use polygonal meshes
rather than osgTerrain::TerrainTile.  VPB now defaults to generating
databases with osgTerrain::TerrainTile's as they are more compact and
more flexible as they allow runtime decimation of data as well as
terrain modifications, but it doesn't yet have support for handling
vector data.  To use the polygonal build you'll need to use
--polygonal.

I would like to see support added to osgTerrain::TerrainTile to allow
us to provide polygonal outlines and fixed points of interest that the
tesselation will honour, once this is in place we'll be able to get
the shapefile support in VPB rolled out to all combinations.

I should add that I'm not the author of the shapefile support in VPB,
so I can't answer in too much about it's implementation.

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-01 Thread Chris 'Xenon' Hanson
Robert Osfield wrote:
 I should add that I'm not the author of the shapefile support in VPB,
 so I can't answer in too much about it's implementation.

  Can you point the finger to who is?

 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-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-10-01 Thread Alejandro Aguilar Sierra
That would be ideal, but osggis seems to be pretty unstable, always
segfaults, whatever I do.

In my lap I am using osg 2.9.0 and osggis revision 193. In my main
workstation at my lab, osg 2.9.6.

Any hint?

-- A.



On Thu, Oct 1, 2009 at 6:54 AM, Jason Beverage jasonbever...@gmail.com wrote:
 Hi Chris and Alejandro,

 I'm not sure what the status of of these options are in osgdem, but you can
 use osgGIS to accomplish these tasks.  It works well with draping over VPB
 databases.

 Thanks,

 Jason

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


[osg-users] VPB: How to use a vector database with osgdem?

2009-09-30 Thread Alejandro Aguilar Sierra
Hello:

Can someone please explain how can be used the command line option
--vector with osgdem?

Is there reproducible examples of the use of --building, --forest,
--type-attribute, --height options?

Thanks in advance for any help.

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


Re: [osg-users] VPB: How to use a vector database with osgdem?

2009-09-30 Thread Chris 'Xenon' Hanson
Alejandro Aguilar Sierra wrote:
 Hello:
 Can someone please explain how can be used the command line option
 --vector with osgdem?
 Is there reproducible examples of the use of --building, --forest,
 --type-attribute, --height options?

  I was just asking about the same thing. I'm curious too, I'm not sure if 
they're fully
implemented.


-- 
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-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org