Re: [osg-users] FLATTEN_STATIC_TRANSFORMS

2006-05-09 Thread Philippe Poutignat
As far as I remember, the DataVariance set to Dynamic is causing the problem. Just put some instructions like : "group->setDataVariance(osg::Object::STATIC);" where it is necessary and this should do the trick. Philippe Poutignat Wiedemann, Rudolf, OPS3 a écrit : Hi, I want to resolve the a

[osg-users] FLATTEN_STATIC_TRANSFORMS

2006-05-09 Thread Wiedemann, Rudolf, OPS3
Hi, I want to resolve the application of an osg::PositionAttitudeTransform to an osg::Geode by using osgUtil::Optimizer (FLATTEN_STATIC_TRANSFORMS) as follows: #include #include #include #include #include #include #include int main( int argc, char ** argv ) { // set notify level osg: