REEEALLLLY slow animations :(

Software: Away3D 4.x

MegaManSE, Newbie
Posted: 21 November 2011 08:18 PM   Total Posts: 12

I was doing some animation testing and noticed the engine slowed down to a crawl the second I animate anything.  Looking through the Away3D code, it looks like it does all the animation in software with a commit in July 5th that removed the AGAL from parts of it.  Is there a reason for this or a way to get the animations to work on the GPU again or is this something on the todo list/something I should take a crack at?

The main bottlenecks appear to happen in
SkeletonNaryLERPNode.as:updatePositionData
SkeletonTimelineClipNode.as:updatePositionData

Thanks,
- Will

   

MegaManSE, Newbie
Posted: 22 November 2011 11:52 PM   Total Posts: 12   [ # 1 ]

Figured it out I think, in SkeletonAnimation.as:114 there are hardlimits to the number of joints and joints that can influence a vertex for it to be able to run the shader.  Anything above those limits run in software.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X