Entity Animation

Everything related to 3D programming
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Entity Animation

Post 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 .
User avatar
Caronte3D
Addict
Addict
Posts: 1026
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Entity Animation

Post 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
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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.
User avatar
pendle
New User
New User
Posts: 7
Joined: Tue Jun 28, 2022 7:41 pm

Re: Entity Animation

Post 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.
User avatar
Comtois
Addict
Addict
Posts: 1429
Joined: Tue Aug 19, 2003 11:36 am
Location: Doubs - France

Re: Entity Animation

Post by Comtois »

you need a .mesh file and a .skeleton file (animation)
Please correct my english
http://purebasic.developpez.com/
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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 .
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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.
User avatar
Caronte3D
Addict
Addict
Posts: 1026
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Entity Animation

Post by Caronte3D »

Maybe you can take a look to Blender exporters for ogre.
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post by pfaber11 »

Yes I have the xml converter but have had no success with that either .
User avatar
Caronte3D
Addict
Addict
Posts: 1026
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Entity Animation

Post 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
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post by pfaber11 »

Thanks gonna check out the link
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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.
User avatar
Caronte3D
Addict
Addict
Posts: 1026
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: Entity Animation

Post by Caronte3D »

When do you have a working example, post it here, so future users can learn of your research :wink:
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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.
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Entity Animation

Post 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.
Post Reply