Hi Robert,

2013/3/14 Robert Osfield <[email protected]>

> Hi Olivier,
>
>
> On 13 March 2013 18:44, Olivier Tournaire <[email protected]> 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.
>

OK, but in the original data, there is no MatrixTransform between the
PagedLOD and the Geode. So, do not understand why center/radius are
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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to