Skip to content

AdamGPrice/Software-Graphics-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Software Graphics Renderer

A 3D Software renderer demo built in C++ without the use of modern graphics libraries. Just using the Windows32 GDI functions to maniplute the windows pixels in the rasterisation stage.

Setup

  1. Clone or download the repository into a directory and open the Visual Studio solution in the src folder and build the project.
  2. Launch inside Visual Studio or by running the project executable.
    • If you get a files missing error. Copy the 'MD2Models' folder to the built project directory 'x64/debug' or 'x64/release'.

Renderer Features

  • Wireframe Model View
  • Object Transformations
    • Translation
    • Rotation
    • Scaling
  • Backface Culling
  • Solid Flat Shading
  • Lighting Sources
    • Ambient
    • Directional
    • Point
    • Spot
  • Diffuse/Specular reflections
    • Phong Lighting Model
  • Rasteriser (Triangle Algorithm)
  • Object Textures (With Perspective Correction)

About

A 3D Software renderer demo built in C++ without the use of modern graphic APIs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published