6fc00a2613c0bf6e8674c36f5649f728cb7df349
"I took a closer look at the conditional code in SeamFinder::seamReplacement(). Because _info.minRange is a double and lod->getMinRange(0) is a float, the difference will be calculated with double precision. If _info.minRange is cast as a float it is exactly the same value as lod->getMinRange(0) and the difference is exactly zero. So if you change if((fabs(_info.minRange-lod->getMinRange(0))<0.001)&&(fabs(_info.lod0Range-lod->getMaxRange(0))<0.001)) to if((fabs((float)_info.minRange-lod->getMinRange(0))<0.001)&&(fabs((float)_info.lod0Range-lod->getMaxRange(0))<0.001)) it works a lot better."
Welcome to the OpenSceneGraph (OSG).
For up to date information on the project, how to compile and run libraries
and examples, and see the documentation on the OpenSceneGraph website.
http://www.openscenegraph.org
Robert Osfield.
robert@openscenegraph.com
November 2004.
Description
Languages
C++
89.7%
C
5.1%
CMake
2.3%
HTML
1.6%
Objective-C++
0.9%
Other
0.2%