Hi Sukender,

That depends, really. If you just want to flatten terrain around building 
footprints and these buildings are located not too close to each other, you can 
flatten the heightmap within the footprint to, for instance, the average 
elevation (or perhaps the elevation value is given for that building, by some 
measurement or property). To avoid sharp changes in elevation you can blend in 
a transition area around the building footprint, interpolating between the 
original heightmap value and the building footprint value.
It can become tricky and problematic when you have lots of different types of 
features (buildings, roads, rivers), located close to each other, as the height 
modifications may start to interfere with each other.
This paper might be interesting for you (more focused on road blending though): 
http://www-evasion.imag.fr/Publications/2008/BN08/

Kind regards,

Ruben 

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: donderdag 30 juli 2009 14:23
To: OpenSceneGraph Users
Subject: Re: [osg-users] [OT] Looking for a lib that adapts terrain to 3D object

Ok. So adapting a triangulated regular terrain should be quite easy, I guess?

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

----- Mail d'origine -----
De: Chris 'Xenon' Hanson <[email protected]>
À: OpenSceneGraph Users <[email protected]>
Envoyé: Tue, 28 Jul 2009 19:42:32 +0200 (CEST)
Objet: Re: [osg-users] [OT] Looking for a lib that adapts terrain to 3D object

[email protected] wrote:
> Ah yes? What do you mean exactly by "modern heightfields" and 
> "best-practice"? What if I operate outside VPB?
> Thanks

  It doesn't work on the Heightfield objects VPB now recommends you use. I 
believe it wants th eold-style TIN terrain. I don't know if you can still make 
non-heightfield TIN terrain in VPB or not.

-- 
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
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
This e-mail and its contents are subject to the DISCLAIMER at 
http://www.tno.nl/disclaimer/email.html

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to