Sign in to follow this  

collada animation with multiple skeletons

This topic is 2041 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]
[color=maroon][background=transparent]<instance_controller[/background][/color][color=black][background=transparent] [/background][/color][color=red][background=transparent]url[/background][/color][color=black][background=transparent]=[/background][/color][color=blue][background=transparent]"#geom-Cylinder018-skin1"[/background][/color][color=maroon][background=transparent]>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone024[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone020[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone016[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone009[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone005[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone001[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[color=maroon][background=transparent]<skeleton>[/background][/color][color=black][background=transparent]#node-Bone025[/background][/color][color=maroon][background=transparent]</skeleton>[/background][/color]
[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[/color]

Share this post


Link to post
Share on other sites

This topic is 2041 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this