[osg-users] PagedLOD with externals
Stephan Kussmaul
stephan.kussmaul at triangraphics.de
Fri Sep 9 04:14:28 PDT 2016
Hi Community,
I would appreciate your comments on our current OSG problem:
We have several tiles with PagedLODs and an external airport model. The model is much larger then the tile it is referenced in and then clipped away incorrectly. You might want to check the attached .osg and the screenshots.
Some details:
When using PagedLOD, OSG will first load the tile reference of the master file. This contains a dummy geometry with the extends of the tile. From this OSG will determine the bounding box for clipping. Then the terrain tile will be loaded in the PagedLOD, but the extend of the terrain tile is greater than that of the dummy due to the big airfield. Thus, OSGViewer will clip out the entire tile with airport whenever the dummy bounding box is outside the field of view, even though the airfield is still in the field of view. OSG would have to overwrite the bounding box after loading the page file.
We are working with OpenSceneGraph 3.0.1. Is this a bug or is our logic broken here. Putting the airport in the global master would not be practical.
Thank you!
Stephan
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=68559#68559
Attachments:
http://forum.openscenegraph.org//files/culledairport_213.jpg
http://forum.openscenegraph.org//files/4tiles_157.jpg
http://forum.openscenegraph.org//files/osg_missingairport_162.7z
More information about the osg-users
mailing list