/MyRenderer

My practice project for software renderering

Primary LanguageC++

MyRenderer



My practice project for software renderering.

##Main progress:

  1. A 2D buffer which could write a pixel and then map it to the target screen.
  2. Draw lines in the 2D buffer.
  3. Apply all konds of transform to a local vertex and eventually make it a screen vertex.
  4. Depending on the three input vertices , generate a 2D triangle.
  5. Depth test , decide if a pixel could be drawn according to its depth information.

##Runtime environment

Windows 10 and VS2015

##Print screen

image

image