Check https://github.com/astrand130/Weekend-Raytracer/releases for pre-compiled builds
Yes... this is taking me more than a weekend... There are bugs and I'm not good at math...
- Clone this repository to your' PC
- Open the local folder with CMake as the source directory
- Check/Uncheck optional features and provide a working path to their dependencies
- Generate the project with your' IDE/Compiler of choice
- Compile the generated project
- Marvel at a static image of spheres
- Report the inevitable bugs to the Github Issues page
- Watch in awe as nothing gets fixed
- A C99 Compatible Compiler (at-least recent MSVC's level of support)
- OpenMP support (Optional)
- A Image Viewer that can open and is associated with .HDR images by default (Recomended)
- Open Image Denoise https://github.com/OpenImageDenoise/oidn (Optional)
- Write Image
- Vector Math
- Rays
- Multi-threading
- Spheres
- Generic Shape
- Scenes
- Plane (Needs fixing)
- Anti-aliasing
- Diffuse
- Generic Material
- Metal
- Glass (Needs fixing)
- Emission
- Denoiser Implimentation
- Tone-mapping
- Dynamic Camera (Needs fixing)
- Defocus
- Random Scene
- Scene Loader
- Scene Creator
- Triangle Meshes
- Textures
- Planes don't appear outside of indirect lighting... for some reason
- Glasss lacks fresnel... and pretty much all physical acuracy
- Dynamic camera yeets into another plane of existence
- Has only been tested on Windows x64 with MSVC
https://twitter.com/Peter_shirley
https://www.amazon.com/Ray-Tracing-Weekend-Minibooks-Book-ebook/dp/B01B5AODD8