# Convert model to volume rendering

**URL:** https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192
**Category:** Support
**Tags:** volume-rendering
**Created:** [February 22, 2019, 3:14am UTC](https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192 "2019-02-22T03:14:03Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Nicholas.jacobson](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@Nicholas.jacobson](https://discourse.slicer.org/u/Nicholas.jacobson)
#### Post date: [February 22, 2019, 3:14am UTC](https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192/1 "2019-02-22T03:14:03Z")

</div>

Hi all, is there a way to convert a model into a volume rendering? I’m trying to load a stl and ply and convert it into a volume rendering for bitmap generation. Any ideas how to make this work? Guessing @lassoan is the best person to understand what I’m trying to accomplish.

---

<div class="post-metadata">

### Author: ![Hamburgerfinger](https://avatars.discourse-cdn.com/v4/letter/h/eb9ed0/32.png) [@Hamburgerfinger](https://discourse.slicer.org/u/Hamburgerfinger)
#### Post date: [February 22, 2019, 4:03am UTC](https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192/2 "2019-02-22T04:03:04Z")

</div>

You can 1) import your model 2) convert it to segmentation 3) convert the segmentation to a label map and finally 4) convert the label map to a scalar volume which can be volume rendered like any other volume.

---

<div class="post-metadata">

### Author: ![Nicholas.jacobson](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@Nicholas.jacobson](https://discourse.slicer.org/u/Nicholas.jacobson)
#### Post date: [February 25, 2019, 3:59pm UTC](https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192/3 "2019-02-25T15:59:27Z")

</div>

Thanks @Hamburgerfinger this method does not seem to work for ply imports. It hangs up my computer. I’ve got a ply import similar to a tractography bundle.

---

<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 18, 2019, 1:12pm UTC](https://discourse.slicer.org/t/convert-model-to-volume-rendering/6192/4 "2019-03-18T13:12:39Z")

</div>

You can import a model loaded from .ply file to segmentation. It may take long, depending on how complex the model is and what resolution you set for the segmentation’s binary labelmap representation. If you have any specific issue then let us know.

The exported volume will be binary, with no colors, so I’m not sure that this conversion would be useful for you.
