Game Programming and Development Tools

Blender animation help – andygeers

AndyGeers

Member

Posts: 45
From: London, UK
Registered: 06-20-2005
Okay, so I've been having problems getting animations out of Blender and into my semi-Irrlicht-based game engine. I've tried exporting as .X, .3DS, .OBJ, all to no avail. I think it's either the model itself or the exporter, since even Microsoft's own .X viewer doesn't show up any animations, but obviously I can't use that as a means of testing non-.X exports like 3DS.

The model can be found here: http://www.geero.net/Butterfly.blend

I'll confess it's been a while, so I can't really remember how to use Blender or how I made it! I think it's an armature modifier on the mesh, which I understand is the "modern" way of animating in Blender (rather than just parenting the armature to the mesh).

I'd appreciate any help in either fixing the model or finding a decent exporter.

Thanks a lot,
Andy

------------------
http://www.geero.net/

Jari

Member

Posts: 1471
From: Helsinki, Finland
Registered: 03-11-2005
Sorry the download link wont work.
I have blender 2.42a so I can test in that.

------------------
1Jo 2:9-10 He that saith he is in the light, and hateth his brother, is in darkness even until now. 10 He that loveth his brother abideth in the light, and there is none occasion of stumbling in him.
Joh 17:26 And I have declared unto them thy name, and will declare it: that the love wherewith thou hast loved me may be in them, and I in them.

[VoHW] (Help needed) [Blog] - Truedisciple (mp3)

Calin

Member

Posts: 358
From: Moldova
Registered: 12-04-2006
I don't have Blender but I managed to download it
Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
Hey there, sounds interesting... I used to work with Irrlicht a little... it seems like I got something working out of it befoe... I'll take a look at it once I get home! Also, have you tried Blender's MDL exporter?

------------------
They will know that we are Christians by our love.

Brandon

Member

Posts: 594
From: Kansas City, Mo, USA
Registered: 02-02-2004
Weird... I had the same problem... When using the MeshViewer for Irrlicht version 1.1 it shows me nothing after loading the .x file from blender.. when I try to load a .obj file it crashes O.o

------------------
They will know that we are Christians by our love.

AndyGeers

Member

Posts: 45
From: London, UK
Registered: 06-20-2005
quote:
Originally posted by brandon:
Weird... I had the same problem... When using the MeshViewer for Irrlicht version 1.1 it shows me nothing after loading the .x file from blender.. when I try to load a .obj file it crashes O.o


Eventually I discovered that it's showing a teeny tiny little black square hidden away in a corner - maybe something to do with the fact that the object itself is scaled in Blender. But even setting that back to 1.0 didn't seem to solve the problem.

------------------
http://www.geero.net/

Jari

Member

Posts: 1471
From: Helsinki, Finland
Registered: 03-11-2005
I deleted the two objects in the bottom of the object list in blender's outliner view and after that it didnt crash anymore when I loaded the exported X file. But still couldnt see the mesh, maybe because the texture wasnt found.
Sorry, this probably doesnt help much.

------------------
1Jo 2:9-10 He that saith he is in the light, and hateth his brother, is in darkness even until now. 10 He that loveth his brother abideth in the light, and there is none occasion of stumbling in him.
Joh 17:26 And I have declared unto them thy name, and will declare it: that the love wherewith thou hast loved me may be in them, and I in them.

[VoHW] (Help needed) [Blog] - Truedisciple (mp3)

HanClinto

Administrator

Posts: 1828
From: Indiana
Registered: 10-11-2004
Whenever I'm having exporter woes, one thing that helps me is to try exporting the standard Blender cube and getting that to load on the other side before trying to do it with a more complex model.

There are any number of things that could be hurting your export, whether it is inverted faces, holes in the mesh (if one is exporting to a bsp-like-format), or sometimes just random quirks like what Jari seems to have found.

Can you export a standard cube out of Blender okay?

--clint

AndyGeers

Member

Posts: 45
From: London, UK
Registered: 06-20-2005
quote:
Originally posted by HanClinto:
Can you export a standard cube out of Blender okay?

--clint


I've got a fairly complex "field" scene loading in fine, and indeed if I use the Microsoft .X loader then I can load this file in *without animation*; but getting the animations is pretty crucial, and also it won't load in Irrlicht.

------------------
http://www.geero.net/