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

volume rendering of .obj gameobject (not DICOM) #221

Open
gekigek99 opened this issue Nov 17, 2023 · 1 comment
Open

volume rendering of .obj gameobject (not DICOM) #221

gekigek99 opened this issue Nov 17, 2023 · 1 comment

Comments

@gekigek99
Copy link

gekigek99 commented Nov 17, 2023

I would like to implement a sort of virtual scintigraphy machine that renders an xray image of a 3-4 objects on the scene.

What are the steps to visualize that?
How can I assign a "density" to an imported .obj gameobject? without necessarily taking it from a dicom file?

immagine

here there is a simple attempt playing with some gameobjects bones and transparency... but no density was ever considered/associated with the models.
Even just attributing 3 different density values: bones, skin and metal rod, would be fine).

Thanks

@mlavik1
Copy link
Owner

mlavik1 commented Dec 1, 2023

Hi!

That's a good question. Since the nature of and .obj and .dcm file is quite different (DICOM stores evenly spaced density values, while .obj/wavefront stores a surface mesh) it's not really a trivial problem to convert form .obj to DICOM, and the result may not look great if you're able to do it (since your source data only contains surfaces..).

I wonder if you could use 3D Slicer for this maybe?
I found someone asking the same question here: https://discourse.slicer.org/t/create-volumes-from-3d-model-obj-file/5463
I've never done this, but the suggested answer might work (using the segment editor to fill in data values)

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

2 participants