Hi all,
Here is a little test displaying md5mesh’s joints/bones. Perhaps it could be usefull to implements this functionality in the engine.
http://www.visualiser.fr/fp11/Md5Skeleton.html (FP 11 beta not RC)
Samuel
md5mesh and skeletonSoftware: Away3D 4.x |
||
Samuel Girardin, Member
Posted: 02 September 2011 03:17 PM Total Posts: 74 Hi all, Here is a little test displaying md5mesh’s joints/bones. Perhaps it could be usefull to implements this functionality in the engine. http://www.visualiser.fr/fp11/Md5Skeleton.html (FP 11 beta not RC) Samuel
|
||
|
||
|
||
Samuel Girardin, Member
Posted: 03 September 2011 04:23 PM Total Posts: 74 [ # 3 ] Thanks Choons ! 80prozent :i’m woking on what to you told me on your post Sam |
||
|
||
Samuel Girardin, Member
Posted: 04 September 2011 10:11 AM Total Posts: 74 [ # 5 ] A new one . It displays MD5mesh skeleton and bones. http://www.visualiser.fr/fp11/Md5SkeletonAndBones.html Sam |
||
Samuel Girardin, Member
Posted: 07 September 2011 11:39 AM Total Posts: 74 [ # 6 ] update for FP11 rc1. Seems to be faster ? http://www.visualiser.fr/fp11/Md5SkeletonAndBones.html Samuel |
||
Samuel Girardin, Member
Posted: 08 September 2011 11:24 PM Total Posts: 74 [ # 7 ] A new one, about 17 bones, 16 hingeConstraint, and 5000 faces cylinder. The rigid body skeleton is built at runtime. Just clic and the ground to impulse force. http://www.visualiser.fr/fp11/rope.html Samuel |
||
|
||
Samuel Girardin, Member
Posted: 09 September 2011 01:38 AM Total Posts: 74 [ # 9 ] 60 fps on my one year old laptop(i7) And yes MD5mesh data are used to build the skeleton and the rigidbodies. I haven’t done a test for this one, but i almost sure GPU is not used for deforming the ‘rope’ whereas if it was a classic animation (md5export of a 3dsMax keyframes animation) where Away uses GPU to render the animation. Samuel
|
||
|
||
Samuel Girardin, Member
Posted: 20 September 2011 10:08 PM Total Posts: 74 [ # 11 ] For the rope,I ve just made a trace on _usesCPU in SkeletonAnimation and it returns false, so it uses CPU… It’s weird, because on the skinned ragdoll test I’m working, it returns true (so it uses GPU). My character mesh contains less faces than the cylinder. 1600 vs 5000. Is there a relation ? ? Both are MD5Mesh.
|
||
Choons, Sr. Member
Posted: 20 September 2011 10:13 PM Total Posts: 281 [ # 12 ] wait- is that backwards? usesCPU returns false so that means it uses GPU right? EDIT - nevermind. just saw the note on the function: “Returns false if it cannot run on GPU” which is still backwards to me - false should mean it ISN’T running on CPU |
||
Samuel Girardin, Member
Posted: 20 September 2011 10:20 PM Total Posts: 74 [ # 13 ] you re right they should named it _useGPU ! |
||
|
||
Choons, Sr. Member
Posted: 21 September 2011 08:29 AM Total Posts: 281 [ # 15 ] Hey Samuel, check out this thread I started after the last post we had earlier http://away3d.com/forum/viewthread/807/ looks like the note above usesCPU is incorrect. True means it’s running on CPU instead of what that note says. You can see that if you look down in SkeletonAnimation.as at function getAGALVertexCode |