Hi Olivier,

On 13 March 2013 18:44, Olivier Tournaire <olit...@gmail.com> wrote:
> However, having a detailed look at the original data, I saw that (A PagedLOD
> has always a single Geode with a single Drawable):
> * PagedLOD center/radius is not the same as the Geode bound center/radius

The PageLOD's coordinate frame is in world coordinates while the leaf
nodes that sit below the MatrixTransform are in local coordinates so
one should expect the values of the bounding volume and center/radius
to be different.

> In the current version of my code, I set the PagedLOD center as the new
> center computed from the coordinate transform, and set its radius according
> to the Geode bound radius after conversion. I tried, to update the PagedLOD
> raidus keeping the initial ratio, but the problem is still there.
> However, this might also be related to the PagedLOD center. Do you have any
> idea on how to update its value, taking into account the new and old Geode
> centers, the old PagedLOD center?

The answer is above, the PagedLOD should be set up in world
coordinates not local coordinates.

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

Reply via email to