Hi,
I’m loading up a collada file generated by Softimage.
After much faffing about (This is my first Away3d project, previously i have worked with papervision3D) I got the model and texture loaded up fine.
Now i am moving on to the animation. Sadly it seems that there is very little animation reference out there. Everything is about bones. I am just doing simple translation / rotation animation, and some shape (morph) animation.
I ‘m trying to figure out what classes to use and how to set up my scene so the parser doesnt fail. Shape animation seems a no no. Also, the debug info seems off:
!——————- Begin Parse Collada——————-
!——————- Begin Parse Scene——————-
+ Parse Node : prop-noShape : prop-noShape
+ Parse Node : paper-mesh : paper-mesh
!——————- End Parse Scene——————-
! Animation Clips Exist : false
!——————- Begin Parse Animation——————-
+ Parse Animation : rotations
+ Parse Animation : translations
!——————- End Parse Animation——————-
+ Parse Geometry : geometries_0
+ Parse MeshMaterialData
! channelType : translationZ
OUTPUT:6
! channelType : rotation_z
OUTPUT:8
! channelType : rotation_x
OUTPUT:9
! channelType : rotation_y
OUTPUT:9
! channelType : translationY
OUTPUT:8
! channelType : translationX
OUTPUT:6
+ Build Material : PaperMat
+ Material Type : colorMaterial
+ Build Container : prop-noShape
+ Build Mesh : paper-mesh
+ BonesAnimator
+ BonesAnimator
+ BonesAnimator
There are no bones, the info reads false on clips but then does list the exact clip names as animations. Also i don’t really get what is meant or how to use channels listed here.
Last but not least I’m guessing i should read in separate shape keys and supply those to the morpher class. Ideally though it would be nice to contain it in one DAE scene file and take the relative meshes and or animation from there instead of a whole list of DAE files for one asset.
In short what i ‘m asking is any pointers or info on normal SRT animation from colladas and or info about the Morpher or VertexAnimation classes
Oh and thanks for any info and putting up with the n00b questions,
regards,
Baka