Commit Graph

82 Commits

Author SHA1 Message Date
Martin Opat 417913af2b Determined volume coordinates direction 2025-01-11 10:59:08 +01:00
Martin Opat 6f2ed9e4df It finally looks about right but the code urgently needs to be tidied up 2025-01-10 21:02:18 +01:00
Martin Opat 7c046a099a Playing around with values to actually get something not fully opaque 2025-01-09 23:42:33 +01:00
Martin Opat 09220ced25 Added func. for length of vec3 2025-01-09 20:36:43 +01:00
Martin Opat 1f335dffc9 Added support for float multiplication of vec3 2025-01-09 20:36:14 +01:00
Martin Opat fc2488c578 Improved transfer function business 2025-01-09 12:17:30 +01:00
Martin Opat d978630f26 Analyzed data for transfer-function purposes 2025-01-09 12:17:16 +01:00
Martin Opat 10324eb1ca Made image size bigger cause I am blind 2025-01-09 12:16:55 +01:00
Martin Opat 52a47ed302 Fixed the newly defined math function to actually work with cuda 2025-01-09 12:16:18 +01:00
Martin Opat ec31f3f897 Nevermind, main is not a host function so the new normalize function does not work there 2025-01-09 12:00:14 +01:00
Martin Opat 7cf829a20a Used new normalize functions since we already have it 2025-01-09 11:54:46 +01:00
Martin Opat b107a2a6de Added some more useful math functions 2025-01-09 11:53:28 +01:00
Martin Opat cc8ef12508 Started doing basic silhoutte shading + changed background to gray 2025-01-09 11:43:58 +01:00
Martin Opat c5b8b6cff0 Position the camera better so that the scaled volume is actually visible 2025-01-08 22:57:06 +01:00
Martin Opat d3b88aed30 Forgot to do atomic commits so ... booyah 2025-01-08 22:43:30 +01:00
Djairo 6f22230ead
Merge pull request #2 from MartinOpat/gui
Gui
2025-01-08 15:24:28 +00:00
Djairo Hougee b3db9a7045 improved cleanup 2025-01-08 00:58:45 +01:00
Djairo Hougee a41b468a61 added a todolist 2025-01-08 00:53:54 +01:00
Djairo Hougee 615c14f3f1 readme update 2025-01-08 00:46:05 +01:00
Djairo Hougee 3d86c3cd1c . 2025-01-08 00:44:42 +01:00
Djairo Hougee ff7638a245 fix: stuff not actually rendering (pretty important) 2025-01-08 00:42:36 +01:00
Djairo Hougee d5a426e0c5 fix: forgor to allocate gpu memory 2025-01-07 13:52:50 +01:00
Djairo Hougee 04defb563f improved cuda error checking 2025-01-06 13:18:19 +01:00
Djairo Hougee edf4d9fd60 added shader 2025-01-05 22:48:09 +01:00
Djairo Hougee 126ef4ace8 feat: cmake + lib 2025-01-03 19:57:39 +01:00
Djairo Hougee c23a33ebef feat (wip): real-time gui with rendering in opengl 2025-01-03 19:57:10 +01:00
MartinOpat c92d0bc2a9
Merge pull request #1 from MartinOpat/ray-casting
Ray casting
2024-12-30 12:15:03 +01:00
Martin Opat 47e23dc12e Updated TODOs 2024-12-30 12:12:58 +01:00
Martin Opat 3c7f4d22da Updated readme.md 2024-12-30 12:12:16 +01:00
Martin Opat e983b3e3a8 Moved illumination into own files 2024-12-30 12:09:45 +01:00
Martin Opat 479c450fef Re-implemented vec3 initializations based on new definition 2024-12-30 12:09:12 +01:00
Martin Opat 32d0f3a0fb Added constants + exported external variables 2024-12-30 12:08:29 +01:00
Martin Opat 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 Opat 41cb852a29 Removed unnecessary -I tag from makefile 2024-12-30 10:51:34 +01:00
Martin Opat 8dca8938ac Added illumination library 2024-12-30 10:48:15 +01:00
Martin Opat be918c5898 Exported ray-caster into its own file 2024-12-30 10:47:51 +01:00
Martin Opat af7e899880 Exported phong into its own file 2024-12-30 10:46:46 +01:00
Martin Opat 77c0ac4933 Also added a Color3 alias 2024-12-30 10:45:44 +01:00
Martin Opat 31514dd705 Renamed what are actually points to use Point3 instead of Vec3 2024-12-30 10:43:52 +01:00
Martin Opat fa49f7eb71 Added a point alias to vec3 2024-12-30 10:42:31 +01:00
Martin Opat 98935c34e4 Exported more constants and removed old code 2024-12-30 10:23:02 +01:00
Martin Opat c7a871d9a4 Added a vec3 constructor from array 2024-12-30 10:17:32 +01:00
Martin Opat 865cc4bcf0 Added += etc. operators to Vec3 2024-12-30 10:14:46 +01:00
Martin Opat d04fade035 Knocked off a few TODOs 2024-12-30 10:11:46 +01:00
Martin Opat 8f23b7edec Exported constants to their own file 2024-12-30 09:48:27 +01:00
Martin Opat daf19578e7 Tried using DVR on actual data 2024-12-29 21:23:58 +01:00
Martin Opat f0c6141f2c Merging branches 2024-12-28 11:36:23 +01:00
Robin dbebb6d9f2 comments 2024-12-27 11:47:44 +01:00
Robin 2c7ea3f624 small fix 2024-12-26 18:08:19 +01:00
Robin 274622157a wrote equivalent python code 2024-12-26 17:34:41 +01:00