47473a3a08
Fix raytracer bugs: BVH traversal, AABB transforms, root selection, and shading
...
- BVH: transform AABB using all 8 corners, fix leaf node traversal to check all primitives
- Node: reset AABB from primitive before transform, compute distance in world space
- Primitives: correct quadratic root selection (pick smallest positive), fix t-guards for Circle/RectangleXY, fix Torus AABB orientation
- Ray: fix random_unit_vec to cover all octants, compute reflection outside light loop, add indirect diffuse GI
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-13 11:45:54 +00:00
fa31d18c12
1. Camera movable with mouse and keyboard 2. GUI runs in separate thread 3. Improvement to GUI widgets 4. Fixes to BVH
2026-03-08 20:13:34 +00:00
d64085461a
update readme
2026-02-23 14:11:55 +00:00
79493b8924
update readme
2026-02-23 14:11:29 +00:00
e143a4b2ce
Sick ass images
2023-12-04 05:34:00 -05:00
5fe2e4a4e6
Sick ass cornel box
2023-12-04 03:49:20 -05:00
daed0ef0b9
More gui options!
2023-12-03 22:45:49 -05:00
9276088b4b
fix
2023-12-03 22:13:26 -05:00
0eff7fc694
propper multithreading
2023-12-03 22:12:46 -05:00
d8488f24f7
BVH and rays complete
2023-12-02 21:52:59 -05:00
d89e7f4951
Bvh added
2023-12-01 16:37:50 -05:00
ba45fcadb7
cleanup
2023-11-30 11:56:08 -05:00
3afe51c4c7
bvh!
2023-11-29 20:46:35 -05:00
f7eaaabe93
Implemented get_aabb for primitive
2023-11-29 11:43:29 -05:00
d12eace0b2
Implementing bounding boxes
2023-11-29 11:20:01 -05:00
6dbc33b3af
cleanup
2023-11-28 23:26:39 -05:00
076498b3c6
Added reflection material
2023-11-28 23:26:29 -05:00
e756a001e9
Fixed meshes
2023-11-28 18:21:54 -05:00
055d14fb23
triangle and fix cube normals
2023-11-28 17:10:21 -05:00
144763d4d4
diffusion lighting
2023-11-28 17:10:07 -05:00
a831a92232
cleanup
2023-11-28 17:09:50 -05:00
776bfb57f2
Modelling changes
2023-11-28 17:09:35 -05:00
2bc964cd2d
Integrated raytracing into ray class
2023-11-28 13:23:13 -05:00
62e62df2cc
Active light flag
2023-11-28 13:22:58 -05:00
f2a127ace7
Moved node & material to own files
2023-11-28 13:22:41 -05:00
6b5f54d14d
Added bounding boxes to own file for BVH
2023-11-28 13:22:04 -05:00
2757ce9730
Added all new primitives
2023-11-27 21:37:00 -05:00
5aa73bcc1a
Set up intersection correctly
2023-11-27 16:51:53 -05:00
e48bc02daa
Added scene editor
2023-11-26 20:49:09 -05:00
eeae148fd5
Annotated code
2023-11-26 19:02:27 -05:00
8ab9be8056
No warns
2023-11-26 07:56:36 -05:00
2e70fc9a68
Shadows, New rays and niceness
2023-11-26 04:19:25 -05:00
4e67bbef8d
Fixed primitives and working towards view matrix
2023-11-25 21:15:46 -05:00
5bd8981270
Nicer scene
2023-11-25 21:15:27 -05:00
4721a3cc09
Changed to f64 floating point
2023-11-25 14:35:11 -05:00
348be665c9
Drawing optimisations
2023-11-25 13:22:54 -05:00
055f3b6a71
Wacky primitives
2023-11-25 13:22:36 -05:00
045c3a8beb
Scripting in gui
2023-11-25 13:22:13 -05:00
b737e35de8
Added dimensionless camera
2023-11-25 13:21:24 -05:00
137fb9f6d7
Changed UI and integrated rays into camera
2023-11-25 03:15:59 -05:00
ab284e8e98
Fixed camera
2023-11-25 00:04:41 -05:00
ccac1f414d
Added torus
2023-11-24 22:35:20 -05:00
1fbcb8f79b
gitignore
2023-11-24 22:34:00 -05:00
c642572b9f
Added Torus and Steiner Surface
2023-11-24 22:33:55 -05:00
230a28691c
Changed name for scene
2023-11-24 22:33:33 -05:00
525fbaaef6
Added safter error handling
2023-11-20 23:37:55 -05:00
91bda4a56f
Added cylinder primitive
2023-11-20 21:15:57 -05:00
6d332199e1
Moved ray intersection code into ray class
2023-11-20 20:19:38 -05:00
512f81031b
Massive cleanup for state.rs
2023-11-20 20:11:34 -05:00
5e86bc2df3
Cleaned up imports
2023-11-20 20:04:47 -05:00