<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:8px"><div dir="ltr" id="yui_3_16_0_ym19_1_1480484955529_11376"><span>I have problems with </span>vtkVolumeTextureMapper2D   (OpenGL2) and test  voltm2rotateclip.tcl no works</div><div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" id="yui_3_16_0_ym19_1_1480484955529_11294" style="display: block;">  <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 8px;" id="yui_3_16_0_ym19_1_1480484955529_11293"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;" id="yui_3_16_0_ym19_1_1480484955529_11292"> <div dir="ltr" id="yui_3_16_0_ym19_1_1480484955529_11291"> <font size="2" face="Arial" id="yui_3_16_0_ym19_1_1480484955529_11290"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> Alvaro Sanchez <alvaro.sanchez@kitware.com><br> <b><span style="font-weight: bold;">To:</span></b> meow_fiz <meow@mat.uni.torun.pl> <br><b><span style="font-weight: bold;">Cc:</span></b> VTK Users <vtkusers@vtk.org><br> <b id="yui_3_16_0_ym19_1_1480484955529_11289"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1480484955529_11288">Sent:</span></b> Tuesday, November 29, 2016 6:39 PM<br> <b id="yui_3_16_0_ym19_1_1480484955529_11312"><span style="font-weight: bold;" id="yui_3_16_0_ym19_1_1480484955529_11311">Subject:</span></b> Re: [vtkusers] vtkGPUVolumeRayCastMapper (OpenGL2) - Mask Input        update<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_ym19_1_1480484955529_11313"><br><div id="yiv6864630955"><div id="yui_3_16_0_ym19_1_1480484955529_11315"><div dir="ltr" id="yui_3_16_0_ym19_1_1480484955529_11314">Hi,<div id="yui_3_16_0_ym19_1_1480484955529_11316"><br clear="none"></div><div id="yui_3_16_0_ym19_1_1480484955529_11317">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 id="yui_3_16_0_ym19_1_1480484955529_11318"><br clear="none"></div><div id="yui_3_16_0_ym19_1_1480484955529_11319">Thanks.</div><div id="yui_3_16_0_ym19_1_1480484955529_11320"><br clear="none"></div><div>[1] <a rel="nofollow" shape="rect" target="_blank" href="https://gitlab.kitware.com/vtk/vtk/merge_requests/2196#note_201434" style="font-size:12.8px;">https://gitlab.kitware.com/ vtk/vtk/merge_requests/2196# note_201434</a><br clear="none"></div></div><div class="yiv6864630955gmail_extra"><br clear="none"><div class="yiv6864630955yqt8196158301" id="yiv6864630955yqt52876"><div class="yiv6864630955gmail_quote">On Mon, Nov 28, 2016 at 5:56 PM, meow_fiz <span dir="ltr"><<a rel="nofollow" shape="rect" ymailto="mailto:meow@mat.uni.torun.pl" target="_blank" href="mailto:meow@mat.uni.torun.pl">meow@mat.uni.torun.pl</a>></span> wrote:<br clear="none"><blockquote class="yiv6864630955gmail_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 clear="none">
I could change interactively volume mask voxel values set by:<br clear="none">
<br clear="none">
volMapper->SetMaskInput (myMask);<br clear="none">
<br clear="none">
<br clear="none">
Now when i switched to VTK 7.1RC & OpenGL2 I can't make any modifications to<br clear="none">
volume mask interactively. Calling Update(), Modified() on every element of<br clear="none">
the pipeline (volume, input data, mask input, mapper) does not affect visual<br clear="none">
result.<br clear="none">
<br clear="none">
The only way I can get the updated mask volume is to call:<br clear="none">
<br clear="none">
Renderer->RemoveVolume(Volume) ;<br clear="none">
Renderer->AddVolume(Volume);<br clear="none">
<br clear="none">
Is there any way that I could force volume mask update for<br clear="none">
vtkGPUVolumeRayCastMapper  ?<br clear="none">
<br clear="none">
Regards,<br clear="none">
 Michal<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
<br clear="none">
--<br clear="none">
View this message in context: <a rel="nofollow" shape="rect" target="_blank" href="http://vtk.1045678.n5.nabble.com/vtkGPUVolumeRayCastMapper-OpenGL2-Mask-Input-update-tp5741322.html">http://vtk.1045678.n5.nabble. com/vtkGPUVolumeRayCastMapper- OpenGL2-Mask-Input-update- tp5741322.html</a><br clear="none">
Sent from the VTK - Users mailing list archive at Nabble.com.<br clear="none">
______________________________ _________________<br clear="none">
Powered by <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/">www.kitware.com</a><br clear="none">
<br clear="none">
Visit other Kitware open-source projects at <a rel="nofollow" shape="rect" target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/ opensource/opensource.html</a><br clear="none">
<br clear="none">
Please keep messages on-topic and check the VTK FAQ at: <a rel="nofollow" shape="rect" target="_blank" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_ FAQ</a><br clear="none">
<br clear="none">
Search the list archives at: <a rel="nofollow" shape="rect" target="_blank" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q= vtkusers</a><br clear="none">
<br clear="none">
Follow this link to subscribe/unsubscribe:<br clear="none">
<a rel="nofollow" shape="rect" target="_blank" href="http://public.kitware.com/mailman/listinfo/vtkusers">http://public.kitware.com/ mailman/listinfo/vtkusers</a><br clear="none">
</blockquote></div></div><br clear="none"><br clear="all"><div><br clear="none"></div>-- <br clear="none"><div class="yiv6864630955gmail_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></div></div><br><div class="yqt8196158301" id="yqt60021">_______________________________________________<br clear="none">Powered by www.kitware.com<br clear="none"><br clear="none">Visit other Kitware open-source projects at <a shape="rect" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br clear="none"><br clear="none">Please keep messages on-topic and check the VTK FAQ at: <a shape="rect" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br clear="none"><br clear="none">Search the list archives at: <a shape="rect" href="http://markmail.org/search/?q=vtkusers" target="_blank">http://markmail.org/search/?q=vtkusers</a><br clear="none"><br clear="none">Follow this link to subscribe/unsubscribe:<br clear="none"><a shape="rect" href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br clear="none"></div><br><br></div> </div> </div>  </div></div></body></html>