Hi Cedric, I'm currently working on your submission, but am getting an error:
/home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp: In function ‘bool Animation_readLocalData(osg::Object&, osgDB::Input&)’: /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp:238: error: ‘DoubleKeyframe’ is not a member of ‘osgAnimation’ /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp: In function ‘bool Animation_writeLocalData(const osg::Object&, osgDB::Output&)’: /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp:572: error: ‘const class osgAnimation::Animation’ has no member named ‘getPlayMode’ /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp:602: error: ‘DoubleKeyframeContainer’ is not a member of ‘osgAnimation’ /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp:602: error: ‘DoubleKeyframeContainer’ is not a member of ‘osgAnimation’ /home/robert/OpenSceneGraph/src/osgPlugins/osgAnimation/ReaderWriter.cpp:602: error: no matching function for call to ‘Animation_writeChannel(const char [20], osgA Which suggests I don't have a header file that I should have. I've search you submission and it only contains a reference DoubleKeyframe in the ReaderWriter.cpp, none elsewhere. The contents of your submission were: ./src ./src/osgPlugins ./src/osgPlugins/osgAnimation ./src/osgPlugins/osgAnimation/ReaderWriter.cpp ./src/osgAnimation ./src/osgAnimation/MorphGeometry.cpp ./morphtarget_shape0.osg ./morphtarget_shape1.osg ./examples ./examples/CMakeLists.txt ./examples/osganimationmorph ./examples/osganimationmorph/CMakeLists.txt ./examples/osganimationmorph/osganimationmorph.cpp ./include ./include/osgAnimation ./include/osgAnimation/MorphGeometry ./include/osgAnimation/LinkVisitor Could you supply missing files. Thanks, Robert. On Sat, Mar 7, 2009 at 3:45 PM, Cedric Pinson <[email protected]> wrote: > Hi Robert and Roland, > > Here the patch about the morph target, i refactored a bit the code to read > write, and change the weightlist to a morph target structure. > I added an example that use the two osg files. > > Roland, if your data are 'free' can you send me them in order to have a > better example data ? > > Cheers, > Cedric > > -- > +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[email protected] > http://www.plopbyte.net > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > > _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
