Bones - Skeletal and Pose Animations for jPCT/jPCT-AE > Bones

Making a 3d model move by code(user input).

<< < (2/3) > >>

raft:
not sure about the warning.

the error says, there are no skins in collada file, meaning no animations and hence nothing to import.

once exported to Bones' format, you can use BonesIO class to load it. and that's also the class script files use behind the scenes.

Rhnbmpl:
Earlier I was getting the error for the no animations found. But now, I have put animation in the model in Blender and exported it to collada and getting the error that I had posted above. I have even added textures in my model in Blender and am getting the same error.

Rhnbmpl:
And one more thing. I have seen the steps in the bones website to export the model to ogre and then to bones and I have questions about this step:


--- Quote ---2. Set the rotation and scale of your model as you want it, and then apply (Ctrl+A_key, Select Rotation and Scale). # If your model doesn't have it, create a Root Bone: This is a bone that is parent to every other bone in your armature. You don't need to connect it to the rest though, and can leave the offset. It must have it's head in 0,0,0 and tail in x=0,y=0,z=1
--- End quote ---

1. Does the root bone have to have its head at 0,0,0 and tail at 0,0,1? (Because mine has tail at 0.179 in z axis)(I am not getting the .skeleton.xml file at export)
2. Can I have the root bone not connected to the rest of my bone structure(Just have it floating in the space)? (Because then I have to scale the model)
3. Do I have to set the root bone as the parent to all my bones even though they are not connected to root?

Thank you.

raft:

--- Quote from: Rhnbmpl on November 14, 2017, 11:09:11 am ---Earlier I was getting the error for the no animations found. But now, I have put animation in the model in Blender and exported it to collada and getting the error that I had posted above. I have even added textures in my model in Blender and am getting the same error.

--- End quote ---
can you post the previous exception? in Bones code no such exception should be thrown, possibly coming from Ardor's Collada loader.

but in any case, your current exception means no skinning information is found in Collada file, practically means no animation. (actually not sure if exporting only the animation but not the skinning information is possible in Blender, doesnt make any sense though)


--- Quote from: Rhnbmpl on November 14, 2017, 01:46:53 pm ---And one more thing. I have seen the steps in the bones website to export the model to ogre and then to bones and I have questions about this step:

--- End quote ---
actually I've never used Blender myself, Wiki pages are created and maintained by the community members :)

Rhnbmpl:
Sorry, I don't exactly remember the error message, Its said something like "No Animations found". After which I added dummy animation and then got the message which I posted about no skins.
Can you tell me from which software(Blender,3ds max,etc.) you made the model and its skeleton and how you imported it to jpct and bones. I am open to new ways to do this.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version