From: Guillaume L. <gui...@gm...> - 2005-10-14 17:57:51
|
Hello everyone, This week saw the start of an important new feature of generic COLLADA 1.4: the export of animation clips. In this new Weekly Development Build, you can now export the source clip information, where each source clip exports its curves independantly. A new library was added to contain the clips and they have <input> elements which point to the each clip's curves. There was also a bit of refactoring in the plugin, centered around the animation system. You can get this new build here: http://prdownloads.sourceforge.net/colladamaya/ColladaPluginForMaya-0.76.zi= p?download Sincerely, Guillaume Laforte Feeling Software Inc. Recent Changes: ----------------------------------------------------- 14/10/05 (Release 0.76) =09(gla...@fe...) =09Animation Clip Export: Moved the curve creation function out of DaeAnimationLibrary and into DaeAnimationCurve. Added function to DaeAnimationCurve to apply a sample type and a conversion factor. When checking for an animation, return the fact that a character was found, instead. When a character is found, grab the curve from the animation clip library. Buffer the clip information for each character, to save processing time and to pre-create the clip data. When comes the time to export the clip library, actually create all the XML nodes from the buffered clip information. Changed the animation curve export function to return the channel Id. Adding a prefix to the animation curve ids, since they are not unique anymore. 13/10/05 =09(gla...@fe...) =09Refactoring: Some refactoring of the code to improve writability and consistency. Removed the useless startUp, cleanUp, reset functions to use the constructors and destructors instead. General renaming of stuff: member functions should start with a capital letter. Camel-case the member variables. Improved the project file organization... =09Animation Clips: Added the DaeAnimationClipExporter class. Took the opportunity to get rid of bounding box support, since that's removed in COLLADA 1.4. Modified the CAnimationHelper::IsAnimated() function to check for a character node. When the plug is animated, the animation clip library is called to export the animated plug, which in turns calls the animation library for each curves to output. Added DaeAnimationCurve class that will contain one animation curve, and allow for the interleaving of curves. This will reduce the problem to a more manageable level. Refactor the animation library to write out only DaeAnimationCurve object and to produce them. |