Hi, <br><br>I have found a workaround to this problem, by removing the volume from the renderer and <br>then adding it again. In the example I attached previously, you can do it by adding the lines:<br><br> ren1->RemoveViewProp(volume);<br>
ren1->AddViewProp(volume);<br><br>after the color function change done in TESTLINE2<br><br><br>