Commit graph

18 commits

Author SHA1 Message Date
c062e6107a removed all mutable update code from Camera, now Update() needs to be called manually
made Renderer methods const, so redner threads cannot accidentally step on each others feet
2024-01-05 00:43:17 +01:00
e1360466de Ray class now contains some of the hit code
Rectangle class added
2024-01-04 12:44:22 +01:00
97784e54ae made camera movable 2023-12-31 14:47:27 +01:00
dff32371d7 added origin to Vec3 2023-12-31 13:47:27 +01:00
d49e7d0300 fixed reflectance in Dielectric 2023-12-31 13:47:03 +01:00
3b92603141 added Dielectric (glass) material 2023-12-31 00:28:45 +01:00
79869930cf added Materials
Lambertian: scatter ray randomly with absorption

Metal: reflect ray with absorption
2023-12-30 14:01:45 +01:00
aaae4a8196 updated rand 2023-12-30 12:37:58 +01:00
fa90f444ef changed philox to rand 2023-12-30 12:37:27 +01:00
98f0414357 changed philox to rand 2023-12-30 12:37:06 +01:00
ec40eb11c1 added Philox random gen 2023-12-29 10:59:06 +01:00
dabddf8e12 chapter 8 done 2023-12-27 20:18:52 +01:00
29832e8f1b moved rendering code into own class
implemented antialiasing using random subsampling
2023-12-27 20:14:29 +01:00
882918f09b removed image.ppm from repo 2023-12-27 19:46:29 +01:00
30f24adf2a moved render function into camera 2023-12-27 17:54:48 +01:00
354df5f76f added interval class 2023-12-27 17:44:13 +01:00
40951c3bbd finished 6.7 2023-12-27 17:23:35 +01:00
a3e1542250 init commit 2023-12-23 22:56:27 +01:00