Skip to content

tandandanw/SoftwareRenderer

Repository files navigation

Software Renderer

Introduction

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

Requirement

  • Microsoft Visual Studio 2017

Compile and Run

  • Only for Windows users (cause using GDI):

Open the project solution (SoftwareRenderer.sln) then run it. It' s as easy as it can get.

Others

  • Blog

(SoftwareRenderer/2018-02-17-software-renderer)

  • Explanation of implementation

(SoftwareRenderer/ImplementationDetails.zip)

Screenshots

Wireframe mode

wireframe.png

Vertex color mode

color.png

Texture mode

texture.png

Lighting on

lighting.png

Releases

No releases published

Packages

No packages published