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
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