m8m/mdl7/mdl5 mesh loaders

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
8bitsz
Posts: 2
Joined: Tue Aug 05, 2008 6:38 pm

m8m/mdl7/mdl5 mesh loaders

Post by 8bitsz »

hi, i am new in irrlicht and i wrote m8m, mdl7/mdl5(3dgs models format) mesh loaders for irrlicht users.
sorry my poor english and my programming style.

FILE FORMATS DETAILS
->m8m/mdl5/mdl4
+implemented
-key frames animation
-texture Coords
+implemented+bugs
-skin texture(bug mdl5/mdl4)
+not implemented
-normals

->mdl7
+implemented
-key frames animation
-texture Coords
+implemented+bugs
-skin texture(bug external/dds)
-material(bug)
-normals(bug with burningsvideo)
+not implemented
-multi-group
-bones/bones animation
-effect shader
-dds skin texture

->mdl3/mdl2/idp0
+implemented
-key frames animation
+implemented+bugs
-texture Coords(bug)
-skin texture(bug quake1 mdls)
-normals(bug with burningsvideo)
+not implemented
obs.
max supported (textures 2/triangles 21845/frames 2048)

source1.42+example link:
http://www.mediafire.com/file/wvfiel2bm ... example.7z

source1.5 link:
http://www.mediafire.com/file/eexomdmtbl2/source1.5.7z


update:

source + examples 1.51
http://www.mediafire.com/file/iy5yodxzooz/files.7z

changes:
- add - asciiconverter functions createMesh/write3DS/writePIE/writeG3D
- add - reduced vertices duplication
- fix - max vertices 65535 (because m8m/mdl7/mdl3/3ds... use 16bits indices)
- fix - mdl7/mdl3/ascii normals
- fix - minor bugs
Last edited by 8bitsz on Tue Sep 15, 2009 6:03 pm, edited 2 times in total.
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

Gotta LOVE people who contribute on their first post ;)
BlindSide
Admin
Posts: 2821
Joined: Thu Dec 08, 2005 9:09 am
Location: NZ!

Post by BlindSide »

Yeah and not just any contribution, this is quite a big deal. Nice work!

He also included a fix for Alt/F10 key, and what is the "ASCII" mesh format? Is it similar to OBJ?
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Dorth
Posts: 931
Joined: Sat May 26, 2007 11:03 pm

Post by Dorth »

ascii is probably the text implementation, per opposition to the binary one. Although that's a pure guess of my part ;)
anoki
Posts: 58
Joined: Fri May 05, 2006 8:31 am

Post by anoki »

Great work. Thanks.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

Nice work, although your source is very difficult to read!
What is M8M mesh format? I've never heard of it
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Eagle_Eye
Posts: 16
Joined: Sun Feb 08, 2009 11:04 pm

Post by Eagle_Eye »

I can't seem to open it in rar. anyway to get a rar file of it? i've been meaning to implement some form of md5 loader in my engine but since you already did it, then i guess i could just use yours. Also, does Irrlicht load .dds files? cause i tried to load it and it didn't work at all.
8bitsz
Posts: 2
Joined: Tue Aug 05, 2008 6:38 pm

Post by 8bitsz »

I can't seem to open it in rar. anyway to get a rar file of it? i've been meaning to implement some form of md5 loader in my engine but since you already did it, then i guess i could just use yours. Also, does Irrlicht load .dds files? cause i tried to load it and it didn't work at all.
its not a md5 loader.
mdl5/mdl7 (3d gamestudio model format).
What is M8M mesh format?
m8m is a custom mesh similar 3dgs mdl5.

update 15 september 09
Post Reply