Hi Luigi and Paul,
On 12/6/06, Luigi Calori <[EMAIL PROTECTED]> wrote:
Using your data, I have the same problems (shift in image wehen lod
sawp...i think)
This problem seems related to the line
double xoffset = d_bb.xMin() < s_bb.xMin() ? -360.0 : 0.0;
in osgTerrain/DataSet.cpp, line 520
With this deta, this value is getting set (incorretly? ) to -360.0
If you reset it to 0.0, the problem seems to go away
Hope it helps in diagnosis
The above line is part of fix to handle geocentric datasets that cross
over the dateline that I applied a couple of months back. Since then
Jason has done a fix to it so that it isn't applied inappropriately -
as some dataset you don't want to have the offset added. Perhaps
Jason's fix isn't general enough.
I'm currently focused on completely some other work so can't dedicate
myself to looking into this right now so if others can jump in an spot
a fix then please do.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/