# Volume Rendering does not work

**URL:** <https://discourse.slicer.org/t/volume-rendering-does-not-work/19045>\
**Category:** Support\
**Created:** [August 3, 2021, 4:16pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045 "2021-08-03T16:16:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jakob\_Timme](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jakob_timme/32/11864_2.png) [@Jakob\_Timme](https://discourse.slicer.org/u/Jakob_Timme)\
**Post date:** [August 3, 2021, 4:16pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/1 "2021-08-03T16:16:04Z")

</div>

Hello everyone! I am using Slicer to find 3D anatomical landmarks on lungs and was trying to use the volume rendering option, but it is not letting me use my file with this feature. Does my computer not support volume rendering or is there a certain extension I need or something else? Thanks for any help.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 4, 2021, 4:03am UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/2 "2021-08-04T04:03:23Z")

</div>

Can you tell the version of your slicer, the OS and the specs of the computer? If your gpu (or it is driver) is old, it may not render. Did you try the CPU raycasting?

See the documentation. [Volume rendering — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/user_guide/modules/volumerendering.html)

---

<div class="post-metadata">

**Author:** ![Jakob\_Timme](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jakob_timme/32/11864_2.png) [@Jakob\_Timme](https://discourse.slicer.org/u/Jakob_Timme)\
**Post date:** [August 4, 2021, 8:09pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/3 "2021-08-04T20:09:12Z")

</div>

I am using 3D Slicer 4.11.20210226. My OS is 64-bit operating system, x64-based processor. I have Windows 10 Home. I am trying to use binary stl files in the volume form but am not able to. I have not looked in to CPU raycasting yet but will do so! Thank you for the documentation I appreciate it.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 4, 2021, 8:16pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/4 "2021-08-04T20:16:39Z")

</div>

STL files are 3D polygonial models. Volume Rendering is a technique that’s available only for voxel data (or volumes as it is called in Slicer), and wouldn’t be applicable to STL files. Any 3D model you load into Slicer should appear in the 3D viewer window immediately. If not, click the center 3D view button.  
[https://slicer.readthedocs.io/en/latest/user\_guide/user\_interface.html#d-view](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#d-view)

If the STL files shows up in your Data module but still not displayed, then it might be an issue with your computer about outdated drivers or opengl libraries.

---

<div class="post-metadata">

**Author:** ![Jakob\_Timme](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jakob_timme/32/11864_2.png) [@Jakob\_Timme](https://discourse.slicer.org/u/Jakob_Timme)\
**Post date:** [August 4, 2021, 8:24pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/5 "2021-08-04T20:24:55Z")

</div>

The STL files are displayed on my screen when I choose the model option (The options are model, segmentation, or volume). However, if I try to upload it with the volume option I get a pop up stating that an error has occured. So, STL files cannot be used with volume rendering unless they are converted to scalar volumes?

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 4, 2021, 8:31pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/6 "2021-08-04T20:31:44Z")

</div>

Yes, volume rendering is only for volumes (can be both scalar and vector).

---

<div class="post-metadata">

**Author:** ![Jakob\_Timme](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/jakob_timme/32/11864_2.png) [@Jakob\_Timme](https://discourse.slicer.org/u/Jakob_Timme)\
**Post date:** [August 4, 2021, 8:41pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/7 "2021-08-04T20:41:47Z")

</div>

Got it. Thanks for your time. Is there any way to convert my STL files so that the can be rendered this way? (i.e. nrrd files)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [August 4, 2021, 10:42pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/8 "2021-08-04T22:42:43Z")

</div>

If you derived these models from volumetric data via segmentation, you can bring the original data into Slicer and use the volume rendering module.

If these are models that are given to you, you can try to play with the materials properties (models module) along with lights module (available via sandbox extension)

These two will give you better rendering then converting the STL to a binary labelmap and trying to volume rrbder it.

---

<div class="post-metadata">

**Author:** ![cpinter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/cpinter/32/7995_2.png) [@cpinter](https://discourse.slicer.org/u/cpinter)\
**Post date:** [August 5, 2021, 12:42pm UTC](https://discourse.slicer.org/t/volume-rendering-does-not-work/19045/9 "2021-08-05T12:42:08Z")

</div>

@Jakob_Timme To understand better the available data formats and their purpose and possibilities, I suggest taking a look at the diagram here:  
[https://slicer.readthedocs.io/en/latest/user\_guide/user\_interface.html#review-loaded-data](https://slicer.readthedocs.io/en/latest/user_guide/user_interface.html#review-loaded-data)
