A simple, educational raycasting engine implemented using Microsoft Direct2D for 2D rendering and SDL 3 for window management and input handling.
This project is a direct implementation of the classic raycasting technique used in games like Wolfenstein 3D, demonstrating how a 3D environment can be rendered using only 2D APIs.
To successfully clone, build, and run this project, you need the following environment:
| Requirement | Version / Platform |
|---|---|
| Operating System | Windows 10 or 11 |
| IDE/Compiler | Visual Studio 2022 (with Desktop development with C++ workload installed) |
Note
Running the SetupProject.bat file will execute a PowerShell script to automatically download and install the required SDL 3 dependencies.
This project was built using techniques and concepts from the following resources:
[1] L. Vandevenne, “Raycasting,” Lode’s Computer Graphics Tutorial, n.d. [Online]. Available: https://lodev.org/cgtutor/raycasting.html. Accessed: Dec. 8, 2025.
[2] T. van der Berg, “adventure3d: Simple raycaster with SFML,” GitHub, 2016. [Online]. Available: https://github.com/tmsbrg/adventure3d. Accessed: Dec. 8, 2025.
