<div dir="ltr">Hi,<div><br></div><div>there is a related patch [1] about to be merged, not sure if this would address this issue though, could you try it? I will try to reproduce the problem.</div><div><br></div><div>Thanks.</div><div><br></div><div>[1] <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2196#note_201434" target="_blank" style="font-size:12.8px">https://gitlab.kitware.com/<wbr>vtk/vtk/merge_requests/2196#<wbr>note_201434</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 28, 2016 at 5:56 PM, meow_fiz <span dir="ltr"><<a href="mailto:meow@mat.uni.torun.pl" target="_blank">meow@mat.uni.torun.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For a long time I've used vtkGPUVolumeRayCastMapper in vtk 6.3 (OpenGL 1.x).<br>
I could change interactively volume mask voxel values set by:<br>
<br>
volMapper->SetMaskInput (myMask);<br>
<br>
<br>
Now when i switched to VTK 7.1RC & OpenGL2 I can't make any modifications to<br>
volume mask interactively. Calling Update(), Modified() on every element of<br>
the pipeline (volume, input data, mask input, mapper) does not affect visual<br>
result.<br>
<br>
The only way I can get the updated mask volume is to call:<br>
<br>
Renderer->RemoveVolume(Volume)<wbr>;<br>
Renderer->AddVolume(Volume);<br>
<br>
Is there any way that I could force volume mask update for<br>
vtkGPUVolumeRayCastMapper ?<br>
<br>
Regards,<br>
Michal<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-OpenGL2-Mask-Input-update-tp5741322.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.<wbr>com/vtkGPUVolumeRayCastMapper-<wbr>OpenGL2-Mask-Input-update-<wbr>tp5741322.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_<wbr>FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Alvaro Sanchez</div><div>Kitware, Inc.</div><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:14.6667px;line-height:20.24px;white-space:pre-wrap">Senior </span>R&D Engineer</div><div>21 Corporate Drive</div><div>Clifton Park, NY 12065-8662</div><div>Phone: 518-881-4901</div></div></div></div></div>
</div>