[osg-users] Clamping models to an osgTerrain

Brad Colbert bcolbert at rscusa.com
Fri Dec 20 15:53:07 PST 2019


Hi folks,

I googled but not found an answer that goes into this.  

I have what can be considered a town and want to clamp the buildings to the 
terrain (obviously).

What I would prefer is to have some pre-process that runs intersectors on 
the terrain, pushing up (or down) through the PagedLODs, placing the model 
at the appropriate height, and then saving that tile back out.  This way 
the models just get loaded in with the PagedLOD and are already at the 
right height as the terrain height pops up and down based on the LOD.

Is this even possible with 3.6?  If so, any ideas, thoughts, pointers?

Best,
Brad

-- 
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/dd3b24e4-a1da-46de-9957-c98bf330d2c1%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20191220/9a9efe2c/attachment.html>


More information about the osg-users mailing list