[Solved] How to import animation clips from multiple .skeleton files into a single .skeleton? Topic is solved

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


knn217
Halfling
Posts: 78
Joined: Wed Jan 25, 2023 9:04 am
x 5

[Solved] How to import animation clips from multiple .skeleton files into a single .skeleton?

Post by knn217 »

Hello, I had trouble following the "ImportAnimationsShareSkeletonInstance" sample. I couldn't figure out how to combine multiple .skeleton files into one so that all meshes can follow this master skeleton. The Blender2Ogre exporter doesn't seem to have an option for this, it always exports a .skeleton for each .mesh.
Do I have to create my meshes in a specific way in Blender? Or is there a way by coding?

Last edited by knn217 on Sun Oct 29, 2023 8:07 am, edited 1 time in total.
User avatar
sercero
Bronze Sponsor
Bronze Sponsor
Posts: 495
Joined: Sun Jan 18, 2015 4:20 pm
Location: Buenos Aires, Argentina
x 179

Re: How to import animation clips from multiple .skeleton files into a single .skeleton?

Post by sercero »

Funny that you mention blender2ogre since the documentation has a section dedicated to that topic:
https://github.com/OGRECave/blender2ogr ... d-skeleton

knn217
Halfling
Posts: 78
Joined: Wed Jan 25, 2023 9:04 am
x 5

Re: How to import animation clips from multiple .skeleton files into a single .skeleton?

Post by knn217 »

sercero wrote: Sat Oct 28, 2023 1:44 pm

Funny that you mention blender2ogre since the documentation has a section dedicated to that topic:

Thanks for the reply! I completely forgot about the documentation for blender2ogre :oops:

However, I still can't find the option "EX_SHARED_ARMATURE" while exporting, is it not in the armature tab?

Here are my options for exporting:
Image
Image

knn217
Halfling
Posts: 78
Joined: Wed Jan 25, 2023 9:04 am
x 5

Re: How to import animation clips from multiple .skeleton files into a single .skeleton?

Post by knn217 »

Apparently, "shared armature" option was added in later, so my blender2ogre repository needed to update to the latest version :oops: .
The option appears in my export window now, sorry for the trouble!