# Visual regression in Volume Rendering

**URL:** <https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658>\
**Category:** Support\
**Created:** [April 21, 2018, 5:30pm UTC](https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658 "2018-04-21T17:30:54Z")\
**Posts on this page:** 4\
**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:** [April 21, 2018, 5:30pm UTC](https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658/1 "2018-04-21T17:30:54Z")

</div>

Today’s build has introduced a visual regression while rotating a 3D model in Volume rendering. A new VTK commit has been pulled in. It seems to request a too high frame rate. Please see two screen video shots with Slicer commit tags as suffix :

[https://mega.nz/#!BVlBwTqL!FGXzin-WlSKl6uhENQFlaw\_4-PRidRL45oJb138-q\_A](https://mega.nz/#!BVlBwTqL!FGXzin-WlSKl6uhENQFlaw_4-PRidRL45oJb138-q_A)

[https://mega.nz/#!NR9UAb6B!tbqFNC4ZnJtOs212JcGfU28m7rR5Pn9RkwFq0H2CUVw](https://mega.nz/#!NR9UAb6B!tbqFNC4ZnJtOs212JcGfU28m7rR5Pn9RkwFq0H2CUVw)

FYI.

---

<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:** [April 21, 2018, 6:34pm UTC](https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658/2 "2018-04-21T18:34:13Z")

</div>

For a few weeks we’ve made static-quality rendering the default, a few days ago we reverted the default to the previous progressive (adaptive) option to have interactive frame rates by default for CPU volume rendering and for virtual reality viewing.

You still have all the options available. To prevent low-quality rendering during rotation, then go to Advanced settings / Techniques tab and either decrease “Interactive speed” or switch to “Normal quality”.

To reduce wood grain artifacts, I would recommend to enable “Surface smoothing” or (if rendering time is not a concern) then use “Maximum Quality” setting.

Let us know which settings work well for you. We may tune default values based on what we hear back from users. We also plan to make defaults adjustable in application settings.

---

<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:** [April 22, 2018, 9:06am UTC](https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658/3 "2018-04-22T09:06:07Z")

</div>

‘Normal quality’ renders as previously experienced. It would be great to have it adjustable in application settings, as well as ‘Surface smoothing’., for a more comfortable workflow.

---

<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:** [April 22, 2018, 12:39pm UTC](https://discourse.slicer.org/t/visual-regression-in-volume-rendering/2658/4 "2018-04-22T12:39:23Z")

</div>

I’m planning to add this feature next week.
