30 Commits

Author SHA1 Message Date
e6db61543b zigrtiow: commit example test w/ threads. 2023-01-15 11:55:59 -08:00
b432e9a6dd zigrtiow: create scene from book cover. 2022-08-14 12:18:55 -07:00
62317d57ae zigrtiow: implement depth of field. 2022-08-14 11:36:50 -07:00
8d92cc861e zigrtiow: placeable camera and helpers for creating materials. 2022-08-13 20:59:21 -07:00
f2ade1eee2 zigrtiow: partially configurable camera. 2022-08-13 20:35:15 -07:00
a4baedefec zigrtiow: hollow glass sphere. 2022-08-13 17:25:51 -07:00
8adf1bcadb zigrtiow: some refraction with dielectric. 2022-08-13 17:17:35 -07:00
aea437785a zigrtiow: dielectric w/o internal reflection. 2022-08-13 17:03:08 -07:00
91fd65259c zigrtiow: alloc image on heap to enable larger images. 2022-08-09 21:27:28 -07:00
e5ffe87192 zigrtiow: multithreaded renderer. 2022-08-09 21:18:02 -07:00
ac73d13fb0 zigrtiow: add fuzzy metal reflections. 2022-08-06 08:17:26 -07:00
6b4be0ed1e zigrtiow: add metal material. 2022-08-06 08:14:15 -07:00
85b87a6854 zigrtiow: helper script for development. 2022-08-06 08:07:19 -07:00
d15a9e6c3e zigrtiow: add material property to hittable. 2022-08-06 08:06:53 -07:00
a2012e6742 zigrtiow: use hemisphere random rays. 2022-08-05 18:37:41 -07:00
6d7998ad9f zigrtiow: fix acne 2022-08-05 18:31:09 -07:00
58646e4142 zigrtiow: gamma correct. 2022-08-04 21:46:08 -07:00
94b0f8355e zigrtiow: shoot child rays for diffuse shading. 2022-08-04 21:43:47 -07:00
e31f5e0a3a zigrtiow: add camera class and support supersampling. 2022-08-04 21:05:52 -07:00
84a0ba2ec6 zigrtiow: use Sphere, Hittable, and HittableList abstractions. 2022-08-04 20:13:31 -07:00
5043a7e526 Simplified hit_sphere. 2022-07-31 16:57:18 -07:00
622c23d5ed Use normals to color sphere. 2022-07-31 16:52:48 -07:00
f2c68e0b6f Use hit_sphere to draw red circle. 2022-07-31 16:47:59 -07:00
287344c272 Minor debug logging change. 2022-07-31 16:36:33 -07:00
8bc5e347cc Use ray casting to draw "blue sky" image. 2022-07-31 16:34:26 -07:00
f0da916a22 Use stub Vec3 / Color to implement gradient image. 2022-07-30 17:11:44 -07:00
386daf5876 zigrtiow: progress indicator. 2022-07-29 20:35:35 -07:00
a4adefdb23 zigrtiow: use signed ints to match C++ example. 2022-07-29 20:31:30 -07:00
f3aace486b Write test ppm image to stdout. 2022-07-28 22:20:42 -07:00
93bfeb9125 Initial zig shell. 2022-07-28 21:40:03 -07:00