Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Luc Claustres
zonk wrote: Hi, Is it possible to flatten the geocentric database at specific coordiantes, or cut out speciffic areas, so the gap can be refilled with a completely flat area? Maybe you could also directly alter your input data with the GDAL rasterizer tool :

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Chris 'Xenon' Hanson
On 1/14/2010 1:43 AM, Luc Claustres wrote: Is it possible to flatten the geocentric database at specific coordiantes, or cut out speciffic areas, so the gap can be refilled with a completely flat area? Maybe you could also directly alter your input data with the GDAL rasterizer tool :

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Torben Dannhauer
Hi, is it possible to specifiy my polygon outline position and elevation, and GDAL rasterize code will interpolate correctly that this area is really flattend? or does it lift up/sink sown all coordinates inside the polygon to the specified value? How can I access the new API if now available

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Chris 'Xenon' Hanson
On 1/14/2010 10:16 AM, Torben Dannhauer wrote: Hi, is it possible to specifiy my polygon outline position and elevation, and GDAL rasterize code will interpolate correctly that this area is really flattend? I'm not really sure what you're asking. or does it lift up/sink sown all

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Luc Claustres
Chris 'Xenon' Hanson wrote: It doesn't do any blending into the surrounding areas. That's the higher-level functionality that my library adds. Something simple I tested and which helps producing a smooth blend is to upsample the elevation, rasterize your polygon, then downsample back to

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2010-01-14 Thread Chris 'Xenon' Hanson
On 1/14/2010 12:52 PM, Luc Claustres wrote: It doesn't do any blending into the surrounding areas. That's the higher-level functionality that my library adds. Something simple I tested and which helps producing a smooth blend is to upsample the elevation, rasterize your polygon, then

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-23 Thread Torben Dannhauer
Hi, Can you publish your code where to access the elevation data? At the moment I try to calculate how much the elevation differenz to the elipsoid must be to get a flat. Thank you and merry Christmas, Torben -- Read this topic online here:

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-12 Thread Torben Dannhauer
Hi, Well, now I don't understand the different between your loader/saver and your .modifyterrain and your pseudo loader/saver I suppose your what-elevation-should-I-put-here LOADER callback is for modifying terrain on the fly during visualization What ist your callback SAVER for?= creating

[osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Torben Dannhauer
Hi, I use a lowRes local database and want to add small 3D townmodels for local areas which require a completely flat underground. Unfortunately the global elevation model is not flat and not correct at the models area. Is it possible to flatten the geocentric database at specific coordiantes,

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 2:20 PM, Torben Dannhauer wrote: Hi, I use a lowRes local database and want to add small 3D townmodels for local areas which require a completely flat underground. Unfortunately the global elevation model is not flat and not correct at the models area. Is it possible to

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Torben Dannhauer
Hi, yes, a simple rectangular region would be enough. Does your algorithm determine the height of your flattend area itself by the selected area, or do you specify a destination height and you lift/sink your rectangular area to this level? I'm interested in both methods. Some models are always

Re: [osg-users] [vpb] Geocentric Database, how to flattening area or cut out piece

2009-12-11 Thread Chris 'Xenon' Hanson
On 12/11/2009 3:55 PM, Torben Dannhauer wrote: Hi, yes, a simple rectangular region would be enough. Does your algorithm determine the height of your flattend area itself by the selected area, or do you specify a destination height and you lift/sink your rectangular area to this level? I'm