Skip to content

A software rendering demo created by following ssloy's tutorial

License

Notifications You must be signed in to change notification settings

taiypeo/tinyrenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tinyrenderer

A rendering demo made by following ssloy's tutorial.

SFML is the only dependency, it is only used to save the software-rendered image.

Features

  • Line rendering
  • Triangle rendering
  • Shaders
  • Phong reflection
  • Normal mapping
  • Linear transformations
  • Darboux frame normal mapping
  • Shadows
  • Ambient occlusion

Examples

diablo head

Building

  1. Download SFML using your package manager. Example:
sudo pacman -S sfml
  1. Build the project by running
cmake . && make

Running

./raycaster.out

This will create a result.png image with the rendered scene.

About

A software rendering demo created by following ssloy's tutorial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published