Commit Graph

108 Commits

Author SHA1 Message Date
Martin Opat 1b32469a69 Renamed sigmoid GUI params 2025-01-15 18:21:43 +01:00
Martin Opat 6085a77c66 Added TODOs in comments 2025-01-15 15:59:07 +01:00
Martin Opat db81b97264 Fixed max temp being wrong for some reason 2025-01-15 15:58:52 +01:00
Martin Opat a1869aba02 Improved silhoutte detection 2025-01-15 15:33:09 +01:00
Martin Opat 3a944138e9 Implemented gradient to actually interpolate the data 2025-01-15 15:22:01 +01:00
Martin Opat 7fa2954e17 Moved and re-implemented gradient 2025-01-15 14:45:38 +01:00
Martin Opat b700216186 Added (more) volume constants 2025-01-15 14:31:41 +01:00
Djairo Hougee 5ccc9b0fe2 (wip): combobox for transfer function 2025-01-14 16:43:48 +01:00
Djairo Hougee db1b1a60ca fix: segfault on resize 2025-01-11 18:37:18 +01:00
Djairo Hougee 9c7dd45858 implemented some more controls 2025-01-11 17:54:01 +01:00
Djairo Hougee dc0175f88a update readme 2025-01-11 16:06:01 +01:00
Djairo Hougee 7f63cbb5a4 merged gui 2025-01-11 16:05:35 +01:00
Djairo Hougee e74d1ef3ba . 2025-01-11 15:46:59 +01:00
Djairo Hougee 6fdfee571a improved fps counter 2025-01-11 15:40:50 +01:00
Djairo Hougee 884b53655b implemented controls 2025-01-11 15:20:39 +01:00
MartinOpat 02cf845ef0
Merge pull request #3 from MartinOpat/ray-casting
Ray casting
2025-01-11 15:15:08 +01:00
Martin Opat 340efd641d Made camera not upside down 2025-01-11 15:13:23 +01:00
Martin Opat 079e0797e9 Removed debug picture exportanig 2025-01-11 15:11:27 +01:00
Martin Opat 3313e8cf84 Played around with transfer function -> needs GUI 2025-01-11 15:09:42 +01:00
Martin Opat 1aa33e8e14 Fixed rays not interacting with missing volume incorrectly when number of samples > 1 2025-01-11 14:59:27 +01:00
Martin Opat 3714389803 Fixed gradient 2025-01-11 14:39:52 +01:00
Martin Opat b151e70167 Fixed mismatch between coordinates indices (rather min/max values thereof) 2025-01-11 13:26:05 +01:00
Martin Opat 4971d693fd Fixed some TODOs, removed old comments 2025-01-11 13:25:24 +01:00
Martin Opat 9afd242121 Added background colour to consts.h 2025-01-11 13:05:18 +01:00
Martin Opat a5c66fc6ca Removed some old comments 2025-01-11 13:00:43 +01:00
Martin Opat 1711bcf756 Moved transfer function functions to their own file 2025-01-11 11:50:19 +01:00
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