Skip to content

KernelPanic0/CSRayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C# Ray Tracer

A multithreaded raytracer written in C# by following the Ray Tracing In One Weekend Book.

Current Features:

  • Global Illumination
  • Multiple material types:
    • Lambertian
    • Metal
    • DiffuseLight
  • Antialiasing
  • Multithreaded progressive rendering pipeline (using .NET's Tasks)
  • Random ray bouncing with pixel multisampling to best estimate colour.
  • A UI made with C# Raylib and RayGUI bindings

Compiling and Running

The project was built and tested with dotnet version 9.0.110.

To run the project in Visual Studio click on File > New > Project From Existing Code.

If working in VSCode or a different text editor, simply run dotnet run (with -c Release flag to remove debugging slugishness).

Render Showcases

drawing

drawing

About

Ray Tracing in C#

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages