Matias Lavik
34f31ce8a0
Merge pull request #16 from mlavik1/texture-formats
...
#14 : Texture formats
2020-02-26 19:03:27 +01:00
Matias Lavik
01e47a3052
Centralised code for setting material properties, and made sure the gradient texture is null when not needed.
2020-02-26 18:55:58 +01:00
Matias Lavik
d012728c2e
#14 : Use RHalf/RFloat (not RGBA) texture format for data texture. Use half precision floating point format for TF textures.
2020-02-26 18:29:44 +01:00
Matias Lavik
ebda446929
Merge pull request #15 from mlavik1/tf-saveload
...
#8 : Save/load transfer functions
2020-02-26 08:47:31 +01:00
Matias Lavik
ecb7f6e4c9
Apparently TransferFunction2D was a MonoBehaviour (not on purpose)
2020-02-26 08:46:36 +01:00
Matias Lavik
9a838724a5
#8 : Save/load transfer functions
2020-02-25 21:01:58 +01:00
Matias Lavik
00d1aa900e
Merge pull request #12 from mlavik1/negative-datavalues
...
Fix for negative data values not working properly
2020-02-20 09:38:24 +01:00
Matias Lavik
d2f3086da9
Fix for negative data values not working properly
2020-02-20 09:33:11 +01:00
Matias Lavik
982d19f2a3
Merge pull request #9 from denistribouillois/FixDepthEdgeIssue
...
Fix depth edge issue
2020-02-06 19:02:55 +01:00
Matias Lavik
ca6e198d5f
tabs->spaces
2020-02-06 19:02:04 +01:00
Denis Tribouillois
c60f9a327e
Fix depth edge issue
2020-02-06 16:12:48 +01:00
Matias Lavik
ff8fb3f9f8
Moved all classes into a separate namespace ("UnityVolumeRendering"). Added support for removing control points in the transfer function GUI.
2020-02-04 20:59:13 +01:00
Matias Lavik
1b00074bb0
New sample data sets + "ini"-file parser.
2020-02-04 20:09:51 +01:00
Matias Lavik
c71577b77a
Depth support: Volume should now intersect correctly with other meshes. This can be disabled by disabling the shader feature "DEPTHWRITE_ON", for improved performance.
2020-02-04 16:52:00 +01:00
Matias Lavik
2a4537158f
Removed manix.dat. Apparently the source I got this from did not have the right to redistribute it, so I have no choice but to remove it. I will upload more samples soon.
2020-02-04 10:12:55 +01:00
Matias Lavik
6a76a748bf
Added support for spawning and editing multiple datasets in the same scene. Also fixed the initial size of the TF GUIs.
2020-01-31 21:27:35 +01:00
Matias Lavik
6369c346d5
Added support for spawning the cross section tool from the menu.
2020-01-31 20:30:07 +01:00
Matias Lavik
22158d10db
Made the SlicingPlaneAnyDirection work with all render modes.
...
Added a multi_compile to make sure we don't waste any performance when it is not in used.
Made sure the slicing plane is disabled when the slicing plane is destroyed or disabled.
2020-01-31 20:05:17 +01:00
Matias Lavik
0448ed9e50
Merge pull request #6 from denistribouillois/SlicingPlaneAnyDirection
...
Slicing Plane in any direction
2020-01-31 19:40:48 +01:00
Matias Lavik
1de587d11c
tabs->spaces
2020-01-31 19:40:07 +01:00
Denis Tribouillois
4878015746
Slicing Plane in any direction
...
Add support for slicing in any direction with a plane
2020-01-30 11:21:23 +01:00
Matias Lavik
eb2bfd3cfe
You no longer need to set the dataset texture and min/max values manually. Should make it easier to create your own importer.
2020-01-21 20:35:50 +01:00
Matias Lavik
937ea6fdb6
Throw NotImplementedException for ".dicom" files - hope to add support for this later. Adding this now to make it easier for people to see how they can add their own importers.
2020-01-21 20:01:02 +01:00
Matias Lavik
5238d2e661
Fixed some mistakes in DVR shader
2020-01-19 15:36:20 +01:00
Matias Lavik
845be5702e
Update README.md
2020-01-19 14:30:44 +01:00
Matias Lavik
50c2d9c462
screenshot
2020-01-19 14:11:45 +01:00
Matias Lavik
8460f53642
Screenshots
2020-01-19 14:08:40 +01:00
Matias Lavik
abb3ed99ce
Upgraded to Unity 2019.2 and replaced tabs with spaces
2020-01-19 14:04:24 +01:00
Matias Lavik
6e9be1cef6
Update README.md
2020-01-01 21:58:11 +01:00
Matias Lavik
a10de3b6ce
Removed *.*
...
Removed *.*. This should make dataset import work on Linux.
2020-01-01 21:55:44 +01:00
Matias Lavik
935b8539e3
Update README.md
2019-05-12 16:03:13 +02:00
Matias Lavik
652d9f38a8
Added gif
2019-05-12 16:02:15 +02:00
Matias Lavik
075a9a2865
Improved the slice rendering window: Added support for moving slice by clicking and dragging mouse. Added more descriptions. Added support for showing more than one slice rendering window.
2019-05-12 16:01:05 +02:00
Matias Lavik
257bf5e2f3
Fixed dataset importer window min size. Added descriptions to 2D TF window + "remove selected shape"-button.
2019-05-11 23:33:51 +02:00
Matias Lavik
a7159b0573
Update README.md
2019-04-05 10:35:59 +02:00
Matias Lavik
f273046206
Add files via upload
2019-04-05 10:35:10 +02:00
Matias Lavik
b5337cdbc7
Create CONTRIBUTING.md
2019-04-04 19:49:14 +02:00
Matias Lavik
9dfb7d80f7
Update README.md
2019-04-04 19:39:54 +02:00
Matias Lavik
2639c32183
Update README.md
2019-04-04 19:29:57 +02:00
Matias Lavik
4eec9e9041
Update README.md
2019-02-22 20:05:50 +01:00
Matias
25bc439860
Removed and added screenshots (Github didn't like that I replaced them)
2019-02-22 17:42:43 +01:00
Matias
4cf4cfadcc
temp test
2019-02-22 17:41:58 +01:00
Matias
69c62a14ab
- Removed an unneccessary offset in the volume rendering shaders.
...
- Added and re-ordered screenshots
2019-02-22 17:37:59 +01:00
Matias
c89a894536
- Added an importer to the editor.
...
- Cleaned up the project structure and object hierarchy.
2019-02-20 20:53:55 +01:00
Matias
da4f5453fc
Slice rendering: WIP - need to take slice planes into account in the volume renderer (and add support for clipping). Also set data texture wrap mode to "clamp".
2019-02-20 16:00:10 +01:00
Matias
6cc8383371
Cleaned up the shaders, and made the isosurface shader render from the camera to the vertex at the box' backface.
2019-02-19 09:47:59 +01:00
Matias
f71286c329
- Fixed Maximum Intensity Projection.
...
- Improved light reflection (clamp to min 0.5 - to prevent black artifacts).
2019-02-19 09:22:02 +01:00
Matias
f258bf24b0
Precalculate gradient magnitude during load time, instead of doing it in the shader.
2019-02-18 19:42:18 +01:00
Matias
6fe6f64227
File loading fixes: Added "skipBytes"-paramter to the importer, and moved the filepath into a separate variable.
2019-02-18 10:22:39 +01:00
Matias
e8f069980d
Updated screenshots and README.md
2019-02-17 13:53:57 +01:00