This is a scanline 3D rasterizer run on the CPU. It goes through each pixel and calculates whether or not it's taken up by a triangle of the mesh. The shadow mapping is done by rendering a depth map from a different perspective and comparing the current depth of the pixel. I first wrote this in JavaScript, then I ported it to C++.
-
Notifications
You must be signed in to change notification settings - Fork 0
JentGent/cpp-software-rasterizer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Scanline 3D rasterizer
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published