Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


Collada skeletal animation help


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 Ronan085   Members   -  Reputation: 169

Like
0Likes
Like

Posted 24 April 2013 - 09:37 AM

Hey

 

I have recently been building a very very simple game engine for myself and i have run into alot of trouble trying to implement animation

What i have been doing so far is converting from collada into my own file format and have been able to load static meshes.

But i cant seem to understand how to load skeleton animations 

I have read the following tutorials but cant seem to think of how to implement it my way

if anyone know how to explain it i would greatly appreciate it.

 

Thanks smile.png

-Ronan085-

 



Sponsor:

#2 LJ_1102   Members   -  Reputation: 977

Like
0Likes
Like

Posted 25 April 2013 - 07:35 PM

Hello Ronan085,

I've also used the tutorial from wazim.com and had no problems parsing the skeleton data, except for inconsistent exporters.

As you've seen in the various resources the explanation is not done in a few lines, so please specify where exactly you're stuck.


Jan F. Scheurer - CEO @ Xe-Development

Sign Up for Xe-EngineBeta

 


#3 Ronan085   Members   -  Reputation: 169

Like
0Likes
Like

Posted 26 April 2013 - 03:58 AM

I am just a bit confused on what information is exactly needed

Would i be right to say that this is all i need besides the geometry : 

 

  • Bone Name 
  • Bone Parent 
  • Joint Matrix 
  • Bind shape matrix  
  • Bind Pose  
  • Joint inverse Bind poses 
  • Root Bone 
  • Bone Weights           
  • Animation Time 
  • Transformation : 
  • Interpolation Type 
  • Skinning Equation 
or is there other things i need too


#4 LJ_1102   Members   -  Reputation: 977

Like
0Likes
Like

Posted 26 April 2013 - 08:50 AM

Yes thats about it.

What you're looking at is a tree structure, Skeleton on root, followed by children having more children.

children also have animation frames. the weights and bone indices affecting a vertex need to go into your vertex structure.

The bone names are used inside the collada document, be sure to parse name|sid|id attribute for the name in this order to handle different exporters.


Jan F. Scheurer - CEO @ Xe-Development

Sign Up for Xe-EngineBeta

 


#5 Ronan085   Members   -  Reputation: 169

Like
0Likes
Like

Posted 27 April 2013 - 07:14 AM

Thank you :)






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS