Граф коммитов

267 Коммитов

Автор SHA1 Сообщение Дата
Steve Borkman fc1574855d
Merge pull request #1 from Unity-Technologies/setup
Post Hackweek
2022-11-01 17:26:30 -04:00
Steven Borkman bafb09f713 some cool stuff 2022-10-27 18:11:56 -04:00
Steven Borkman e045d75347 cross planes 2022-10-27 13:12:56 -04:00
Steven Borkman 2b6250e109 updates 2022-10-26 17:53:26 -04:00
Steven Borkman e7fb74a93e camera working 2022-10-26 16:28:42 -04:00
Steven Borkman 420fab8e86 some things are working 2022-10-26 13:34:23 -04:00
Steven Borkman 4a8fb5623b rider package 2022-10-25 18:32:19 -04:00
Steven Borkman 65cf715eb2 dt packages 2022-10-25 16:34:03 -04:00
Steven Borkman 821101b4e5 open in correct version 2022-10-25 16:21:43 -04:00
Steven Borkman a9da6f2d9c test 2022-10-25 16:18:38 -04:00
Matias Lavik 9b26450e82 GitHub workflows for packaging 2022-10-25 21:49:57 +02:00
Matias Lavik e59f3d3f20
Update README.md 2022-10-25 21:35:39 +02:00
Matias Lavik 2389cf8e0a
Delete main.yml 2022-10-24 22:11:28 +02:00
Matias Lavik 995cc08584
Create main.yml 2022-10-24 22:09:39 +02:00
Matias Lavik 7d6032eb64
Nifti importer (Nifti.NET) (#126)
Nifti importer, using modified version of Nifti.NET, that does not use dynamic type.
2022-10-24 20:37:36 +02:00
Matias Lavik 70ed1d1d94
Added (optional) cubic sampling, to fix staircase effect (#121)
Added (optional) cubic sampling, to fix staircase effect
2022-10-17 20:18:15 +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