My own Ray Tracer based on the Cherno's ray tracing series (here). Multiple features added on my own from e.g. the Ray Tracing in One Weekend Series (here).
It currently supports:
- Spheres and triangles as geometry primitives.
- Lambertian diffuse materials.
- Metallic reflective materials.
- Emissive Materials.
- Dielectric materials and refraction, using Schlick approximation for reflections on dielectric surfaces.
- Textures.
In the future I want to add:
- BVH.
- Support for triangluated 3D models.
- GPU ray tracing.
Supports Windows 10/11 and Visual Studio 2022. Vulkan SDK required.
- Clone recursively:
git clone --recursive https://github.com/FredrikH1/RayTracer.git
- Run
scripts/Setup.bat
- Open
RayTracing.sln
and hit F5 (might need to change configuration to Release or Dist first, Debug is slow)