Loading models (.x, .ms3d)

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
durney
Posts: 2
Joined: Tue Aug 15, 2006 1:47 am

Loading models (.x, .ms3d)

Post by durney »

Hello,
I am trying to find a good format for models. I would like to be able to export from Blender and load in Irrlicht (1.0) on Windows and on OS X (1.0 also). I posted a question about exporting .x files from Blender and received several responses. (Thanks for answering, sorry I didn't respond in that thread.) Then I read about the 241 export script and extra spaces after semicolons. I changed the script and it works much better.

I still see a few strange things in .x models, though, and I think it might be because I haven't applied some .x loader patches.

I also thought about using Milkshape (.ms3d) models (and hoping that I could find import/export scripts for Blender and .ms3d). On Windows, loading the .ms3d file worked fine. On OS X I got a message that said only Milkshape versions 1.3 and 1.4 can be imported. My copy of Milkshape is 1.7.

I read a post (from hybrid, I believe) that said that the only formats for which animation is supported are MDL, .x, and .ms3d. I'm not particularly interested in MDL, and so far I'm still having problems with .x and .ms3d. Are there any other options?

My specific questions are:
What patches are there for the .x loader in Irrlicht 1.0? How do I find them and apply them?

Are there patches for the .ms3d loader in the OS X version of Irrlicht so that it can load something other than 1.3 or 1.4?

Thanks
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

(Another posting by me :D Actually all my posts are from me :wink: )
The patches are found on my patch page (follow the www link below). The patches for 1.0 and older versions are found on separate pages, link at the bottom.
The MS3D loader is unfortunately one of those oaders which are completely endian-unaware, but heavily affected by this problem. So all number reads have to be enhanced with a conversion for big endian systems. Not really hard, but tedious work. Right now it won't work whatsoever on PowerPCs.
And finally, B3D is also a file format to be used for animatins, though not available for 1.0
Post Reply