194 Commits

Author SHA1 Message Date
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
4e62975d56 rtiow: fixed width formatting when printing Vec3. 2023-02-02 19:46:32 -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
4e6e9bf78a rtiow: cargo update. 2023-01-30 19:57:57 -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
2c490b7e83 vec3: inline many methods for major performance improvement. 2023-01-28 11:29:19 -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
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
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
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
81540cd484 rustfmt: add config to format code in doc comments. 2021-07-17 09:04:54 -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
3fb564ff19 More rand version bump.
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-13 17:46:45 -07:00
d1a04b9b0c Cleanup lint.
Some checks failed
continuous-integration/drone/push Build is failing
2021-06-04 14:45:53 -07:00