Matias Lavik
160916a09b
Enable other settings by default
2022-10-17 20:17:11 +02:00
Matias Lavik
0be4f53666
Update ACKNOWLEDGEMENTS.txt
2022-10-17 20:09:31 +02:00
Matias Lavik
55650a2eb5
Added (ptional) cubic sampling, to fix staircase effect
2022-10-14 17:24:08 +02:00
Matias Lavik
ebc875aee6
Support multiple cross section objects ( #119 )
...
Support multiple cross section objects
2022-10-14 14:01:53 +02:00
Matias Lavik
dd04467db8
Update ImportSettingsEditorWindow.cs
2022-09-26 21:10:14 +02:00
Matias Lavik
a6171eff57
Fixed packaging script ( #118 )
2022-09-26 21:04:35 +02:00
Matias Lavik
4edea6a84e
SimpleITK upgrade + Linux/MacOS support ( #117 )
...
* Added updated SimpleITK binaries link, now also for Linux and Mac
* Update SimpleITK.md
2022-09-25 20:13:04 +02:00
Matias Lavik
a7203b765e
Runtime Transfer Function editor ( #115 )
...
Created a runtime 1D transfer function editor
Created a runtime colour picker.
Bugfix: You can now open ".ini" files directly.
Bugfix: Loading/clearing transfer function will now automatically refresh the volume rendered object.
Misc. improvements to runtime file dialog.
Packaging script: Read path from argv or raw_input
2022-09-24 20:19:33 +02:00
Matias Lavik
498e5f52b5
Improved 2D transfer function editor ( #113 )
...
* Added movable rects to 2D TF editor
* Priority areas where mouse intersects border
* More jittering (moved to #define)
* Moved TF2D reconstruction out of OnGUI
* Fixed GUI positioning
2022-09-16 19:21:12 +02:00
Matias Lavik
a2e92a4bd1
Restructured volume settings. Added light source as setting. ( #111 )
2022-09-13 22:22:37 +02:00
Matias Lavik
8121d8d05e
Invert normals ( #107 )
...
Invert normals facing away from the camera.
2022-09-13 19:01:24 +02:00
Matias Lavik
ebef854b85
Update README.md
2022-05-29 20:34:27 +02:00
Matias Lavik
a121fc29ed
Merge pull request #99 from vahpy/vahpy-bug-fix
...
Serialised private fields, fixed depth in front-to-back volume rendering
2022-04-08 19:37:49 +02:00
Vahid
e72d3abd03
Fix Private Fields Serialisation + default FB DVR
...
Serializefield for private fields (done for all for future changes). Unity serialises `Public` fields by default, but private fields need explicit serialisation. Otherwise, the settings are discarded in game mode or after restarting unity.
Also, front-to-back is enabled by default.
2022-04-08 08:32:28 +10:00
Vahid
df63ddd78a
Fixed depth in Front-to-Back DVR
...
In front-to-back direct volume rendering, `col` is the total amount of colour that the ray gained in front of the current value of depth. We can't do it in back-to-front DVR, so `src.a > 0.15` is still a proper approach.
2022-04-08 07:52:12 +10:00
Matias Lavik
3d514653de
SimpleITK: DICOM JPEG, NRRD, NIFTI (Windows only) ( #95 )
...
* SimpleITK-based DICOM importer.
* Cleanup: Importer interfaces and factory.
* NRRD and NIFTI import (using SimpleITK)
* Added script for exporting .unitypackage
* Updated documentation.
* Don't use EditorDatasetImporter for RAW import.
* .gitattributes
2022-04-07 18:32:50 +02:00
Matias Lavik
e5fc73a702
Merge pull request #94 from vahpy/dvr-optimisation
...
Front-to-Back Direct Volume Rendering + Minor Performance Optimisation
2022-04-06 11:35:55 +02:00
Vahid
11d279a161
Update CREDITS.md
2022-04-06 00:20:51 +10:00
Vahid
c5b94a0c01
Add optional Front-to-Back DVR + early ray termination
2022-04-06 00:05:12 +10:00
Vahid
20b6a47f1a
Minor performance optimisation
2022-04-05 23:42:10 +10:00
Matias Lavik
094729f262
Create TestChecklist.md
2022-03-24 21:44:57 +01:00
Matias Lavik
0985225f74
Merge pull request #91 from mlavik1/raymarching-improvements
...
Raymarching improvements
2022-03-24 21:33:40 +01:00
Matias Lavik
776639a5ea
Removed unnecessary branch
2022-03-24 21:01:18 +01:00
Matias Lavik
4a9a79cf6b
Fixed depth write: Write large depth value if no ray hit.
2022-03-24 20:28:31 +01:00
Matias Lavik
dab28d96eb
Clamp numSteps
2022-03-24 19:56:12 +01:00
Matias Lavik
74c1ed2c5d
Handle camera inside AABB when raymarching
2022-03-24 15:59:36 +01:00
Matias Lavik
08ab58c4ae
Lerp fix: Multiply with numSteps's reciprocal.
2022-03-23 21:42:17 +01:00
Matias Lavik
8671ae16d8
Raymarch at a fixed step size.
2022-03-23 21:24:28 +01:00
Matias Lavik
8633fea948
Optimisation: Replaced branches (if checks) with non-branching functions.
2022-03-22 22:17:45 +01:00
Matias Lavik
6ef93e1a49
Fixed MIP depth write.
2022-03-22 21:58:42 +01:00
Matias Lavik
1fecae6908
Raymarching improvements: Find intersections with AABB. Removed branching boundary checks. Use front-to-back raymarching for isosurface rendering.
2022-03-22 21:39:58 +01:00
Matias Lavik
7f4fd3c35e
Merge pull request #89 from mlavik1/datatexture-fix
...
#87 : Don't re-create data texture or gradient texture if it already exists.
2022-03-21 21:19:33 +01:00
Matias Lavik
5f0a543e5b
Don't re-create data texture or gradient texture if it already exists.
2022-03-21 21:16:28 +01:00
Matias Lavik
143b244e2f
Merge pull request #88 from mlavik1/orthographic
...
#57 : Added support for orthographic camera.
2022-03-21 20:59:29 +01:00
Matias Lavik
34012082ad
Normalise ray dir
2022-03-21 20:55:04 +01:00
Matias Lavik
60a3e469ae
#57 : Added support for orthographic camera.
2022-03-19 21:00:00 +01:00
Matias Lavik
93ab644429
Added FUNDLING.yml (link to Red Cross)
...
Added FUNDLING.yml (link to the International Committee of the Red Cross)
2022-02-26 20:23:32 +01:00
Matias Lavik
a88bbbe9a6
Merge pull request #84 from mlavik1/UpdateMaaterialPropertiesFix
...
Call UpdateMaaterialProperties after enabling/disabling lighting.
2022-02-12 20:20:44 +01:00
Matias Lavik
b196f0ffdb
Call UpdateMaaterialProperties after enabling/disabling lighting. SetVisibilityWindow: Don't call UpdateMaaterialProperties of value didn't change.
2022-02-12 20:19:56 +01:00
Matias Lavik
698117d3ca
Merge pull request #82 from mlavik1/tf-improvements
...
1D Transfer function improvements
2022-01-21 19:24:11 +01:00
Matias Lavik
1d2541479d
Merge pull request #78 from mlavik1/dicom-encoding-fixes
...
DICOM time format fix
2022-01-21 19:19:44 +01:00
Matias Lavik
1d97525358
Changed TF clear functionality: Changed colour and alpha values of default control points
2022-01-02 19:59:43 +01:00
Matias Lavik
d76ad808c1
TF editor improvements: Made it easier to select control points, especially at the borders.
2022-01-02 19:40:03 +01:00
Matias Lavik
ba54467609
cleanup
2022-01-01 22:15:44 +01:00
Matias Lavik
208a10fd78
Improved 1D transfer function editor. Use smoothstep instead of LERP for TF control points.
2022-01-01 20:52:21 +01:00
Matias Lavik
711cd51609
Merge pull request #59 from jasonks2/PARCHG---Electron-Density-Volume-Renderer
...
VASP support + store dataset values as float instead of int.
2021-12-31 11:26:17 +01:00
Matias Lavik
9c0724e267
Removed ParDatasetImporterEditorWindow. We now import PARCHG datasets directly instead.
2021-12-31 11:06:59 +01:00
Matias Lavik
b033d0a7b6
#77 : Log a warning instead of throwing EncodingException if time format is invalid (we don't use that anyway).
2021-12-30 19:49:45 +01:00
Matias Lavik
bb5646cbfe
Added license file for PARCHG dataset. Some cleanup.
2021-12-30 19:31:12 +01:00
Matias Lavik
97e8b01320
Commented out code for setting dataset dimension manually, since it's not currently in use.
2021-12-29 19:45:28 +01:00