Portfolio

Software Renderer

posted on July 22, 2010

This software renderer started off as an assignment for uni, but I re-did it from scratch after finishing that year to show off as a portfolio piece (It’s just took a while for me to get around to uploading it to this version of the site). The code is really quite bad by my current standards (amazing the difference and year and a half makes) but it was a brilliant learning experience to be in total control of everything from loading the file to transforming the verts to finally drawing the polygons on the screen.

Currently the renderer features:

  • Several Drawing modes
    • Point
    • Wireframe
    • Flat Shaded
    • GDI+ Flat Shaded
    • Gouraud Shaded
    • Debug Texture
    • Textured
    • Textured Flat Lit
    • Texture Gouraud Lit
  • Support for animations
  • Should open any MD2 model and PCX texture
  • Ambient, Directional and Point light types
  • Supports ambient, diffuse and specular lighting
  • Several Effects
    • Negative
    • Static
    • Greyscale
    • Tint
    • Night-vision
    • Emboss
    • Colour Emboss
    • Blur

Download the Executable or Source (Warning, the source code is dire) Update, source-code removed pending a much needed total re-write

Media