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.
Made a smd loader
Made a smd loader
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.
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
http://sourceforge.net/projects/aztica
@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
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.
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.
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.
[edit]
you can download source code for a half life .mdl model viewer from Here.
hope it helps.
Good job, tho i have no info on the .mdl format for you.
[edit]
you can download source code for a half life .mdl model viewer from Here.
hope it helps.
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.