[osg-users] PagedLOD with externals

Stephan Kussmaul stephan.kussmaul at triangraphics.de
Fri Sep 9 07:09:22 PDT 2016


Hi Robert,

Thank you for the feedback. We are looking into updating soon and we 
will also try this in the latest version.

But in this case I suppose that it is just a wrong approach. We might 
need to adjust the radius of the PagedLOD by hand when placing the 
external reference. When exchanging the external later that wouldn't 
help though, but would be acceptable.

-Stephan

Am 09.09.2016 um 14:58 schrieb Robert Osfield:
> Hi Stephan,
>
> My guess is that the center or radius of the PagedLOD has been set
> incorrectly so it's being culled inappropriately.
>
> As a general note, I'd recommend up grading to OSG-3.4.0.  There are
> lots of improvements between 3.0.1 and OSG-3.4.0, including to
> database paging.  Whether it will have any baring on the problem you
> see I can't say, if it is a database issue as I suggest above then it
> won't help, but the rest of the improvements (features and bug fixes)
> to the OSG should be useful regardless.
>
> Robert.
>
> On 9 September 2016 at 12:14, Stephan Kussmaul
> <stephan.kussmaul at triangraphics.de> wrote:
>> 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
>>
>>
>> _______________________________________________
>> osg-users mailing list
>> osg-users at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>




More information about the osg-users mailing list