Jump to content
  • Advertisement
Sign in to follow this  
rocklobster

collada animation with multiple skeletons

This topic is 2349 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

[color=#333333]
Ive been able to load static geometry using my own loader for collada that I wrote. However the next step is to add animation. The problem I am having is what do when an instance_controller has multiple skeletons. In my current model I am trying to load every node that is rigged is referencing every joint. For example
[color=maroon][background=transparent]<instance_controller[/background][color=black][background=transparent] [/background][color=red][background=transparent]url[/background][color=black][background=transparent]=[/background][color=blue][background=transparent]"#geom-Cylinder018-skin1"[/background][color=maroon][background=transparent]>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone024[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone020[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone016[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone009[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone005[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone001[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=maroon][background=transparent]<skeleton>[/background][color=black][background=transparent]#node-Bone025[/background][color=maroon][background=transparent]</skeleton>[/background]
[color=#333333]
I am not sure what I am suppose to do with this? At the moment I am linking them all to the correct nodes in the visual_scene. However every node in the model does what you see above! Ive loaded it using AssimpView just to see that it actual is rendered and that works fine. Can anybody explain to me what I am suppose to do in the above situation. Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!