Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slicing Problems (since there are no discussions I'll write my concerns down right here) #15

Open
SaneSoup opened this issue Aug 14, 2024 · 0 comments

Comments

@SaneSoup
Copy link

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 @mattatz 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant