# Volume Rendering model does not update interactively with ROI

**URL:** <https://discourse.slicer.org/t/volume-rendering-model-does-not-update-interactively-with-roi/2125>\
**Category:** Support\
**Created:** [February 20, 2018, 3:14pm UTC](https://discourse.slicer.org/t/volume-rendering-model-does-not-update-interactively-with-roi/2125 "2018-02-20T15:14:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [February 20, 2018, 3:14pm UTC](https://discourse.slicer.org/t/volume-rendering-model-does-not-update-interactively-with-roi/2125/1 "2018-02-20T15:14:31Z")

</div>

Noticed in commit f649868e1. When a ROI is resized in the red view for example, the Volume rendering model is not refreshed interactively. It gets refreshed if the Display ROI button is next toggled off. When the latter is toggled on again, the 3D model gets badly displayed.

A screen capture video [here](https://mega.nz/#!xE8TUY4a!WWV4d30cUCyhv2IewCMYTmFQlb9siYEJlz2iDDXf52o) (39.3 MB).

Commit 0f398d948 is known to work normally.

On linux, Qt5, VTK9.

---

<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:** [February 21, 2018, 2:14am UTC](https://discourse.slicer.org/t/volume-rendering-model-does-not-update-interactively-with-roi/2125/2 "2018-02-21T02:14:24Z")

</div>

I can reproduce the issue on Windows with latest preview (4.9) version. Cropping is broken (the same way as it is shown in the attached video above) if GPU raycasting method is selected and depth peeling is enabled.

Workarounds: use CPU raycasting method or disable depth peeling (by unchecking “Use depth peeling” checkbox in 3D view controller).

---

<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:** [February 21, 2018, 2:17am UTC](https://discourse.slicer.org/t/volume-rendering-model-does-not-update-interactively-with-roi/2125/3 "2018-02-21T02:17:41Z")

</div>

I’ve added a ticket on the issue tracker: [https://issues.slicer.org/view.php?id=4510](https://issues.slicer.org/view.php?id=4510)

@jcfr Do you know if somebody is working on this already?
