A naive path tracing implementation written in C#.
Open the solution in Visual Studio 2017, then build and run.
Or build and run with .NET Core:
cd CSharpPathTracer
dotnet run
Then the rendered image is saved to
- Windows:
C:\Users\<your_user_name>\xxx.png
- Linux/macOS:
~/xxx.png
.
Environment: Win10, i7-8700
Sample: 4096, Depth: 10, Time Used: 641.88s
- (In Chinese) Path Tracing
- (In Chinese) BRDF
- (In Chinese) Material: Ideal Diffuse and Ideal Specular
- (In Chinese) Refraction: Glass Material