PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

3d engine

here's the source to my first 3d engine.
http://www.omnytex.com/pf/fileexchange/ ... 040208.zip

some features:
- c/c++ , for pockethal
- 16bit pixel mode
- 8bit palettized mode (supports intensities)
- matrix stack (glPush, glPop)
- vertex caching
- lighting (for 8bit mode)
- uvn-camera
- md2 model loader
- z-sorting (bucket sorting and insertion-sort on each bucket)
>> no matter what i did depthbuffer was always too slow
- opengl - like interface
- bad coding habits
- bugs
- texture mapping is not perspective correct
izeman wrote:here's the source to my first 3d engine.
some features:
.....
- bad coding habits
.....


HA, thats the best feature ever! Ill have to take a look at this ;).