Page 1 of 3
Entity Animation
Posted: Sat Dec 03, 2022 1:12 pm
by pfaber11
Good afternoon. I have converted my .dae file to an ogremesh .mesh file . yes it works but the animation will not play . Any ideas .
Thanks for reading I have tried everything I can think of .
Re: Entity Animation
Posted: Sat Dec 03, 2022 6:25 pm
by Caronte3D
Again... you should post a minimal example (runnable) for better help, it's even more necessary in your case because not many users do 3D with PB
Re: Entity Animation
Posted: Sun Dec 04, 2022 11:24 am
by pfaber11
I see I wonder why not . I've got to get animation working or I fail. But will keep trying for a week or two.
Re: Entity Animation
Posted: Sun Dec 04, 2022 2:17 pm
by pendle
Depending which tool you used to convert the model, it's likely the animation wasn't exported with it. Model formats are tricky. I'd test the .mesh file in an external model viewer to make sure the animation was exported intact.
Re: Entity Animation
Posted: Tue Dec 06, 2022 6:26 pm
by Comtois
you need a .mesh file and a .skeleton file (animation)
Re: Entity Animation
Posted: Thu Dec 08, 2022 11:29 am
by pfaber11
Hi I see I need the .skeleton but ogreassimpconverter is only spitting out the .mesh and .material and no .skeleton . Do I have to do something to get it to give me a .skeleton ? Thanks for reading .
Re: Entity Animation
Posted: Thu Dec 08, 2022 5:12 pm
by pfaber11
I have not put any code up yet for this as it is more of a question of how do I get a .skeleton file from ogre assimp .exe . It produces .mesh and .material but no skeleton file.
Re: Entity Animation
Posted: Thu Dec 08, 2022 5:17 pm
by Caronte3D
Maybe you can take a look to Blender exporters for ogre.
Re: Entity Animation
Posted: Thu Dec 08, 2022 7:09 pm
by pfaber11
Yes I have the xml converter but have had no success with that either .
Re: Entity Animation
Posted: Thu Dec 08, 2022 8:02 pm
by Caronte3D
Maybe you need a older Blender version? I haven't used it for years.
I can see information about skeletal export here:
https://github.com/OGRECave/blender2ogr ... imation.md
Re: Entity Animation
Posted: Thu Dec 08, 2022 8:25 pm
by pfaber11
Thanks gonna check out the link
Re: Entity Animation
Posted: Mon Dec 12, 2022 5:59 pm
by pfaber11
Well after a few hours or so I have now got my .mesh .material and .skeleton . I'm getting there just got to find out how to use them. I used a .dae file in blender to create my animation then exported it and used ogre assimp converter to create the previously mentioned files . Good days work today as I made some good progress . Thanks for reading and all advice appreciated.
Re: Entity Animation
Posted: Mon Dec 12, 2022 6:08 pm
by Caronte3D
When do you have a working example, post it here, so future users can learn of your research

Re: Entity Animation
Posted: Tue Dec 13, 2022 10:47 am
by pfaber11
Yes when I have got it down I will write a detailed list of how it is done. I got this far and I think I'm ninety percent there. I'm watching a video on YouTube and I'm nearly done . I'll watch it do some programming watch it again program some more etc etc until I have it down . I'm using Blender 3.3 and exporting as a dae file and then convert it to .mesh file with ogre assimp converter . This has been a bit of a slog.
Re: Entity Animation
Posted: Tue Dec 13, 2022 4:30 pm
by pfaber11
I still haven't got the animation sorted yet but am well on my way and expect to have this sorted in the next couple of days.