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 flatten the geocentric database at specific coordiantes, or > cout out speciffic areas, so the gap can be refilled with a completely flat > area? > What would be the best approach to get some areas flat? I don't know how to > reach this goal at runtime or at compile time.
I have been making enhancements to VPB and OSG to support this sort of deformation. While my work is not complete, doing a trivial flatten-within-rectangular-region would not be tough for you to implement. I have made changes to support VPB terrain elevation alteration during load/save operations (through a pseudoloader) or during the initial VPB build time (via a callback). If this would work for you, I can explain more. -- 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