vertex animation

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

vertex animation

Post by markmze »

Hi everybody,
is there any way of support for vertex animation in irrlicht?
I'm making an escalator, i won't rig it, you know :roll:
I tried wrl, X and Dae, it doesn't seem to be ok, or maybe my exporter is bad.
Do anyone knows if it's supported in a way?
Thanks
Abraxas)
Posts: 227
Joined: Sun Oct 18, 2009 7:24 am

Re: vertex animation

Post by Abraxas) »

By vertex animation you mean frame vertex positions like in 3DS max?

I've had no problem with those so far.
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

Re: vertex animation

Post by markmze »

Yes, I mean every vertex position animation. Like in every software, maya 3DS or C4D.
Not a bone based animation
Like my vertices have different position in each frame.
Which format did you use to get your results?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: vertex animation

Post by hendu »

The md2 and md3 formats support only vertex animation. Irr supports both fully.
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

Re: vertex animation

Post by markmze »

Thanks, that's what I discovered.
By the way, the workflow for getting from .FBX to .MD2 is getting kinda really really hard these days.
I'm currently trying with QTip for 3DSMax.
Thanks for your answers
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

Re: vertex animation

Post by markmze »

Guys, I'm getting REALLY irritated, I really need some help.
still trying to export Vertex/Morph animation into MD2 format, and it's a real pain nowadays...
Does anyone knows the perfect workflow, from FBX format, it could be better?
I would owe you a big big time if you could tell me one...
Trust me, I've been trying a lot's of solutions.
If only i could do this with bones... But no, this is an escalator animation. I can't rig this.
Regards
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: vertex animation

Post by hybrid »

If you just need pure vertex animation, you can use the SAnimatedMesh class and just add your poses each frame. The engine will interpolate across those frames automatically.
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

Re: vertex animation

Post by markmze »

I kinda managed to export an md2 of 500 frames from fragmosoft.
But when it is loaded into irrlicht, it looks like only around 30 frames are played... Is that normal?
I can assure that my md2 contain 500 frames.

By the way, hybrid, that's not a bad idea. It seems that pandaX exporter can export .X in different files for each frames.
But i can't find this option. I'm still searching, it could be good for me.
Thanks
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: vertex animation

Post by hybrid »

If you can export .x why not use that? Search the forum for the proper settings of the panda exporter. That's simplest and most powerful way.
markmze
Posts: 24
Joined: Fri Apr 19, 2013 1:09 am

Re: vertex animation

Post by markmze »

I needed to convert to md2/md3 for non-skeletal animation.
For skeletal animation, well, i searched the forum for the settings using panda exporter, I found it, and that's not plenty good for skeleton animation.
But I managed to reimport the skeleton directx from pandaX file into fragmosoft, readjust the riggings, and then re export into directX .X from fragmo,
which is plenty supported animation for irrlicht.
As I said, the pipelines are getting hard.
The worst part is that i'm animating crowds, and directX files only support ONE skeletal animation per file, so I have to manually :
export the crowd as FBX from massive prime crowd softmare, using a maya 2011 plugin, reimport them into 3DSMax for re-exporting each one of the crowd's character
into direct .X using Panda exporter (so i have a lot's of file, around 80 ...) and reimport each one of them into fragmosoft, re-rig some vertices that are buggy,
and then re-export into directX from fragmo. This way, irrlicht read the files correctly...
What a pain, what a workflow !
but sincerely, thank you hybrid, at least you made me discover this workflow;
If anyone has a better one, please let me know, i'm losing a lot's of time.
No file format supported by irrlicht does support multiple skeletal animation in one file, am I right ?
Cheers
Post Reply