Commit Graph

  • 47473a3a08 Fix raytracer bugs: BVH traversal, AABB transforms, root selection, and shading main Adam French 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 Adam French 2026-03-08 20:13:34 +00:00
  • d64085461a update readme Adam French 2026-02-23 14:11:55 +00:00
  • 79493b8924 update readme Adam French 2026-02-23 14:11:29 +00:00
  • e143a4b2ce Sick ass images STP 2023-12-04 05:34:00 -05:00
  • 5fe2e4a4e6 Sick ass cornel box STP 2023-12-04 03:49:20 -05:00
  • daed0ef0b9 More gui options! STP 2023-12-03 22:45:49 -05:00
  • 9276088b4b fix STP 2023-12-03 22:13:26 -05:00
  • 0eff7fc694 propper multithreading STP 2023-12-03 22:12:46 -05:00
  • d8488f24f7 BVH and rays complete STP 2023-12-02 21:52:59 -05:00
  • d89e7f4951 Bvh added STP 2023-12-01 16:37:50 -05:00
  • ba45fcadb7 cleanup STP 2023-11-30 11:56:08 -05:00
  • 3afe51c4c7 bvh! STP 2023-11-29 20:46:35 -05:00
  • f7eaaabe93 Implemented get_aabb for primitive STP 2023-11-29 11:43:29 -05:00
  • d12eace0b2 Implementing bounding boxes STP 2023-11-29 11:20:01 -05:00
  • 6dbc33b3af cleanup STP 2023-11-28 23:26:39 -05:00
  • 076498b3c6 Added reflection material STP 2023-11-28 23:26:29 -05:00
  • e756a001e9 Fixed meshes STP 2023-11-28 18:21:54 -05:00
  • 055d14fb23 triangle and fix cube normals STP 2023-11-28 17:10:21 -05:00
  • 144763d4d4 diffusion lighting STP 2023-11-28 17:10:07 -05:00
  • a831a92232 cleanup STP 2023-11-28 17:09:50 -05:00
  • 776bfb57f2 Modelling changes STP 2023-11-28 17:09:35 -05:00
  • 2bc964cd2d Integrated raytracing into ray class STP 2023-11-28 13:23:13 -05:00
  • 62e62df2cc Active light flag STP 2023-11-28 13:22:58 -05:00
  • f2a127ace7 Moved node & material to own files STP 2023-11-28 13:22:41 -05:00
  • 6b5f54d14d Added bounding boxes to own file for BVH STP 2023-11-28 13:22:04 -05:00
  • 2757ce9730 Added all new primitives STP 2023-11-27 21:37:00 -05:00
  • 5aa73bcc1a Set up intersection correctly STP 2023-11-27 16:51:53 -05:00
  • e48bc02daa Added scene editor STP 2023-11-26 20:49:09 -05:00
  • eeae148fd5 Annotated code STP 2023-11-26 19:02:27 -05:00
  • 8ab9be8056 No warns STP 2023-11-26 07:56:36 -05:00
  • 2e70fc9a68 Shadows, New rays and niceness STP 2023-11-26 04:19:25 -05:00
  • 4e67bbef8d Fixed primitives and working towards view matrix STP 2023-11-25 21:15:46 -05:00
  • 5bd8981270 Nicer scene STP 2023-11-25 21:15:27 -05:00
  • 4721a3cc09 Changed to f64 floating point STP 2023-11-25 14:35:11 -05:00
  • 348be665c9 Drawing optimisations STP 2023-11-25 13:22:54 -05:00
  • 055f3b6a71 Wacky primitives STP 2023-11-25 13:22:36 -05:00
  • 045c3a8beb Scripting in gui STP 2023-11-25 13:22:13 -05:00
  • b737e35de8 Added dimensionless camera STP 2023-11-25 13:21:24 -05:00
  • 137fb9f6d7 Changed UI and integrated rays into camera STP 2023-11-25 03:15:59 -05:00
  • ab284e8e98 Fixed camera STP 2023-11-25 00:04:41 -05:00
  • ccac1f414d Added torus STP 2023-11-24 22:35:20 -05:00
  • 1fbcb8f79b gitignore STP 2023-11-24 22:34:00 -05:00
  • c642572b9f Added Torus and Steiner Surface STP 2023-11-24 22:33:55 -05:00
  • 230a28691c Changed name for scene STP 2023-11-24 22:33:33 -05:00
  • 525fbaaef6 Added safter error handling STP 2023-11-20 23:37:55 -05:00
  • 91bda4a56f Added cylinder primitive STP 2023-11-20 21:15:57 -05:00
  • 6d332199e1 Moved ray intersection code into ray class STP 2023-11-20 20:19:38 -05:00
  • 512f81031b Massive cleanup for state.rs STP 2023-11-20 20:11:34 -05:00
  • 5e86bc2df3 Cleaned up imports STP 2023-11-20 20:04:47 -05:00
  • fe24f207f8 Removed compiler flags STP 2023-11-20 20:04:36 -05:00
  • fcb6695a0d Removed Intersection::new as it was never used STP 2023-11-20 20:04:22 -05:00
  • 47276e1bdc Fixed rendering test.rhai STP 2023-11-20 00:14:00 -05:00
  • 1afb1a8e19 Adding test files STP 2023-11-19 21:39:24 -05:00
  • 3dbbb67536 Adding scripting language STP 2023-11-19 21:39:03 -05:00
  • f31ebb06bd Working scripting STP 2023-11-19 15:33:04 -05:00
  • 7d04822b1f Readme STP 2023-11-19 12:24:00 -05:00
  • f0843c8869 added clone to light STP 2023-11-19 12:23:48 -05:00
  • 4d097844ca added rhai STP 2023-11-19 12:22:16 -05:00
  • 53b1fa5d2d Added clone STP 2023-11-19 12:22:00 -05:00
  • edb9ff8c53 Added gui controls for camera dbugging STP 2023-11-18 14:31:47 -05:00
  • 9d6becb851 Rust uses degrees? STP 2023-11-18 13:47:15 -05:00
  • ddb4603d07 Fixing aspect ratio and fov STP 2023-11-18 13:14:56 -05:00
  • 9866679dc7 Fixed out of bounds error STP 2023-11-17 21:22:04 -05:00
  • 93621f36ed Fixed out of bounds error STP 2023-11-17 21:21:34 -05:00
  • 0c1313a913 Added multi-threading, but doesn't seem to be as fast? STP 2023-11-17 21:16:27 -05:00
  • 079dfac48f Added multi-threading, but doesn't seem to be as fast? STP 2023-11-17 21:15:20 -05:00
  • f36fec488d Bounding volume heirarchy to be implemented STP 2023-11-17 21:05:30 -05:00
  • 0a0e5cc55a Working mutex on pixels STP 2023-11-17 21:04:27 -05:00
  • 87e82e4eea Changed Box to be Cube as it was interfering with Box STP 2023-11-17 18:37:40 -05:00
  • ab3705d575 Changed to unit vectors STP 2023-11-17 15:11:08 -05:00
  • 7d3426254b Refactored event handling STP 2023-11-17 15:07:22 -05:00
  • cba39b1b53 Added background pixels STP 2023-11-17 14:25:59 -05:00
  • 09f613f59f Changed colour ray to an optional return STP 2023-11-17 14:15:50 -05:00
  • 054a3d459f Added epsilon to t to ensure rayremains within box STP 2023-11-17 14:11:22 -05:00
  • cf56edace6 Added Unit wrapper for normals STP 2023-11-17 14:02:18 -05:00
  • 9383ef5bbf Working realtime tracing STP 2023-11-16 17:14:24 -05:00
  • a80da71455 Added inverse matrix to camera STP 2023-11-16 01:30:35 -05:00
  • 94aea2678c Working imgui STP 2023-11-16 01:21:34 -05:00
  • 362c5160f4 wgpu now working STP 2023-11-15 19:50:13 -05:00
  • 4762edbe03 Added windowing system and eventloop STP 2023-11-15 16:57:02 -05:00
  • 80fcc6c8bc Removed pixels Finished raytracer Reimplementing imgui STP 2023-11-15 16:56:19 -05:00
  • 2e69164dde Added phong shading STP 2023-11-13 01:26:59 -05:00
  • 2c65a48cb2 Added scene, raytracer, pixel display and lights STP 2023-11-13 00:42:23 -05:00
  • 29e22a0afa implementing shaders STP 2023-11-13 00:41:49 -05:00
  • 15c39e3c05 used pixels instead of state STP 2023-11-12 20:21:47 -05:00
  • 83e45b6860 Implemented mesh STP 2023-11-12 15:11:37 -05:00
  • 0daa6defb9 Added box primitive STP 2023-11-12 13:48:25 -05:00
  • 1b708049a9 fixed lifetimes STP 2023-11-12 05:11:11 -05:00
  • 04bc278f4a Added sphere, circle, cone STP 2023-11-12 03:47:19 -05:00
  • 9c863dc8bf Added sphere, circle, cone STP 2023-11-12 03:47:03 -05:00
  • dfc5d1ad23 Added primitives STP 2023-11-12 02:06:46 -05:00
  • eab69336a1 first working triangel STP 2023-11-11 20:32:44 -05:00
  • b4bc726fee fuck what I wanted to do STP 2023-11-11 19:34:51 -05:00
  • 5492d63ff6 Added display.rs STP 2023-11-11 18:13:57 -05:00
  • 214cc1de40 Added program class for generic programs STP 2023-11-11 18:13:37 -05:00
  • dbbf4bf110 Completed challange 2 STP 2023-11-11 12:02:15 -05:00
  • 6ff33649b1 Added rendering pipeline and window STP 2023-11-11 11:34:08 -05:00
  • 943f54a4b8 Added ray module STP 2023-11-11 00:41:03 -05:00
  • ae9f35d116 added all modules to be used STP 2023-11-11 00:40:50 -05:00