432 Commits

Author SHA1 Message Date
63f8fba6a4 rtiow: fix ETA calculation. 2023-01-28 11:28:55 -08:00
5c2786a54d Fix AABB::hit_simd. Add comprehensive AABB hit testing. 2023-01-28 10:38:09 -08:00
2d696932e3 rtiow: add aabb tests and benchmark along with terrible SIMD impl. 2023-01-22 12:03:17 -08:00
27d6c1280b cargo upgrade -p criterion 2023-01-21 16:10:13 -08:00
4506418706 rtiow: remove need for right_child in BVHNode. 2023-01-21 15:59:33 -08:00
1d8aff7905 rtiow: using println and compute ETA in progress. 2023-01-19 21:19:05 -08:00
585ad4805c rtiow: implement triangle renderer that uses BVH internally. 2023-01-19 20:18:51 -08:00
b7f163c5a9 rtiow: minor cleanup. 2023-01-19 20:11:35 -08:00
4ab9425a97 rtiow/vec3: add min/max functions for building new Vec3 from 2 others. 2023-01-19 19:48:59 -08:00
468cba97b3 rtiow: remove unused ray/triangle intersection implementations. 2023-01-18 20:17:05 -08:00
b9ebc186fa rtiow: add new Scale tranformer. 2023-01-18 20:15:06 -08:00
3e9d900f1e Implement Vec3/Vec3 2023-01-18 20:14:49 -08:00
9e81acfda9 Working basic triangle intersection. 2023-01-17 21:32:28 -08:00
f8ec874d13 rtiow: change scene to aid in debugging. 2023-01-15 16:25:31 -08:00
a8756debb8 rtiow: precache some things in Triangles. 2023-01-15 15:29:52 -08:00
a0fb4637b5 rtiow: add ability to render single material triangle mesh. 2023-01-15 15:15:23 -08:00
6069bf9a65 rtiow: don't batch by line, improves parallelism in the long tail. 2023-01-15 12:48:25 -08:00
eeb7813243 rtiow: bump editions to 2021 2023-01-15 11:59:33 -08:00
c644299726 rtiow: update crate use statement in benches. 2023-01-15 11:57:56 -08:00
e6db61543b zigrtiow: commit example test w/ threads. 2023-01-15 11:55:59 -08:00
39eeb79409 rtiow: stub triangles shape created from STLs. 2023-01-15 11:55:11 -08:00
54e72cd81d vec3: helper to create a Vec3 from a single f32. 2023-01-15 11:54:48 -08:00
2d91f781f3 rtiow: remove rustfmt.toml, use systemwide settings. 2023-01-15 11:37:50 -08:00
24e8b4f9cf rtiow: move vec3 to separate crate so it can be used elsewhere. 2023-01-15 11:35:55 -08:00
a12938db95 rtiow: run cargo update and fix build_all_features.sh errors. 2022-09-17 16:51:21 -07:00
4066bf4b85 rtiow: add blox with gloxy edges.
Fixed bug in kdtree that this uncovered.
Marked Hit and it's dependencies as needing to implement the Debug
trait.
2022-09-17 16:45:29 -07: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
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