Loading .mdl files


I want to add support for mdl files for my opengl game. Can anyone give me source code to work on to accomplish this? I know that I can look in the Half Life SDK, but I haven’t been successful in porting it to my game.

Basically ANY model importing will work, but I think mdl files are more advanced and look better.


codemaster, in HL SDK, sourcecode/utils/mdlviewer you’ll find all you need to render MDL files. But if you find it hard to use, try this link: http://lair.clemson.edu/IS/downloads.html
The guy wrapped it in the C++ class that is completely standalone…