Skip to content

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

@SaneSoup

Description

@SaneSoup

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions