Matthew Gordon
|
cb67362ad4
|
Break material module up into multiple files
|
2020-06-11 22:28:53 -04:00 |
Matthew Gordon
|
90bb7d84af
|
Big rijiggering of types
|
2020-06-11 22:13:51 -04:00 |
Matthew Gordon
|
01259e1e55
|
Upgrade quickcheck_macros to 0.9
|
2020-05-22 21:12:36 -04:00 |
Matthew Gordon
|
c02ad9637d
|
Upgrade itertools to 0.9
|
2020-05-22 21:12:09 -04:00 |
Matthew Gordon
|
3c9d968f7e
|
Compile for "native" CPU type.
|
2020-05-22 21:06:07 -04:00 |
Matthew Gordon
|
8bc2c4b229
|
Upgrade to nalgebra 0.21
|
2020-05-22 21:05:30 -04:00 |
Matthew Gordon
|
ec1ee394a9
|
Add documentation for BoundingVolumeHierarchy
|
2020-04-24 00:32:16 -04:00 |
Matthew Gordon
|
1d9baf1f05
|
Add some documentation for mesh module
|
2020-04-24 00:31:15 -04:00 |
Matthew Gordon
|
8ee1f3a004
|
Add a bunch of documentation to the raycasting module
|
2020-04-23 23:58:35 -04:00 |
Matthew Gordon
|
c1d8044eb8
|
Add documentation for partial_render_scene()
|
2020-04-23 23:19:21 -04:00 |
Matthew Gordon
|
63afdfa36e
|
Make the camera module private and just re-export partial_render_scene()
|
2020-04-23 23:16:50 -04:00 |
Matthew Gordon
|
c3902d3221
|
Use rust nightly for Github actions build
|
2020-04-23 22:03:58 -04:00 |
Matthew Gordon
|
2a77bac0cc
|
Add a proper description to the README.md and include it in lib.rs
|
2020-04-23 21:44:01 -04:00 |
Matthew Gordon
|
1b66995bdd
|
Replace Vec references with slices in a few places.
|
2020-04-03 23:34:44 -04:00 |
Matthew Gordon
|
c063ff22a4
|
Replace anonymous tuple with tuple struct to improve readability
|
2020-04-03 23:33:06 -04:00 |
Matthew Gordon
|
5fbed4a17f
|
Some minor cleanup recommended by clippy
|
2020-04-03 23:21:38 -04:00 |
Matthew Gordon
|
34232bb7d3
|
Refactor Bsdf to not store references to material struct members
This complicated the Material trait with explicit lifetimes and
had no real benefit.
|
2020-04-03 23:12:40 -04:00 |
Matthew Gordon
|
8570e08923
|
Implement Transform trait for Triangle
Still needs more unit tests.
|
2020-04-03 22:58:00 -04:00 |
Matthew Gordon
|
5df3f81359
|
Implement Transform trait for Plane
Still needs unit tests.
|
2020-04-03 22:57:28 -04:00 |
Matthew Gordon
|
a856fcbc21
|
Make Transform triat use Affine3 instead of the more general Tramsform3
|
2020-04-03 22:56:28 -04:00 |
Matthew Gordon
|
9904d3f06e
|
Fix test model path in benchmark
|
2020-04-03 21:23:38 -04:00 |
Matthew Gordon
|
36a4c6f951
|
Add "stanford bunny" model to repository (for testing)
|
2020-04-03 21:18:16 -04:00 |
Matthew Gordon
|
cf8f5e646b
|
Use Box instead of Arc in BoundingVolumeHierarchy
|
2020-03-27 21:18:47 -04:00 |
Matthew Gordon
|
bbeb39ba5d
|
Replace unnecessary Arcs with Boxes.
|
2020-03-27 20:34:19 -04:00 |
Matthew Gordon
|
50d9848faa
|
Enable debug symbols in benchmarks
For profiling
|
2020-03-19 22:40:17 -04:00 |
Matthew Gordon
|
3afbc600e6
|
Switch to Criterion for benchmarks
|
2020-03-19 22:40:17 -04:00 |
Matthew Gordon
|
4042b266ae
|
Update benchmark
|
2020-03-19 22:40:17 -04:00 |
Matthew Gordon
|
b13cbe316d
|
Add Transform trait and implement for Sphere
|
2020-03-12 21:26:22 -04:00 |
Matthew Gordon
|
fa43552c6f
|
Remove stray debug print
|
2020-02-28 23:27:32 -05:00 |
Matthew Gordon
|
ad2b9247b8
|
Use BoundingVolumeHierarchy to accelerate rendering
|
2020-02-28 23:26:56 -05:00 |
Matthew Gordon
|
2b8794c884
|
Add recursion limit to ray tracing
|
2020-02-28 23:25:51 -05:00 |
Matthew Gordon
|
0574dff685
|
Threads pass back small images instead of sharing large image
|
2020-02-28 21:42:19 -05:00 |
Matthew Gordon
|
a04f51998c
|
Make main rendering loop multithreaded again.
|
2020-02-28 20:53:24 -05:00 |
Matthew Gordon
|
254957c5c3
|
Add another image to README.md
|
2020-02-22 19:51:00 -05:00 |
Matthew Gordon
|
bdd05f3527
|
Refactor main rendering loop to use TileIterator
This removes the old multithreading code, but will be using rayon
soon.
|
2020-02-20 16:47:15 -05:00 |
Matthew Gordon
|
d21d288013
|
Add TileIterator struct
|
2020-02-19 08:04:41 -05:00 |
Matthew Gordon
|
e52c0772b4
|
Remove unused import
|
2020-02-19 08:03:16 -05:00 |
Matthew Gordon
|
87b2f2835a
|
Rename morton_order_value() to morton_order_value_3d()
|
2020-02-19 08:02:36 -05:00 |
Matthew Gordon
|
3c813c4526
|
More work on BoundingVolumeHierarchy
|
2020-02-13 20:24:35 -05:00 |
Matthew Gordon
|
7bd45c8ad2
|
First pass at bounding volume hierarchy
|
2020-02-10 22:23:38 -05:00 |
Matthew Gordon
|
e411f4abb4
|
Start working on morton (z-order sorting)
|
2020-02-10 17:45:12 -05:00 |
Matthew Gordon
|
8508ac1072
|
Add trait for converting real type tu u32
|
2020-02-10 17:15:02 -05:00 |
Matthew Gordon
|
079e02e059
|
Remove some dbg!s
|
2020-02-10 16:54:42 -05:00 |
Matthew Gordon
|
d6b5c87759
|
Create Real trait to replace nalgebra::RealField
Real inherits RealField, but I want to add more to it.
|
2020-02-10 16:52:09 -05:00 |
Matthew Gordon
|
a15eeccdfb
|
Fix code formatting. No change of functionality.
|
2020-02-07 17:05:07 -05:00 |
Matthew Gordon
|
23e8a878c5
|
Move algebra_utils.rs into util module
|
2020-02-07 17:04:42 -05:00 |
Matthew Gordon
|
49bef6f0f4
|
Add Point3Normalizer
|
2020-02-07 17:00:46 -05:00 |
Matthew Gordon
|
259505e93f
|
Add RealFieldNormalizer
|
2020-02-06 17:36:36 -05:00 |
Matthew Gordon
|
c3f3fffc0e
|
Move axis_aligned_bounding_box to util module
|
2020-02-06 17:06:46 -05:00 |
Matthew Gordon
|
65b5e3c45d
|
Create util module and move Interval struct to it
|
2020-02-06 16:49:11 -05:00 |