Commit Graph

  • 9b8eea6f20 Implement Add, Mul, Copy, Clone and Debug for ColourRgbF Matthew Gordon 2019-11-23 20:50:31 -0500
  • f58afb2ded Apply tone mapping to image, not colours Matthew Gordon 2019-11-19 21:32:47 -0500
  • f13b585bfe Shapes can now be colours other than gray Matthew Gordon 2019-11-19 07:43:00 -0500
  • f193fbf84b Added some named colours, mostly to make testing easier. Matthew Gordon 2019-11-17 20:26:57 -0500
  • ad7d0b5f17 Started materials module. Matthew Gordon 2019-11-17 20:26:39 -0500
  • 86e0b04a46 Add some code for dealing with colours. Matthew Gordon 2019-11-15 09:02:00 -0500
  • f4bbe75cf8 Sort modules in lib.rs. No change in functionality. Matthew Gordon 2019-11-14 07:16:11 -0500
  • 98373a1935 Add missing file that should have been in earlier commit Matthew Gordon 2019-11-13 17:48:34 -0500
  • d2fb84191e Add retro (towards camera) direction to IntersectionInfo Matthew Gordon 2019-11-13 17:47:40 -0500
  • c144780fce Fix failed intersection when ray origin is insode sphere Matthew Gordon 2019-11-13 17:45:33 -0500
  • 3c24a084b9 Add another ray-sphere intersection unit test Matthew Gordon 2019-11-13 17:28:43 -0500
  • 700de75337 Reworked ray-sphere intersection which was failing tests Matthew Gordon 2019-11-13 17:25:57 -0500
  • d9af6dad94 Added Phong integrator (actually only computing lambertion yet) Matthew Gordon 2019-11-12 22:11:06 -0500
  • 4f60719523 Correctly render multiple objects instead of just rendeing one Matthew Gordon 2019-11-12 17:25:10 -0500
  • 99c79ea31b Remove some busywork needlessly redrawing window. Matthew Gordon 2019-11-12 16:51:08 -0500
  • 9d47821062 Change memory layout of Image, so it's not drawn upside-down by SDL Matthew Gordon 2019-11-12 16:47:56 -0500
  • 2ec0c133a8 Fixed an unused variable warning Matthew Gordon 2019-11-12 16:47:29 -0500
  • 95631d3708 Fixed some unused imports warnings Matthew Gordon 2019-11-12 16:46:58 -0500
  • 1eb3741b7d Render a basic scene Matthew Gordon 2019-11-12 08:03:29 -0500
  • e9900af986 Some cleanup and added unit test for pixel ray generation Matthew Gordon 2019-11-12 07:31:02 -0500
  • 041c940931 Add Plane struct Matthew Gordon 2019-11-11 22:18:49 -0500
  • 10c8992cf4 Fix bug where camera would iterate past bottom of image. Matthew Gordon 2019-11-11 16:48:40 -0500
  • 326caf151a Start camera module Matthew Gordon 2019-11-11 12:11:10 -0500
  • c059aebe11 Move OutputImage into it's own module Matthew Gordon 2019-11-08 07:52:38 -0500
  • eaf9ba7b2f Create raycasting module Matthew Gordon 2019-11-08 07:32:00 -0500
  • 192857eead Add Sphere struct, Intersect trait, and sphere-ray intersection Matthew Gordon 2019-11-08 07:25:15 -0500
  • 78ea2b2e64 Add another unit test for Ray struct Matthew Gordon 2019-11-08 07:24:50 -0500
  • 3244181a08 Add some missing "pub" qualifiers Matthew Gordon 2019-11-08 07:23:01 -0500
  • 76a7299fb9 Add more unit tests for Ray Matthew Gordon 2019-11-06 17:32:47 -0500
  • 9ebfae5898 Add Ray constructor that ensures direction vector is normalized Matthew Gordon 2019-11-06 17:32:02 -0500
  • ff046808da Throw out my own vector functions and add Ray type with nalgebra Matthew Gordon 2019-11-06 12:56:43 -0500
  • 5a44984779 Add Point2D and Point3D Matthew Gordon 2019-10-24 21:08:58 -0400
  • 7bc7b3520a Implement Mul for f64 * Vector3D Matthew Gordon 2019-10-24 21:00:34 -0400
  • 423be7700d Implement Mul for Vector3D * scalar Matthew Gordon 2019-10-24 20:56:52 -0400
  • 14bae21b80 Implement Mul for f64 * Vector2D Matthew Gordon 2019-10-24 20:51:51 -0400
  • 0cb1157df0 Implement Mul for Vector2D * scalar Matthew Gordon 2019-10-24 20:42:58 -0400
  • 7e5c9d5231 Add Sub trait for Vector2D; add Vector3D with Add and Sub traits. Matthew Gordon 2019-10-24 20:32:46 -0400
  • daee8af0ea Start adding vector types Matthew Gordon 2019-10-23 22:21:32 -0400
  • c81eec9174 Did some refactoring and improved error handling Matthew Gordon 2019-10-23 21:05:17 -0400
  • bc4759dfaa Set up SDL so I can draw the image being rendered in a window Matthew Gordon 2019-10-21 01:40:58 -0400
  • f7139444f5
    Initial commit Matthew Gordon 2019-10-20 22:34:32 -0400