README.md aktualisiert
This commit is contained in:
parent
218a0340bc
commit
c078b36df8
1 changed files with 7 additions and 1 deletions
|
@ -58,3 +58,9 @@ 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.
|
||||
|
||||
### 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
|
Loading…
Reference in a new issue