Real-time raytracer implemented in HLSL. The raytracer runs on the GPU, not the CPU. This allows for parallelization pf pixel calculations on the GPU's shader units, resulting in thousand-fold speedup for the raytracing process, compared to software rendering.
- Adaptive antialiasing (not working too well)
- Keyboard controls
- Parallelization through use of shader units on GPU
- Specular materials (Phong illumination)
- Refractions (Snell's law)
- Reflections
- Soft shadows/shadow ray sampling (Monte Carlo integration)
- Clone this repository.
- Chdir into the project root.
- Type
python make.py init
- Type
python make.py scene0
to run the first scene, orpython make.py scene1
to run the second scene.
NOTE: Scenes can take a long time to load!