Offline scanline renderer

This was written in C++. It is a scanline renderer (also called rasterizer).

Features are:

  • Almost all attributes can be mapped (specular, shininess, diffuse, ambient)
  • Normal mapping (using tangent space textures)
  • Shadows using shadow maps, soft shadows
  • Multisampling
  • Gouraud shading and Phong shading
  • Phong, PhongBlinn and Lambert reflection models
  • Light shaders (point, directionnal, spot)
  • Bi-linear texture filtering
  • Different interpolators, including perspective-correct interpolation
  • Post process filters (gaussian blur, sepia, treshold, edge detection)
  • Clipping done in 4D
  • Dithering (Floyd-Steinberg algorithm)
  • DDA and Bresenham rasterization
Pictures rendered with this:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s