# Experiment auto-optimize volume rendering

**URL:** <https://discourse.slicer.org/t/experiment-auto-optimize-volume-rendering/46711>\
**Category:** Support\
**Created:** [April 11, 2026, 12:42am UTC](https://discourse.slicer.org/t/experiment-auto-optimize-volume-rendering/46711 "2026-04-11T00:42:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)\
**Post date:** [April 11, 2026, 12:42am UTC](https://discourse.slicer.org/t/experiment-auto-optimize-volume-rendering/46711/1 "2026-04-11T00:42:06Z")

</div>

Hi,

Seeing this post today: [Sharing custom presets - #4 by muratmaga](https://discourse.slicer.org/t/sharing-custom-presets/46690/4)

I tried to make a script that calls Slicer, screenshots a 3D picture of the CTChest data set with a custom property and tries to optimize the custom property to be realistic or cinematic using the agent mode of the AI to describe the current picture and to edit the custom property

It worked fine till I had 14 pictures, then it started crashing VS code. Anyway, here is the repo to my experiment in case anyone wants to try it:

> **[GitHub - mauigna06/optimize\_VR: Experiment to auto-optimize volume rendering of CT](https://github.com/mauigna06/optimize_VR)**
>
> Experiment to auto-optimize volume rendering of CT

You need to change the REPO\_PATH and the Constants.txt file for it to work
