csr
A crusty REAL TIME software renderer I wrote in C99/C11 a while ago.
It started out as an improved version of my crappy software renderer demo for the GameBoy Advance, but it got too big and unoptimised.
Some monkeys were hurt during the production of this software.
Features:
- no floating point arithmetic
- affine texture mapping only!!!
- in earlier commits, no z-buffer.
- then, a z-buffer because ordering tables are ANNOYING!
- ordered dithering to make 15 bit colors look NICE!
- depth-cueing fog
- gui
- bitmap fonts
- extremely high resolutions such as 480x320 px
- a MIDI file parser for some reason
- bounding spheres (using Ritter's algorithm)
- clipping
- per polygon lighting calculations
- what the heck are quaternions?
Please contact me to tell me about your own software renderers and graphics experiments <3
Made without love and care by ~fruit