Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.85 KB

File metadata and controls

49 lines (33 loc) · 1.85 KB

Dplib

Dplib as "Do Pixel software renderer Lib", it aim at understand the pipeline of GPU. Thanks to the author of "Tricks of the 3D Game Programming".

Feature

  • Math: vector, matrix, quaterinon, AABB, Plane, Frustum.
  • Fixed pipeline, traditional scanline raster algorithm.
  • Frustum culling and backface clipping.
  • Texture: wrap and address mode, perspective correct texture.
  • Z/INVZ Buffer.
  • "ADS" local illumination.

Demo

Wireframe Triangle

Flat Triangle

Gouraud Triangle

Texture Wrap

Perspective correct texture

Load Obj

Lighting Cube