# 3D rendering of segmentations without Slicer GUI

**URL:** <https://discourse.slicer.org/t/3d-rendering-of-segmentations-without-slicer-gui/44177>\
**Category:** Development\
**Created:** [August 23, 2025, 2:58am UTC](https://discourse.slicer.org/t/3d-rendering-of-segmentations-without-slicer-gui/44177 "2025-08-23T02:58:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![metabot18](https://avatars.discourse-cdn.com/v4/letter/m/cdc98d/32.png) [@metabot18](https://discourse.slicer.org/u/metabot18)\
**Post date:** [August 23, 2025, 2:58am UTC](https://discourse.slicer.org/t/3d-rendering-of-segmentations-without-slicer-gui/44177/1 "2025-08-23T02:58:41Z")

</div>

Hello Slicer community.

Is it possible to generate 3D renderings like these by calling Slicer’s functions from a Python environment, without having to load Slicer’s GUI?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/c/8c0dfc1a64965d67597b46b856e09f7fb8662b57.jpeg)

I tried doing these through VTK Python, but I could not get a very smooth rendering that Slicer manages to do.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [August 23, 2025, 2:50pm UTC](https://discourse.slicer.org/t/3d-rendering-of-segmentations-without-slicer-gui/44177/2 "2025-08-23T14:50:35Z")

</div>

There’s a long thread on rendering. These approaches should all work with the `--no-main-window` and `--python-script` options Slicer options.

> [@Higher resolution for screen captures of 3D view?](https://discourse.slicer.org/t/higher-resolution-for-screen-captures-of-3d-view/8880/47):
>
> Has this ever been implemented? I would need to export an image series at 4x the resolution of my display.
