Hi,
i scaled one node et associated an animationPatchCallBack to it.
It seems that AnimationPathCallback cancels the scaling since the node (a pat)
is transformed by the CB but is not scaled anymore. ?
...
ref_ptr<AnimationPathCallback> apCallBack = new osg::AnimationPathCallback(
animationPath.get() );
noeud->setUpdateCallback( apCallBack.get() );
...
noeud->setScale(Vec3d(2,2,0.5));
noeud->getOrCreateStateSet()->setMode(GL_NORMALIZE, osg::StateAttribute::ON);
Thank you!
Cheers,
vincent
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=37081#37081
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org