-
Hi Thank you for amazing project ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @sayyes304 ! So if I understand you correctly, you want to create a collider that represents a volumetric dataset? (Which format is it btw?) My suggestion would be to generate a mesh using marching cubes, and then use it in a MeshCollider. You could for example use this library: https://github.com/AOT-AG/DicomToMesh Would that work? If you want to have a mesh collider for only part of a dataset, I guess you'd need to extract a part of it somehow. I suppose there might be some software that can do that, but I don't know of any. |
Beta Was this translation helpful? Give feedback.
Hi @sayyes304 !
So if I understand you correctly, you want to create a collider that represents a volumetric dataset? (Which format is it btw?)
My suggestion would be to generate a mesh using marching cubes, and then use it in a MeshCollider.
You could for example use this library: https://github.com/AOT-AG/DicomToMesh
To export an .obj file. Then import that into Unity, and add it to a mesh collider.
Would that work?
If you want to have a mesh collider for only part of a dataset, I guess you'd need to extract a part of it somehow. I suppose there might be some software that can do that, but I don't know of any.
Maybe I should add support for exporting datasets? 🤔