# Convert a 3D .obj mesh (from blender) into a 3D-CT .nii image with its materials.

**URL:** https://discourse.vtk.org/t/convert-a-3d-obj-mesh-from-blender-into-a-3d-ct-nii-image-with-its-materials/13164
**Category:** Support
**Tags:** python, code, file-formats
**Created:** [January 29, 2024, 9:29am UTC](https://discourse.vtk.org/t/convert-a-3d-obj-mesh-from-blender-into-a-3d-ct-nii-image-with-its-materials/13164 "2024-01-29T09:29:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![penida](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/p/f9ae1b/32.png) [@penida](https://discourse.vtk.org/u/penida)
#### Post date: [January 29, 2024, 9:29am UTC](https://discourse.vtk.org/t/convert-a-3d-obj-mesh-from-blender-into-a-3d-ct-nii-image-with-its-materials/13164/1 "2024-01-29T09:29:47Z")

</div>

I’ve tried converting my blender mesh to voxel by taking the materials into account for each voxel (for organic material, I want to set the voxel value to 0.3, for example), but it doesn’t work well. So I’m wondering if I export my blender object as an .obj file, then if I use VTK for that, will that be a good solution?
