Skip to content

nlins8224/SoftwareRenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software Renderer

This project is a small software renderer which pipeline mimicks that of OpenGL in a simplified version. It is based on a short computer graphics course written by Dmitry Sokolov. It is written in C++17 and has no dependencies (especially no graphic libraries since the goal was to write one).

Compilation:

git clone https://github.com/nlins8224/SoftwareRenderer.git &&
cd SoftwareRenderer &&
mkdir build &&
cd build &&
cmake ../src &&
make && 
./renderer ../obj/head.obj

The rendered image is saved to output.tga in build

Example Images:

PhongShader

GouraudShader

DepthShader

TexturedShader

TexturedShader

NormalMappingShader