177 Commits

Author SHA1 Message Date
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
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
2e13fa317e rtiow: fix doc test error. Add warp to build.
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-09 13:23:57 -08:00
7ad3e82309 rtiow: latest cargo lock.
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-09 13:12:40 -08:00
53398a57b7 rtiow: add noise_explorer_warp. 2019-11-09 13:00:44 -08:00
1ea4ec669a Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers 2019-11-09 12:28:52 -08:00
ea40835125 rtiow: new debugging of spheramid scene. 2019-11-09 12:28:26 -08:00
d9d183b1e5 rtiow: break project into multiple workspaces.
Some checks failed
continuous-integration/drone/push Build is failing
2019-11-09 11:56:33 -08:00
2541b76ae6 Merge branch 'master' of https://git.z.xinu.tv/wathiede/raytracers
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-30 20:06:29 -07:00
c21acb49fe rtiow: move image registration to prevent race condition. 2019-10-30 20:04:48 -07:00
f965a00e0c rtiow: buffer json output, waaay faster. 2019-10-30 20:04:18 -07:00
6bd29a2152 rtiow: include render time in metadata written. 2019-10-30 19:55:31 -07:00
5841ab61e8 rtiow: include scene config in metadata generated in output
New spheramid scene forked from tutorial.
2019-10-26 16:10:29 -07:00
56743b5d77 Add checker texture to tutorial image to spruce things up. 2019-10-26 15:21:45 -07:00
bda42922e4 rtiow: new data.json format to support better debugging. 2019-10-26 12:00:28 -07:00