README.md aktualisiert

This commit is contained in:
Turingon 2024-02-27 20:19:49 +00:00
parent 218a0340bc
commit c078b36df8

View file

@ -57,4 +57,10 @@ The second part of the capter involved standardizing the code so that it can pro
<img src="https://raytracing.github.io/images/img-1.05-normals-sphere-ground.png" alt="Second PPM image" width="480"/>
At the end I also added an intervals struct, to further simplify the code.
At the end I also added an intervals struct, to further simplify the code.
### Chapter 6: The Camera struct
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) Using the results of these rays to construct the rendered image