|
|
4b8bd84a84
|
rtiow: cargo update; cargo upgrade
|
2023-02-13 21:00:45 -08:00 |
|
|
|
e19ec20c7b
|
rtiow: Many changes
Add debugging hit DebugHit.
Move some color helpers from mandelbrot to colors mod.
Implement Texture trait for [f32;3]
|
2023-02-13 20:57:10 -08:00 |
|
|
|
deb46acb5a
|
rtiow: fix bug in calculation of t in Scale hitable.
|
2023-02-13 20:55:13 -08:00 |
|
|
|
1076e6dcaf
|
rtiow: BVHTriangles use binning to speed up BVH building.
|
2023-02-12 16:52:07 -08:00 |
|
|
|
7d9750b9d0
|
rtiow: AABB handle infinite bounds better.
|
2023-02-12 16:51:25 -08:00 |
|
|
|
88b8c547e0
|
rtiow: cleanup elapsed time logging.
|
2023-02-12 14:09:11 -08:00 |
|
|
|
ac555beafc
|
rtiow: BVHTriangles use a fixed 100 divisions for split planes.
|
2023-02-12 13:47:29 -08:00 |
|
|
|
0158f9ea15
|
rtiow: BVHTriangles use BVHNode::cost for readability.
|
2023-02-12 13:26:45 -08:00 |
|
|
|
450342c3d4
|
rtiow: BVHTriangles refactor part of subdivide into find_best_split_plane.
|
2023-02-12 13:14:02 -08:00 |
|
|
|
41f9fa2742
|
rtiow: add proptest.
|
2023-02-12 13:05:01 -08:00 |
|
|
|
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 |
|
|
|
cd149755cb
|
rtiow: pretty print CLI options.
|
2023-02-11 11:16:37 -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 |
|
|
|
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 |
|