Software renderer shows the automatic process of generating a image from a 3D model by means of computer programs. It contains a common implementation of basic principles in polygon-related graphics theory.
-
3D Transformations
-
Backface Culling
-
Clipping
-
Phong Lighting (Blinn-Phong reflection model)
-
Triangles Spliting
-
Scanline filling
-
Bresenham's Line Algorithm
-
Z-buffering
-
Point / Bilinear Filtering
- Microsoft Visual Studio 2017
- Only for Windows users (cause using GDI):
Open the project solution (SoftwareRenderer.sln) then run it. It' s as easy as it can get.
- Blog
(SoftwareRenderer/2018-02-17-software-renderer)
- Explanation of implementation
(SoftwareRenderer/ImplementationDetails.zip)