54 Commits

Author SHA1 Message Date
7ec30d8557 rtiow: BVHTriangles faster BVH traversal. 2023-02-12 13:04:08 -08:00
f51d3396f4 rtiow: tweak scenes and cleanup lint 2023-02-12 13:03:01 -08:00
a2f9166b5a rtiow: extend progress interval from 1s -> 5s. 2023-02-12 12:46:53 -08:00
f73a471cb6 rtiow: AABB add hit_distance to return Option<f32> instead of bool. 2023-02-12 12:46:10 -08:00
9188ce17fa rtiow: print BVH stats. 2023-02-11 11:16:24 -08:00
63975bad96 rtiow: BVHTriangles use SAH for division and leave original triangles untouched. 2023-02-10 17:04:23 -08:00
df928e1779 rtiow: aabb add area/grow methods and infinite constructor. 2023-02-10 17:04:01 -08:00
3c28466d68 rtiow: shrink BVHNode to 32 bytes. 2023-02-05 14:15:34 -08:00
a0b79ee2fa rtiow: add commented out failing test. 2023-02-02 20:33:58 -08:00
eea5c7c61e rtiow: better debugging, testing and fix some BVHTriangles bugs. 2023-02-02 19:46:00 -08:00
188b550fb7 rtiow: add simple debugging material. 2023-02-02 16:57:33 -08:00
f7c5f29e67 rtiow: AABB more compact Debug representation. Loosen assertions. 2023-02-02 16:56:43 -08:00
6ab3021403 rtiow: add more rays in bvh_triangles test and better failure logging. 2023-02-01 14:24:24 -08:00
d213e04c11 rtiow: default thread count to half the cores.
This seems to be faster than using both HT buddies.
2023-02-01 14:18:21 -08:00
739b38b4ed rtiow: make compile on aarch64. 2023-01-31 20:48:33 -08:00
5ba5aa5f5d rtiow: cargo fix. 2023-01-30 19:59:40 -08:00
beeb5e479b rtiow: add dragon scene, tune stltest to compare with cuboid.
Refactor enum Model to use strum.
2023-01-30 19:55:28 -08:00
fc1bfa419e rtiow: BVHTriangles add tests comparing results with Cuboid impl. 2023-01-29 19:56:51 -08:00
95827a4a52 rtiow: descend both children in BVHTriangles::hit. 2023-01-29 09:05:16 -08:00
d3dd002883 rtiow: use hand written SIMD hit test. 2023-01-28 13:04:18 -08:00
ef737c6df9 rtiow: squelch kdtree log spam. 2023-01-28 13:04:01 -08:00
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
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
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
39eeb79409 rtiow: stub triangles shape created from STLs. 2023-01-15 11:55:11 -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
78f7ca8956 cargo fmt. 2022-07-28 21:39:00 -07:00
1ca903c64b Setup rustfmt for everything and address cargo clippy. 2022-06-24 15:14:44 -07:00
f846da18ad envmap: cargo fmt. 2021-07-17 08:14:35 -07:00
4cddc8571f panic/foramt lint
All checks were successful
continuous-integration/drone/push Build is passing
2021-06-13 18:44:16 -07:00
d1a04b9b0c Cleanup lint.
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-04 14:45:53 -07:00
bf8b533b15 Version bump rand 2021-05-31 10:10:45 -07:00
a227d54705 rtiow: fix unused-imports build errors.
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-23 15:47:11 -08:00
0249ac6db9 Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-24 08:33:07 -08:00
f6e8477107 rtiow: version bumps. 2019-11-24 08:30:18 -08:00