> [16:12] <Utmoon> To the CS guys: I have b2cs set up and seemingly working
> with CS 1.4 on ubuntu. I have exported amesh as animesh but do not know
> how
> to test if it is working. It does not show up animated in walktest like
> exporting asgenmesh does.

In 1.4, the animations of the animeshes aren't started automatically, you
have to start them manually eg with animesh->GetSkeleton
()->GetAnimationPacket ()->GetAnimationRoot ()->Play ()

This behaviour has been changed in 2.0, the animations are now started
automatically unless specified by iSkeletonFactory::SetAutoStart().
Otherwise, you can test the animations of your model in viewmesh (but here
also, many fixes have been made since 1.4 where viewmesh was barely
working with animeshes).

Note also that the animeshes are much more powerful than any previous
animated meshes in CS, but a drawback is that they are also more complex
to use. Basically, you have to setup an animation tree for any animesh you
use, and the complexity of this tree will depend of the complexity of the
animation that you want. For a mesh with a single animation, then you
should use a tree with a single CS::Animation::iSkeletonAnimationNode
node. For a more complex object such as a basic character, then the
iSkeletonFSMNode can be used. And a more complex character will use a more
complex tree.

You can see examples of such animation trees in 2.0 in avatartest, or in
the model data files of csbias.

Also, when exporting from Blender, you need to have your animations
defined in the NLA editor, otherwise they won't be exported by blender2cs.



------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:[email protected]?subject=unsubscribe

Reply via email to