Replies: 1 comment 5 replies
-
Hi! Looks like you went on a long journey though Python, Godot and Unity 😁 Regarding Godot, there's also a Godot version of this plugin: https://github.com/riccardolops/GodotVolumetricRendering |
Beta Was this translation helpful? Give feedback.
-
Hey there,
I am currently working on a little project and could need some help.
My journey so far:
I started using the vtk library in Python for a volume render but couldn't get the UI to work because vtk and tkinter didn't like each other.
Then I switched to Godot because of the python like syntax, I tried a voxel addon to create the volume but things didn't work out again.
Now I am using Unity to solve my problems.
I have dowloaded the VtkToUnityPlugin https://gitlab.com/3dheart_public/vtktounity and got the first halve of my program to work like intended.
The first halve involves a button, which lets you choose a folder with DICOM files and makes a volume with it, another button destroys the volume again and one can press the first button again.
The problem now:
My problem is the second halve of my intended program, I want to make moveable slices or at least one slice to view the inner parts of the loaded volume. I have already tried to use a shader, which makes the parts behind a certain plane invisible, however the volume does not posess a unity material because it is made with a plugin specific render-pipeline. There is a script in the provided assets called "VtkVolumeCropPlane" but it is stated nowhere how it works.
So I am thinking of starting from scracth using the code provided by @mlavik1 but I wanted to ask if my intentions are achieveable using his code or not before I start something new or if I can somehow integrate it into the VtkToUnityPlugin?
Beta Was this translation helpful? Give feedback.
All reactions