Skip to content

Commit 2b4cce4

Browse files
authored
Update README.md
1 parent b1c0662 commit 2b4cce4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
![photon](https://github.com/user-attachments/assets/207d65ca-114b-4fb7-88da-b002a4943941)
3+
14
# This is Photon
25

36
My little raytracer, written in Rust, was created to gain first experience with Rust. It was fun 🤖
@@ -17,3 +20,14 @@ The output image is being written in the text format PPM to the standard output
1720
```
1821
cargo run > image.ppm
1922
```
23+
24+
# Output
25+
26+
You can easily change the geometry (as long as you want spheres or planes) and the light configuration in main.rs as well as raytracing parameters like
27+
- number of rays per pixel (monte carlo sampling, average value is taken)
28+
- number of rays for each global illumination computation on a surface hit point
29+
- resolution of output image
30+
31+
This is what it renders with the current configuration:
32+
33+
![output](https://github.com/user-attachments/assets/fd2a88be-3d56-4365-8ebf-93d1f728c6ac)

0 commit comments

Comments
 (0)