# Imported obj color is gray

**URL:** <https://discourse.slicer.org/t/imported-obj-color-is-gray/7788>\
**Category:** Support\
**Created:** [July 28, 2019, 6:45pm UTC](https://discourse.slicer.org/t/imported-obj-color-is-gray/7788 "2019-07-28T18:45:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [July 29, 2019, 3:54am UTC](https://discourse.slicer.org/t/imported-obj-color-is-gray/7788/2 "2019-07-29T03:54:22Z")

</div>

What does the .obj file contain?

If the file is from a surface scanner and you want to display texture then you can follow these instructions: [Displaying textured 3D models](https://discourse.slicer.org/t/displaying-textured-3d-models/2521/2)

If exported segmentation to .obj and trying to load that then you can restore the original segment colors but it requires manual steps, as .obj is primarily used as an export format in Slicer. When you read a .obj file then object IDs are stored in the model nodes as scalars. You can use these scalars to set different color for each segment (Models module / Scalars section). If you use the colormap of the original segmentation then you’ll get back those colors.

---

_[View the full topic](https://discourse.slicer.org/t/imported-obj-color-is-gray/7788)._
