[osg-users] Clamping models to an osgTerrain

Chris Hanson xenon at alphapixel.com
Thu Jan 9 11:34:58 PST 2020

Most of the time, when it gets to adding stuf on top of the terrain, I head
over to osgEarth.

I think it's possible to serialize pre-built terrain models from osgEarth,
but I don't know if it is really feasible to do it to the extent that VPB

On Thu, Jan 9, 2020 at 12:25 PM Brad Colbert <bcolbert at rscusa.com> wrote:

> Robert, thank you for the reply.  The community-crickets were a little
> disconcerting.
> I don't think it has to be as complicated as you described.  Simply
> finding the height at the location of the object, placing it there, and
> placing a file reference within that tile's hierarchy so that the model
> file is paged in (or not if it's already in the cache).  Do this for every
> tile in the hierarchy and you are done.  That would be a major jump in
> capability, at this point.
> Either way, I'm simply looking to do the above and wondering if it appears
> feasible with current capabilities.
> Best,
> Brad
> On Thursday, January 9, 2020 at 1:41:25 AM UTC-8, Robert Osfield wrote:
>> I don't know of any off the open sourced tools that do this for you.  It
>> was always something I had on my wish list for VirtualPlanetBuilder but
>> never had the time/funding to tackle it.
>> The post processing of paged database is something that has been done
>> over the years for various purposes.
>> Combing the TerrainTile height fields with cultral data - trees, roads,
>> houses would require one to positioning of the cultral data to the
>> appropriate height, then meshing the tile's height field taking into
>> account the outlines/points of the cultural data being added if you want an
>> exact match.  The remeshing will be the hardest part of this work, so I'd
>> suggest tackling the positioning first then add the meshing later.
> --
> You received this message because you are subscribed to the Google Groups
> "OpenSceneGraph Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to osg-users+unsubscribe at googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/osg-users/4d820096-b297-4e6e-94b9-cc1959d41466%40googlegroups.com
> <https://groups.google.com/d/msgid/osg-users/4d820096-b297-4e6e-94b9-cc1959d41466%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200109/4cdf6904/attachment.html>

More information about the osg-users mailing list