Commit Graph

28 Commits (master)

Author SHA1 Message Date
Fabien Freling 46f28e9b65 tweak quality 2021-05-28 20:12:56 +02:00
Fabien Freling ac56eed3a2 setup random world 2021-05-28 19:51:05 +02:00
Fabien Freling 3b3cb72dc0 flx max depth 2021-05-27 23:07:07 +02:00
Fabien Freling 2ab82d4c92 add defocus blur 2021-05-27 23:02:42 +02:00
Fabien Freling d6ba8e354c free camera 2021-05-27 22:44:29 +02:00
Fabien Freling 7d830d13d1 add reflectance 2021-05-27 22:12:15 +02:00
Fabien Freling 4a478b08a0 add total internal reflection 2021-05-27 22:03:28 +02:00
Fabien Freling dde1f91f01 add Dielectric material 2021-05-27 21:48:57 +02:00
Fabien Freling a596058a0d add metal fuzziness 2021-05-27 21:28:14 +02:00
Fabien Freling c842fcf713 implement Material as tagged union 2021-05-27 21:19:31 +02:00
Fabien Freling bc3fb54991 add Metal material 2021-05-11 22:52:51 +02:00
Fabien Freling b3c47a914f add Lambertian material 2021-05-11 22:15:09 +02:00
Fabien Freling 3296ea3e81 add alternate diffuse method 2021-05-11 19:11:14 +02:00
Fabien Freling 58f710c967 bounce rays around 2021-05-10 23:30:34 +02:00
Fabien Freling a3df9a7707 only render 1 sample per event loop 2021-04-27 09:05:46 +02:00
Fabien Freling 80fed125b4 display progress bar 2021-04-27 08:30:24 +02:00
Fabien Freling 61627fb76c accumulate pixel values and display each sample run 2021-04-26 23:50:14 +02:00
Fabien Freling b0ce3eecec add multiple samples per pixel 2021-04-26 22:51:49 +02:00
Fabien Freling 79772c0df4 add hittable spheres 2021-04-24 19:24:28 +02:00
Fabien Freling 4c271103b3 optimize hitSphere() 2021-04-24 17:59:17 +02:00
Fabien Freling b6c85bcb91 fix viewport size 2021-04-24 17:53:11 +02:00
Fabien Freling 6a0e48a006 display normal on sphere 2021-04-24 17:45:08 +02:00
Fabien Freling 14c91ed8e5 add system path for SDL2 2021-04-24 16:58:24 +02:00
Fabien Freling 1101f71d8f add red sphere 2020-09-18 13:55:48 +02:00
Fabien Freling 30d841f7c6 add missing sdl.zig 2020-09-17 23:26:25 +02:00
Fabien Freling 73cb93cf2d add blue gradient background 2020-09-05 17:47:20 +02:00
Fabien Freling 9083e0e7f1 add minimal SDL skeleton 2020-08-30 21:59:30 +02:00
Fabien Freling bf927efb97 initial commit 2020-08-29 23:50:38 +02:00