Back to Project Log
[Complete]
Dual Rasterizer
A multithreaded C++ software rasterizer and a DirectX 11 hardware rasterizer in the same application.
Media
Project Overview
The rasterizer is implemented twice, as a software path on the CPU and a DirectX 11 path on the GPU. It reads OBJ models and PNG textures. A key press flips between the two.
Key Features
Threaded software path: Triangles are rasterized across threads, and an AABB test trims the empty spans before shading.
Lambert and Phong: Uses the Lambert and Phong models and supports normal maps.
Hardware path: The DirectX 11 path draws the same scene with transparency and texture filtering.
Culling modes: Back-face, front-face and no culling can be selected on either path.
SYS_SPECS
- Language:
- C++, HLSL
- Technology:
- DirectX 11, SDL2
- Platforms:
- Windows

