Skip to content

mi2think/DoPixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Do pixel software renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages