This commit is contained in:
Turingon 2024-03-09 19:42:14 +00:00
parent 81ca532446
commit ed4902739a

View file

@ -120,4 +120,11 @@ I oddly enough got this wrong result, when trying to render the hollow ball:
It took me some time to find the error and believe it or not, it was the 3% inaccuracy caused by the fast inverse square algorithm! I had to remove it and replace it with a more simple and accurate but slower calculation. The slow down is small but visible! Now I get:
<img src="" width="480"/>
<img src="" width="480"/>
### 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:
<img src="" width="480"/>