This project was made for my third assignment for the Programming course at the Breda University of Applied Sciences.
The assignment was to make a voxel-based raytracer on the CPU and make a game utilizing the renderer's features as well as a demo showcasing all the voxel-tracer's features.
The project was developed using Visual Studio 2022.
Below you find the contents of the original README:
CONTENTS OF THE PROJECT:
- a ray-traced version of the classic game "Pong" (with a twist)
- a demo with a plane voxel world which has the potential to showcase all the features of the ray-tracer (mostly possible through ImGui)
ABOUT THE GAME:
The ray-traced version of Pong contains a ray-traced core-mechanic, which works by casting a spot-light with a limited angle towards the "pong ball", which makes it more difficult to see where the ball is, but also makes it more difficult to see where the paddles could be.
The game has two paddles, but both paddles need to be either controlled by one player, or you have to play with 2 total players.
GAME CONTROLS:
The top paddle is controlled by the A and D keys (A - move left, D - move right).
The bottom paddle is controlled by the left and right arrow keys (left arrow - move left, right arrow - move right).
ABOUT THE DEMO:
The project contains a demo, which takes place in a rather flat and boring, yet random, voxel world. It showcases all of the materials that have been implemented in these 8 weeks, but it also has the capability to showcase all of the ray-tracer's features.
In order to enable or disable specific features of the ray-tracer in this demo showcase, please use the "Debug UI" ImGui Window which is only present in this demo (or in Debug mode in the Pong game).
230453_BlockC_Project_Showcase.mp4
voxpopuli GitHub repository: https://github.com/jbikker/voxpopuli
"This template is intended for students of Breda University.
Code is fully public domain. Use as you please.
Contact me at bikker.j@gmail.com."
https://polyhaven.com/a/kloppenheim_02_puresky ----- Main HDR Sky-Dome
https://github.com/jbikker/bvh_article/blob/main/assets/sky_19.hdr ----- Back-up/old HDR Sky Dome