Main > Multimedia & Design > Multimedia >

MD2 File Loading Code 1.0

MD2 File Loading Code 1.0

Sponsored Links

MD2 File Loading Code 1.0 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 420 KB
Platform: Mac OS X
License: Freeware
Price:
Downloads: 1333
Date added: 2006-05-31
Publisher: Freak Software

MD2 File Loading Code 1.0 description

Using only standard C++ libraries, theMD2 File Loading Code will load an MD2 model file and a PCX texture. Surrouning code uses the MD2Model class and SDL to setup the application and OpenGL view and display the animated model.

I need code to load MD2 files to use in my game engine (under development) and when I saw that my copy of OpenGL Game Programming had a chapter on it, I was pretty stoked. I figured "hey, this ought to take only about what, 20 minutes to get working?" I was wrong. I ended up rewriting the entire file loading code, restructuring the class, renaming structures, removing functions, and organizing and abstracting the code better because the original code (sorry Kevin and Dave) just didnt work (endian issues which were a PITA to try to fix in their code) and didnt stand up to my rigorous standards of quality code.

The code in this project is really in three parts. Main.cpp is just along for the ride. It sets up the OpenGL view and handles input (using SDL). Object3D is a class designed to represent an object that animates (or doesnt). Its designed to contain more than one loaded MD2 model so that they can be treated as one object and be synchronized in state and animation. The MD2Model class (MD2.h/cpp, Texture.h/cpp) is used only to load the MD2 and texture (PCX only in this code) and to draw it. Thats it. No state handling at all, because thats managed in the Object3D class.

Anyway, if you just need to get MD2 file loading working, just take the MD2.h/cpp and Texture.h/cpp files. Thats all you need. The file loading is endian-aware so it should work on every platform, unlike all of the other code out there.

Completly freeware for non-commercial use.

MD2 File Loading Code 1.0 Screenshot

Advertisements

MD2 File Loading Code 1.0 Keywords

Bookmark MD2 File Loading Code 1.0

Hyperlink code:
Link for forum:

MD2 File Loading Code 1.0 Copyright

WareSeeker periodically updates pricing and software information of MD2 File Loading Code 1.0 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of MD2 File Loading Code 1.0 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Simple Loader - Treats clipboard contents as a file name and opens it Free Download
Arrow Drawing Code - Draw an arrow with parameters Free Download
Doc Size Manager - Save and load your document sizes Free Download
Ghost Code - Let your computer do the coding while you go take a nap! Free Download
Matrix Reloaded GL is a ScreenSaver Module for Mac OS X Free Download
Development kit for adding OpenGL support. Free Download
Planet Discordia, a prodedurally generated planet Free Download
This is an easy to use platform-independent load testing application for use in testing performance of FTP, SFTP and FTPS servers under heavy load. Free Download