391 Commits

Author SHA1 Message Date
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
f4d3129d5a Add TODO to README. 2022-08-04 21:10:16 -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
55af087d69 cargo fmt. 2022-07-28 21:39:14 -07:00
78f7ca8956 cargo fmt. 2022-07-28 21:39:00 -07:00
51185e9e84 Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers 2022-07-01 08:54:19 -07:00
1ca903c64b Setup rustfmt for everything and address cargo clippy. 2022-06-24 15:14:44 -07:00
5e7139f0ba rtchallenge: Address cargo clippy. 2022-06-24 14:54:49 -07:00
665ae244d7 rtiow: get build_all_features.sh working again.
All checks were successful
continuous-integration/drone Build is passing
2022-06-13 21:22:20 -07:00
e574cdb592 Random changes.
Some checks failed
continuous-integration/drone Build is failing
2022-06-11 17:46:26 -07:00
270a7ec349 eoc12: show use of cube. 2021-08-05 20:41:47 -07:00
de6cd0da4d shapes: add AABB boxes with a cube shape. 2021-08-05 20:35:55 -07:00
7a80179f41 eoc11: example illustrating concepts from chapter 11 and extended pattern concepts from chapter 10. 2021-08-01 19:18:46 -07:00
926fffa29f patterns: add ability to nest patterns 2021-08-01 19:08:36 -07:00
9befbd9ad2 matrices: moving another doctest to unit
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-30 21:59:40 -07:00
c882fc81e5 transformations: moving another doctest to unit 2021-07-30 21:58:32 -07:00
1c2caf2cc5 lights: moving another doctest to unit 2021-07-30 21:51:35 -07:00
9006671a26 intersections: moving another doctest to unit 2021-07-30 21:49:48 -07:00
3838efd134 camera: moving another doctest to unit 2021-07-30 21:44:58 -07:00
e3d8988658 matrices: moving another doctest to unit 2021-07-30 21:33:43 -07:00
e4846de25b rays: move tests from doctest to unit. 2021-07-30 21:28:13 -07:00
4352c03d20 tuples: move tests from doctest to unit. 2021-07-30 21:23:56 -07:00
1d5e5a164b materials: move tests from doctest to unit. 2021-07-30 21:21:51 -07:00
f476822bcd shapes: lint 2021-07-30 21:21:16 -07:00
135a519526 shapes: move tests from doctest to unit. 2021-07-30 20:58:05 -07:00
5d6b3e6d57 patterns: move tests from doctest to unit. 2021-07-30 20:00:08 -07:00
3aea76b35c matrices: move tests from doctest to unit. 2021-07-29 20:33:03 -07:00
cd2a4770ca world: move tests from doctest to unit. 2021-07-28 20:23:59 -07:00
5debb16d10 intersections: move tests from doctest to unit. 2021-07-27 21:51:26 -07:00
42e8ebe3bd Implement transparency, reflections and refraction. 2021-07-26 21:46:04 -07:00
1d61f59935 materials: add transparency and refractive_index to Material. 2021-07-25 16:33:03 -07:00
7f36aecf5e world: add reflection to ray tracer. 2021-07-25 16:28:34 -07:00
0c7bbae4a3 rtchallenge: remove disable-inverse-cache feature. 2021-07-25 14:54:00 -07:00
eaae65712b eoc10: example showing concepts from the chapter. 2021-07-25 14:51:33 -07:00
68709da6c2 patterns: implement checker pattern. 2021-07-25 14:46:26 -07:00
77215193fa patterns: implement ring pattern 2021-07-25 14:37:56 -07:00
74fe69188a patterns: add Gradient pattern. 2021-07-25 14:11:44 -07:00
bdcee49d5a patterns: add builder pattern for creating Patterns. 2021-07-25 13:50:13 -07:00