Hi, I'm subclassing osg::AnimationPath and reimplementing the virtual method getInterpolatedControlPoint to use a custom function to return valid ControlPoints at the requested time. This allows me to have the local TimeControlPointMap data container completely empty, and still return genuine CP. So I guess the methods osg::AnimationPath::getFirstTime() and ...::getLastTime() should be virtual too, so that I could reimplement them to return correct values. Is this correct? Maybe the osg::AnimationPath::empty() method should be virtual too, or replaced by something more generic like a virtual bool osg::AnimationPath::haveData()? Comments are welcome.
Thanks, Pasquale _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
