Hi Robert, So, I will try to summarize my post, without any code :) With my first post, I tried to be as complete as possible to clearly describe the issue, with all the related code. Sorry for this.
Thus, I am trying to convert geometry coordinates of Drawables contained in Geodes. My Geodes are children of PagedLOD, and there is a single Geode per PagedLOD. For a given part of my terrain, I have more than 1000 files, with 9 levels of details. To convert the coordinates, I simply parse the coordinates in my original geometries, apply the transformation (code of my own and with proj4) and then use the setVertexArray method to replace the geometry coordinates in my drawables. I do this for each file. I center the coordinates around (0,0,0) because they are in 10e+06, and then add on top of my Geodes a translation MatrixTransform which value come from the barycenter of the points. If my Geode is contained in a PagedLOD, I also set the UserCenter to this value. The problem is that when I view the transformed hierarchy in osgviewer, sometimes, when I am really close from the terrain, some tiles disappear. If I move a few, they appear again. It also seems that the "order" of the loaded tiles is incorrect. Both problems are illustrated by this images: http://imageshack.us/photo/my-images/109/badtiles.png/ http://imageshack.us/photo/my-images/685/pagedlodsranges.jpg/ Hope you could help. Best regards, Olivier 2013/3/13 Robert Osfield <[email protected]> > Hi Oliver, > > On 13 March 2013 07:54, Olivier Tournaire <[email protected]> wrote: > > No one on this? > > I suspect you lost a lot of readers with the volume of your post, > please remember that all members of the community are busy working and > only have a little time to read and keep up with posts and write > replies. Try distilling the issue you have down to what others might > be able to easily understand and provide an answer for. > > 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

