KHRaster

Software Rasterizer

KHRaster was developed during my time as a student, its purpose is to teach me the fundamental of computer graphics, how computer rasterizes different primitives such as points, lines, and triangles. The implementation of KHRaster is akin to the GPU graphics pipeline, it emulates Vertex Shaders and Pixel Shaders to do geometric transformations and shading.

Features

  • Real-time rasterizer
  • Blit onto different region of the application window
  • Rasterizes points, lines, and triangles
  • Texturing based on texture coordinates
  • Real-time rendering of 3D triangular geometry with simple lighting

Gallery

Image

Image

Image

Image

Image

Image