Hi Brad,

I'm assuming you've looked at the osgSim class? It has the ability to query 
where the ground is at the highest LOD of the terrain. It has other methods you 
can use to interact with osgTerrain that may be able to help you.

Shayne

> On December 20, 2019 at 4:53 PM Brad Colbert <bcolb...@rscusa.com> wrote:
> 
>     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+unsubscr...@googlegroups.com 
> mailto:osg-users+unsubscr...@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
>  
> https://groups.google.com/d/msgid/osg-users/dd3b24e4-a1da-46de-9957-c98bf330d2c1%40googlegroups.com?utm_medium=email&utm_source=footer
>  .
>     _______________________________________________
>     osg-users mailing list
>     osg-users@lists.openscenegraph.org
>     http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to