A C# raytracer, based on the book Ray Tracing in One Weekend by Peter Shirley, with additional live preview in OpenTK, Wavefront OBJ model loading and a denoiser.
I mainly used this project to learn C# for an upcoming internship. You should choose C/C++ if you care more about performance.
Download the compiled binaries or compile this Project (DeclanRussell/NvidiaAIDenoiser) yourself and add it as a path in the Raytracer constructor. This Denoiser only works well in some cases and makes the image pretty blurry.
Without Denoiser | With Denoiser |
---|---|
![]() |
![]() |
Rendering can be done either in random order or in spiral chunks.
- Basic Raytracer Structure Ray Tracing in One Weekend
- Additional Info Scratchapixel Raytracing