A model that exhibits the problem can be found at http://thinksplat.com/cubetest-cleanup.osg You can ignore the textures. If you view this with osgviewer, you'll see a cube, an outline of a cube, and another cube 7 times higher than the outline. The correct viewing of this file should be to have the cube that is way up in the air be within the bounds of the wireframe cube.
If you modify osgviewer and comment out the optimize step, it looks like it is supposed to look. I do not have a fix for the Optimizer, but I can give some suggestions. The group that is offset has 7 children, and those children are offset by a factor of 7. It looks like the problem could be in Optimizer::*::removeTransforms methods.
John Aughey
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
