# Exporting Segmentation to OBJ and 3D Viewer

**URL:** <https://discourse.slicer.org/t/exporting-segmentation-to-obj-and-3d-viewer/22404>\
**Category:** Support\
**Tags:** segmentation, web\
**Created:** [March 9, 2022, 1:04pm UTC](https://discourse.slicer.org/t/exporting-segmentation-to-obj-and-3d-viewer/22404 "2022-03-09T13:04:25Z")\
**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:** [March 9, 2022, 2:58pm UTC](https://discourse.slicer.org/t/exporting-segmentation-to-obj-and-3d-viewer/22404/2 "2022-03-09T14:58:09Z")

</div>

I would recommend to use SlicerOpenAnatomy for web viewer export. See detailed instructions [here](https://github.com/PerkLab/SlicerOpenAnatomy/).

If you export in glTF format (supported by [3dviewer.net](http://3dviewer.net) that you show in your screenshot above) then not just transparency is correct but all segment names and even the hierarchy. See some more information and example in this post:

> [@Open source Human Anatomy Atlas](https://discourse.slicer.org/t/open-source-human-anatomy-atlas/17734/15):
>
> Exactly! I would also add that since we discussed this we spent some more time with gltf and available web viewers and improved the SlicerOpenAnatomy extension. As a result we now have a very good workflow for creating and share models: Create/edit segmentation using Segment Editor Export segmentation to glTF format using SlicerOpenAnatomy extension. The glTF file stores segment names, hierarchy, and display properties. We use simple shading and no texture, but we could specify more interest…

Example segmentation exported from Slicer: [https://3dviewer.net/#model=https://raw.githubusercontent.com/lassoan/Test/master/SPL-Abdominal-Atlas.gltf](https://3dviewer.net/#model=https://raw.githubusercontent.com/lassoan/Test/master/SPL-Abdominal-Atlas.gltf)

[![](https://github.com/PerkLab/SlicerOpenAnatomy/raw/master/Screenshot02.png)](https://3dviewer.net/#model=https://raw.githubusercontent.com/lassoan/Test/master/SPL-Abdominal-Atlas.gltf)

---

_[View the full topic](https://discourse.slicer.org/t/exporting-segmentation-to-obj-and-3d-viewer/22404)._
