README.md aktualisiert

This commit is contained in:
Turingon 2024-03-09 19:44:57 +00:00
parent ed4902739a
commit 95c7fcaa33

View file

@ -124,7 +124,13 @@ It took me some time to find the error and believe it or not, it was the 3% inac
### Chapters 10 and 11: Extra camera utilities and depth of field (blur)
I implemented the camera to be movable and also simulated the lens blur effect we see in cameras. I get the following output:
I implemented the camera to be movable and also simulated the lens blur effect we see in cameras. The blur effect can be emulated by implemented the following six steps:
1. The focus plane is orthogonal to the camera view direction.
2. The focus distance is the distance between the camera center and the focus plane.
3. The viewport lies on the focus plane, centered on the camera view direction vector.
4. The grid of pixel locations lies inside the viewport (located in the 3D world).
5. Random image sample locations are chosen from the region around the current pixel location.
6. The camera fires rays from random points on the lens through the current image sample location. I get the following output:
<img src="https://preview.redd.it/more-progress-3-v0-w1iblg591dnc1.png?width=575&format=png&auto=webp&s=68dbbcdf9ae54d625664019f6bd7189367de7be9" width="480"/>