Martin
|
1aa33e8e14
|
Fixed rays not interacting with missing volume incorrectly when number of samples > 1
|
2025-01-11 14:59:27 +01:00 |
|
Martin
|
3714389803
|
Fixed gradient
|
2025-01-11 14:39:52 +01:00 |
|
Martin
|
b151e70167
|
Fixed mismatch between coordinates indices (rather min/max values thereof)
|
2025-01-11 13:26:05 +01:00 |
|
Martin
|
4971d693fd
|
Fixed some TODOs, removed old comments
|
2025-01-11 13:25:24 +01:00 |
|
Martin
|
9afd242121
|
Added background colour to consts.h
|
2025-01-11 13:05:18 +01:00 |
|
Martin
|
a5c66fc6ca
|
Removed some old comments
|
2025-01-11 13:00:43 +01:00 |
|
Martin
|
1711bcf756
|
Moved transfer function functions to their own file
|
2025-01-11 11:50:19 +01:00 |
|
Martin
|
417913af2b
|
Determined volume coordinates direction
|
2025-01-11 10:59:08 +01:00 |
|
Martin
|
6f2ed9e4df
|
It finally looks about right but the code urgently needs to be tidied up
|
2025-01-10 21:02:18 +01:00 |
|
Martin
|
7c046a099a
|
Playing around with values to actually get something not fully opaque
|
2025-01-09 23:42:33 +01:00 |
|
Martin
|
09220ced25
|
Added func. for length of vec3
|
2025-01-09 20:36:43 +01:00 |
|
Martin
|
1f335dffc9
|
Added support for float multiplication of vec3
|
2025-01-09 20:36:14 +01:00 |
|
Martin
|
fc2488c578
|
Improved transfer function business
|
2025-01-09 12:17:30 +01:00 |
|
Martin
|
d978630f26
|
Analyzed data for transfer-function purposes
|
2025-01-09 12:17:16 +01:00 |
|
Martin
|
10324eb1ca
|
Made image size bigger cause I am blind
|
2025-01-09 12:16:55 +01:00 |
|
Martin
|
52a47ed302
|
Fixed the newly defined math function to actually work with cuda
|
2025-01-09 12:16:18 +01:00 |
|
Martin
|
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
|
7cf829a20a
|
Used new normalize functions since we already have it
|
2025-01-09 11:54:46 +01:00 |
|
Martin
|
b107a2a6de
|
Added some more useful math functions
|
2025-01-09 11:53:28 +01:00 |
|
Martin
|
cc8ef12508
|
Started doing basic silhoutte shading + changed background to gray
|
2025-01-09 11:43:58 +01:00 |
|
Martin
|
c5b8b6cff0
|
Position the camera better so that the scaled volume is actually visible
|
2025-01-08 22:57:06 +01:00 |
|
Martin
|
d3b88aed30
|
Forgot to do atomic commits so ... booyah
|
2025-01-08 22:43:30 +01:00 |
|
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 |
|