Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I have created an animated butterfly in 3ds Max and try to export it in ".fbx" format to use in XNA, however as soon as I compile, i get the following Errors:

Warning 1 Multiple skeletons were found in the file. The first skeleton, named "Left.Wing" has been moved to be a child of the scene root. The other, "Right.Wing", will be ignored. Fragment identifier "Right.Wing".

Error 2 Vertex is bound to bone "Right.Wing", but this bone is not present in the skeleton.

Which is confusing since I have the bone Right.Wing . . and I use it to animate the butterfly

I have seen a few possible solution for Blender but none for 3Ds max it would be really helpful if someone could help me out with this

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Though I don't use 3DSMax or XNA, I would assume this issue is caused by the left and right wing not sharing a common parent. All the bones should be connected to a common root bone, since most applications (it seems XNA is included) don't support multiple skeletons per model.

Place a bone down the center of your butterfly and make the left and right wing children of that bone.

  left       right
    -----|-----
         |
         |
         | root

It doesn't need to have any function, but it would make sense to bind the body vertices to it and use it to move the body as part of your flapping motion.

share|improve this answer
    
I guess you are right.. There are only 2 bones Left.Wing & Right.Wing and they are linked together and also to a dummy node Butterfly.Root but not to a single parent root bone as you said I'm a beginner in 3ds max as well and i followed a youtube tutorial .. is there any work around this? Anyway I can add a parent bone? [link]youtube.com/watch?v=SU2XxjNk7HI [link] –  Sweta Dwivedi Sep 20 '12 at 14:15
    
Unfortunately, I don't know how to use 3DSMax. What's the difference between a node (Butterfly.Root) and a bone? Using Blender, I would create the root bone, then extend the wing bones off of that bone. I'm not sure of a way to add one after the fact. –  Byte56 Sep 20 '12 at 14:19
    
In my model the node controls the whole butterfly object but the individual bones just control the wings –  Sweta Dwivedi Sep 20 '12 at 14:41
    
Adding the a Root bone does solve the problem, XNA does not give the same Error anymore . . However the Rendering is not happening properly . . it renders the object very small but this seems to solve atleast the multiple skeleton problem for now! –  Sweta Dwivedi Sep 20 '12 at 20:34
    
@SwetaDwivedi Great! I would assume the scaling is something to do with the matrix multiplication introduced by the root bone. If the root bone were scaled smaller, it affects every child bone. –  Byte56 Sep 20 '12 at 20:36
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.