25 SkeletonAnimator,5FPS,Why ?

Software: Away3D 4.x

Marshal, Newbie
Posted: 21 May 2013 08:28 AM   Total Posts: 1

var mesh:Mesh =  AssetLibrary.getAsset(_meshTag) as Mesh;
  _item = mesh.clone() as Mesh;
  _skeleton =  AssetLibrary.getAsset( _skeletonTag ) as Skeleton;
  var animationSet:SkeletonAnimationSet = new SkeletonAnimationSet(3);
  for(var i :int ; i

 

   

SuperSam, Sr. Member
Posted: 21 May 2013 12:05 PM   Total Posts: 102   [ # 1 ]

I think the cause is that you’re using Onkba as your model.

Onkba has 40 bones, which means animation will be run on the CPU. Away3D doc advises to use about 32 bones at most to avoid the CPU fallback. (that’s due to Stage3D limitations, limitations that exist to ensure maximum reach so maybe it will be lifted in the Extended profile, who knows)


To make sure I got the cause right you can try stopping animation. FPS should bump up if I’m right.

   

Avatar
loth, Sr. Member
Posted: 21 May 2013 12:42 PM   Total Posts: 236   [ # 2 ]

yep and mesh take more 8000 faces
if your model is in low definition you can export awd
and convert to m2d with prefab
you can use vertexAnimator for more than 300

http://3dflashlo.free.fr/demos/

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X