Problems exporting x files with blender

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
Albi
Posts: 24
Joined: Thu Apr 28, 2005 10:15 am
Location: Italy
Contact:

Problems exporting x files with blender

Post by Albi »

I have tried to export some animated models complete of armatures made with blender in the DirectX format
with simple animated meshes generally I have no problems but with meshes a bit more complex I often get console exportation errors like these:
Console Traceback (most recent call last):
File "<string>", line 1470, in my_callback
File "<string>", line 566, in writeRootBone
File "<string>", line 493, in exportMesh
File "<string>", line 964, in openMeshBlock
IndexError: list index out of range

Somebody knows what may be the cause and how to fix this problem? :cry:
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post by jox »

It seems you have the same problem that FanFan had recently:

http://irrlicht.sourceforge.net/phpBB2/ ... hp?p=39530

Does your blender scene contain SubSurf meshes? You (currently) have to convert them to polygon meshes before exporting.

I just released a new version of the exporter (1.3.1) that checks for SubSurf meshes and shows a warning if so:

http://development.mindfloaters.de/Downloads.12.0.html

Would be great if you could test that version with your scene to see if the warning comes up.
It is like it is. And because it is like it is, things are like they are.
Albi
Posts: 24
Joined: Thu Apr 28, 2005 10:15 am
Location: Italy
Contact:

Post by Albi »

My blender scene indeed contained SubSurf meshes, I have converted them
to polygon meshes as you suggested and it worked!
Thank you very much, I shall soon try your new version of the exporter to see if the SubSurf meshes warning comes up
Ciao :lol:
Albi
Posts: 24
Joined: Thu Apr 28, 2005 10:15 am
Location: Italy
Contact:

The warning comes up

Post by Albi »

Hello, I have just tried your new version of the exporter with my scene
and I have obtained:
DirectX Export error At least one object in "SubSurf" mode!
Please convert it using "Convert object Type" in the Object menu
doing so all seems to work well, such warnings are indeed very helpfull,
expecially to blender & Irrlicht beginners like me!

Thanks for your kind help :lol:
melon2005

Post by melon2005 »

I'v had same problem under windows (normally I work on linux workstation, but this job - again - force me to temprorary switch).
I've solved it by carrefully changing path and filename. So path is C:\ and file name is test.x (everything before file name has to be deleted).

This way it have worked. I hope this will be helpful.
melon2005

Post by melon2005 »

One more important thing. With some object (those test object most recently) you would have to switch off "export XSkinMesherHeader".
Post Reply