Skip to content
CPU Software Rasterizer project made with SDL
C++
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
dependencies ZELDA WITH SOUND COMPLETED ! 32 and 64 bits spported Jan 19, 2018
doc ClassDiagram added Jan 29, 2018
include Update key history system Jan 29, 2018
screenshots Update Readme, removing wave scene, adding screenshots, making the pr… Jan 29, 2018
src Update Readme, removing wave scene, adding screenshots, making the pr… Jan 29, 2018
vs2017
.gitignore Adding multiple platform build (x64 and x86) Jan 15, 2018
README.md Update README.md Mar 17, 2018
_config.yml

README.md

Software Rasterizer

Here is our CPU Software Rasterizer project made during our first Game Programming year. We had 6 weeks to make it in a group of 2.

Content

The project is divided into 7 main features :

  • Z-Buffer
  • Phong (Per-Vertex)
  • Blinn-Phong (Per-Pixel)
  • Wireframe with Backface Culling
  • Bilinear filtering
  • Alpha-Blending
  • Anti-aliasing

There is an hidden "konami code" in the documentation which start a secret animation.

Code Architecture

Here is a class diagram of our project alt text

How to build it

If you plan to build our project in optimal conditions, you should have :

  • Windows
  • Visual Studio 2017
  • C++ 17

Libraries are included to the project, you don't need to setup anything, just press play. 64-bits and 32-bits systems are both supported (Debug and Release mode)

External dependencies

For this project we used some external libraries :

  • SDL2 to draw pixels on screen
  • SDL2_ttf to draw UI
  • SDL2_Image to import PNG files
  • IrrKlang for audio (Yes, somewhere in the project there are some musics)

Screenshots

Z-Buffer

alt text

Phong

alt text

Blinn-Phong

alt text

Wireframe with Backface Culling

alt text

Bilinear filtering

alt text

Alpha-Blending

alt text

Anti-aliasing

alt text

Secret animation (Find the konami code in the doc to see it)

alt text

Download

You can’t perform that action at this time.