[osg-users] Clamping models to an osgTerrain

Brad Colbert bcolbert at rscusa.com
Thu Jan 9 11:24:51 PST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200109/937c75e4/attachment.html>


More information about the osg-users mailing list