UnityVolumeRendering icon indicating copy to clipboard operation
UnityVolumeRendering copied to clipboard

volume rendering of .obj gameobject (not DICOM)

Open gekigek99 opened this issue 1 year ago • 1 comments

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

gekigek99 avatar Nov 17 '23 18:11 gekigek99

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)

mlavik1 avatar Dec 01 '23 10:12 mlavik1