Made a smd loader

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply

Are such random loaders usefull?

Yes
13
87%
No
2
13%
 
Total votes: 15

sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Made a smd loader

Post by sudi »

Here is smd loader for irrlicht.

Download

i tried to find any information on half-life's mdl format (several smds compiled in one file) but couldn't find anything maybe you could help otherwise when i won't get any information in time i will add my own compiled format.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Hmm, never saw any free meshes of this format, but why not :wink: Do you have any meshes to test? And did you develop against Irrlicht 1.2? How many of the features do you already support?
Luke
Admin
Posts: 449
Joined: Fri Jul 14, 2006 7:55 am
Location: Australia
Contact:

Post by Luke »

It might be easier for people if you included a smd mesh, and some sample program loading it.

By the way is the smd file format public domain?

Looking that the source it seems to load textures, bones, animations, etc. does it all work? (good work if it does)
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

I added Half-Life MDL support to a 3D engine some time ago. If you follow the link below you can download the source code from SourceForge.

http://sourceforge.net/projects/aztica
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

@hybrid
i developed against irrlicht 1.2 and it supports all smd features. there arent much....textures , mesh and bone animation.....but the animation is kinda weired....so i didn't include it yet. but it loads it so u can add it easily.

and u can export from milkshape to smd. or decompile the half-life mdls
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Nice one, not many people may have a use for it but i think if it ends up being included in the engine, which im sure it will, then it certainly adds to the overall strength of Irrlicht and allows people to use more models that may be out there or have a wider choice of formats to export their models to.
Image Image Image
Kamazy
Posts: 24
Joined: Tue Oct 11, 2005 12:16 pm

Post by Kamazy »

I think that many people would have use of this. Mostly cuz it's a simple format with exporters for just about every 3d program and for some people it might be the prefered choice. :)
Good job, tho i have no info on the .mdl format for you. :P

[edit]
you can download source code for a half life .mdl model viewer from Here.
hope it helps. :P
Cheerz! I'm new don't shoot! Image
Image
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

ok now i guess i know how the animation works in smd but the strength of mdl is that u can several animations in seperate files and to achieve that i will have to add a scenenode because the animated mesh will only display the static first frame and the rest will be excessible from the scenenode.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
noreg
Posts: 158
Joined: Fri Jun 23, 2006 6:01 pm
Location: continental europe

Post by noreg »

I guess you know already about milkshapes good support for it. I don't know wether it turns out to be useful coz' milkshape is not OPEN SOURCE. Check it out at chumbalum.soft.
Post Reply