README.md aktualisiert

This commit is contained in:
Turingon 2024-02-28 14:30:44 +00:00
parent 75adfbcdb5
commit 139c9f0aaa

View file

@ -63,4 +63,10 @@ At the end I also added an intervals struct, to further simplify the code.
This chapter was yet another simplification of the existing code - the viewport and the camera were moved out of main and got their own struct. The camera struct and the render function have two tasks:
1) Construct and dispatch rays into the world and
2) Use the results of these rays to construct the rendered image
2) Use the results of these rays to construct the rendered image
### Chapter 7: Anti-Aliasing
The images rendered thus far have jagged edges and this is known as aliasing. To soften the edges each pixel gets sampled multiple times and the colour gets averaged. I've spend quite some time on this chapter due to a veeeery small bug in the code. This chapter produces a similar but softer image as before. Here an comparison:
<img src="https://raytracing.github.io/images/img-1.06-antialias-before-after.png" alt="Second PPM image" width="480"/>