Commit Graph
38 Commits
Author SHA1 Message Date
Martin 47e23dc12e Updated TODOs 2024-12-30 12:12:58 +01:00
Martin 3c7f4d22da Updated readme.md 2024-12-30 12:12:16 +01:00
Martin e983b3e3a8 Moved illumination into own files 2024-12-30 12:09:45 +01:00
Martin 479c450fef Re-implemented vec3 initializations based on new definition 2024-12-30 12:09:12 +01:00
Martin 32d0f3a0fb Added constants + exported external variables 2024-12-30 12:08:29 +01:00
Martin 8e4c5290d7 Re-implemented vec3 constructor to allow for uninitialized declaration (cuda does not allow dynamic intialization) 2024-12-30 12:08:08 +01:00
Martin 41cb852a29 Removed unnecessary -I tag from makefile 2024-12-30 10:51:34 +01:00
Martin 8dca8938ac Added illumination library 2024-12-30 10:48:15 +01:00
Martin be918c5898 Exported ray-caster into its own file 2024-12-30 10:47:51 +01:00
Martin af7e899880 Exported phong into its own file 2024-12-30 10:46:46 +01:00
Martin 77c0ac4933 Also added a Color3 alias 2024-12-30 10:45:44 +01:00
Martin 31514dd705 Renamed what are actually points to use Point3 instead of Vec3 2024-12-30 10:43:52 +01:00
Martin fa49f7eb71 Added a point alias to vec3 2024-12-30 10:42:31 +01:00
Martin 98935c34e4 Exported more constants and removed old code 2024-12-30 10:23:02 +01:00
Martin c7a871d9a4 Added a vec3 constructor from array 2024-12-30 10:17:32 +01:00
Martin 865cc4bcf0 Added += etc. operators to Vec3 2024-12-30 10:14:46 +01:00
Martin d04fade035 Knocked off a few TODOs 2024-12-30 10:11:46 +01:00
Martin 8f23b7edec Exported constants to their own file 2024-12-30 09:48:27 +01:00
Martin daf19578e7 Tried using DVR on actual data 2024-12-29 21:23:58 +01:00
Martin f0c6141f2c Merging branches 2024-12-28 11:36:23 +01:00
Martin ae599a3659 Basic exampe of phong + ray-casting dvr finally works ... though unfortunatelly, loooots of TODOs still 2024-12-23 22:31:36 +01:00
Martin 7fd6944f53 Again, renamed stuff for consistency's sake 2024-12-23 22:17:50 +01:00
Martin 79d0587d97 Renamed var. for consistency with sphere.h 2024-12-23 22:16:22 +01:00
Martin 3dc6c8e05f Added sampling to volume sampling (for the sphere - but technically general) 2024-12-23 22:14:36 +01:00
Martin dfeb8af49e Added (simple) gradient for (simple) phong illumination purposes 2024-12-23 22:04:43 +01:00
Martin a1c6ab16ab Added cross-product to vector implementation 2024-12-23 22:01:09 +01:00
Martin 94e82787e1 Renamed old main and moved to tests folder 2024-12-23 21:53:39 +01:00
Martin ea5f288665 Updated .gitignore 2024-12-23 21:51:28 +01:00
Martin 08b6131825 Added simple volume generation into sphere.h for debugging 2024-12-23 21:50:29 +01:00
Martin f68d6eb6a9 Updated cuda install guide 2024-12-23 19:10:34 +01:00
Martin 962a1c002b Updated cuda install guide 2024-12-23 19:10:26 +01:00
Martin eea25d0429 Added .gitignore 2024-12-23 19:06:33 +01:00
Martin ed3adbd4c4 Added makefile 2024-11-14 18:02:32 +01:00
Martin 1974d7bcc0 Refactored functionality into separate files 2024-11-14 17:54:43 +01:00
Martin efb58fba30 Moved tests 2024-11-14 17:37:14 +01:00
Martin 0bdb7195de Added a few clearing-up code tweaks 2024-11-14 12:17:09 +01:00
Martin c8e17dfe4f Merge branch 'master' 2024-11-14 12:12:12 +01:00
Martin 34971311cb Initiall commit 2024-11-14 12:05:54 +01:00