[SOLVED] simple 3d char animator

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.
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

[SOLVED] simple 3d char animator

Post by bandinopla »

hi, i have 3dmax 8 and 5. I have a char that i made with the 3dstudio and y have 3 animations in the .max file, the idle, run and jump.

idk how to export it so i can use it with irlicht.
I have sn the tutorial, but in there they use .md2 files. I can only export to 3ds.

i have use some *.X plugins for 3d max but they allways crash (?? idk why)

i dont know how to do this, is a simple thing but why is so difficult. the only thing i need is "how to make an animated model in 3dmax and use it in irrlicht" thats all... why is so dificult to find an exporter.. :(
Last edited by bandinopla on Sat Dec 02, 2006 9:44 pm, edited 3 times in total.
rimbou
Posts: 20
Joined: Fri Nov 24, 2006 12:09 pm

Post by rimbou »

Are you using skeletal animation (or bipeds), or it's just regular keyframe animation.
________
Crete cooking
Last edited by rimbou on Fri Feb 18, 2011 6:06 pm, edited 1 time in total.
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

Post by bandinopla »

i was using biped to anim the char but using key frame animation to move the parts, the arms... etc... like in the x frame i change the position of the arm... and so on. is that keyframe right? i use the biped as bones.
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

If I am not mistaken, since Biped is a Character Studio-specific thing, they will turn into meshes when they are exported to *.X

If you use Biped, the easiest workflow (albiet awkward) is to export it to *.fbx, then reset Max, and import the *.fbx you just created. This process should convert the Biped to "real" bones."
Then you can export to an *.X file.
If it doesn't work in Irrlicht at that point, open it with the DirectX MeshViewer that comes with the DX SDK, if it works there, then you can save it from there and it should work in Irrlicht OK.

How are you skinning your mesh? Physique or Skin modofoer? I never tried with the newer "Skin", so I don't know how well it works, but the Physique modifier is known to work fine.

And yeah, using keyframes is correct, or mocap or a combination.

I still think that someone ought to just write a loader for *.fbx, but maybe that is just me.
Join us in the Irrlicht chatroom:
[url]irc://irc.freenode.net/irrlicht[/url]

I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

Post by bandinopla »

i have the panda3d plugin for max to export *.X and another plugin i dont remember the name (knW or something) and the 2 crash when i try to export.

i have do the .fbx thing and when i export to .x the plugin alert me of a export module failure or somthing, the 2 plugins make the same thing...

can some1 attach a zip with a simple tutorial on how to export an animation from 3dmax to irrlich? coz this plugins i have to work wiht .x files are failing.

i even use an example from the panda3d plugin to test and that fails too!
luckymutt
Posts: 453
Joined: Sun Mar 06, 2005 11:56 pm
Location: C-Ville

Post by luckymutt »

If you are not already, then use the newer *.fbx exporter from here:
http://usa.autodesk.com/adsk/servlet/it ... id=7481453
Rather than the one that came with Max through version 8.

With Panda, I have never had a problem of a crash during export. Is it giving you any message, or just the "Max is gonna crash now" error?

Panda exporter will work, it is just a matter of settings.
Search around for all of the proper settings for the Panda exporter.
You may also want to post what settings you are using, or alternately maybe you could post your file, in case it is something else.
Join us in the Irrlicht chatroom:
[url]irc://irc.freenode.net/irrlicht[/url]

I love deadlines. I like the whooshing sound they make as they fly by. -D.Adams
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

can some1 attach a zip with a simple tutorial on how to export an animation from 3dmax to irrlich
Ok ill do it.Ill make pdf with pics and zip them.Ill need 2-3 days.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
Kamazy
Posts: 24
Joined: Tue Oct 11, 2005 12:16 pm

Post by Kamazy »

Panda's .X exporters for Max

I'v tried and it works fine even if i directly export the biped out of max.
One think i'v noticed if that irrlicht hides any bones (even if they are objects) so it will hide the biped mesh when you import it into irrlicht.

(Tested with Irrlicht Mesh viewer)

[Off-topic?]

WHy doesn't irrlicht have a .mdl laoder yet. :?
To me it's one of the best formats out there cuz it has animation,sub models, bit boxes...
And it's one of the mostly used formats in free game engines (AFAIK).

Other thing: Without hit boxes how do you guys check for a head shot and other area hits?
Cheerz! I'm new don't shoot! Image
Image
sgt_pinky
Posts: 149
Joined: Sat Oct 14, 2006 11:20 am
Location: Melbourne, Australia

Post by sgt_pinky »

I use Panda with Max 8. Works fine. I hide the bones before exporting - but that's just a personal preference. I use a standard biped model in Character Studio under my skin.

Imports fine and animates fine in Irrlicht.
Intellectuals solve problems - geniuses prevent them. -- Einstein
#irrlicht on irc.freenode.net
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

Here is tutorial (it contains pdf with pics and its about 800KB):

http://www.geocities.com/ejebemtisestru ... cedure.zip

When i use model with about 10.000 and higher faces it causes panda to crash no mater what options i set up but works fine in between 1000-2000 faces.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

Post by bandinopla »

belfegor wrote:Here is tutorial (it contains pdf with pics and its about 800KB):

http://www.geocities.com/ejebemtisestru ... cedure.zip

When i use model with about 10.000 and higher faces it causes panda to crash no mater what options i set up but works fine in between 1000-2000 faces.
greate tutorial, but i get thie error when i try to export the imported FBX to Xusing pandaX

Image

also, i dont have MeshView, that comes with direct X SDK?
could it be possible that panda fails in export to X coz i dont have the direct x SDK?

thanks[/img]
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

Post by bandinopla »

some1? any ideas? plz :(
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

Could you send me your model so i can see if it fails at my PC.
How many polys does your model have?
I got the same error if model have to many polys.
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
bandinopla
Posts: 28
Joined: Fri Nov 24, 2006 11:05 am

Post by bandinopla »

belfegor wrote:Could you send me your model so i can see if it fails at my PC.
How many polys does your model have?
I got the same error if model have to many polys.
here is the url to the model

http://bandinopla.ifastnet.com/female_char_01.max

or if u have win RAR

http://bandinopla.ifastnet.com/female_char_01.rar

also, i dont have the direct X sdk, should i have it? idk...
i have the same version of panda that u have in the tutorial and 3ds8.
belfegor
Posts: 383
Joined: Mon Sep 18, 2006 7:22 pm
Location: Serbia

Post by belfegor »

No you dont need DX_SDK for exporter to run.
OK i got your model and ill try it but ill need 2-3 days(this isnt my PC that i am using for internet) stay tuned.And here is (bitplanes) "MView" link:

http://gdlib.net/uploads/downloads/2_mview.zip
Small FPS demo made using Irrlicht&NewtonDEMO
InfoHERE
Its at very early stage but i think im crazy enough to finish it all alone.
Post Reply