<div dir="ltr"><div class="markdown-here-wrapper" style="font-family:"Lucida Sans",Cantarell,Verdana,sans-serif;color:rgb(11,83,148)"><p style="margin:0px 0px 1.2em!important">Hi Andras,</p>
<p style="margin:0px 0px 1.2em!important">The clipping issue has been fixed in <a href="https://gitlab.kitware.com/vtk/vtk/merge_requests/4338">!4338</a>. A big thank you goes to Allie.</p>
<p style="margin:0px 0px 1.2em!important">@Elvis, I am going to look into some of the vtkMultiVolume issues next. I’ll update here if I see the same issue you saw.</p>
<p style="margin:0px 0px 1.2em!important">Best,<br>Sankhesh</p>
<div title="MDH:SGkgQW5kcmFzLDxkaXY+PGJyPjwvZGl2PjxkaXY+VGhlIGNsaXBwaW5nIGlzc3VlIGhhcyBiZWVu
IGZpeGVkIGluIFshNDMzOF0oaHR0cHM6Ly9naXRsYWIua2l0d2FyZS5jb20vdnRrL3Z0ay9tZXJn
ZV9yZXF1ZXN0cy80MzM4KS4gQSBiaWcgdGhhbmsgeW91IGdvZXMgdG8gQWxsaWUuPC9kaXY+PGRp
dj48YnI+PC9kaXY+PGRpdj5ARWx2aXMsIEkgYW0gZ29pbmcgdG8gbG9vayBpbnRvIHNvbWUgb2Yg
dGhlIHZ0a011bHRpVm9sdW1lIGlzc3VlcyBuZXh0LiBJJ2xsIHVwZGF0ZSBoZXJlIGlmIEkgc2Vl
IHRoZSBzYW1lIGlzc3VlIHlvdSBzYXcuPC9kaXY+PGRpdj48YnI+PC9kaXY+PGRpdj5CZXN0LDwv
ZGl2PjxkaXY+U2Fua2hlc2g8L2Rpdj4=" style="height:0;width:0;max-height:0;max-width:0;overflow:hidden;font-size:0em;padding:0;margin:0"></div></div><div></div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, May 9, 2018 at 11:51 AM Andras Lasso <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div class="m_-4953460435269467891WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Sankhesh,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">In recent VTK versions (VTK9, OpenGL2 backend) there seems to quite distracting volume rendering artifact at the volume edge if there are opaque voxels at the
volume edge and there are clipping planes outside the volume (which is unavoidable if you have oblique clipping planes).<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">The problem did not occur a few months ago, then cropping was broken for a while, and after it was fixed we started noticing this issue. See more information
and sample data here: <a href="https://issues.slicer.org/view.php?id=4548" target="_blank">https://issues.slicer.org/view.php?id=4548</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It would be great if you could look into this.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks a lot,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Andras<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> vtk-developers <<a href="mailto:vtk-developers-bounces@vtk.org" target="_blank">vtk-developers-bounces@vtk.org</a>>
<b>On Behalf Of </b>Sankhesh Jhaveri<br>
<b>Sent:</b> Wednesday, May 9, 2018 8:29 AM<br>
<b>To:</b> Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>><br>
<b>Cc:</b> vtkdev <<a href="mailto:vtk-developers@vtk.org" target="_blank">vtk-developers@vtk.org</a>><br>
<b>Subject:</b> Re: [vtk-developers] Some vtkMultiVolume questions/issues<u></u><u></u></span></p></div></div><div lang="EN-US" link="blue" vlink="purple"><div class="m_-4953460435269467891WordSection1">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p><span style="font-family:"Lucida Sans",sans-serif;color:#0b5394">Hi Elvis,<u></u><u></u></span></p>
<p style="margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0b5394">Haven’t had a chance to look at vtkMultiVolume in depth yet.<br>
I’ll take a look at it in downtime to see if the issue is relatively simple.<u></u><u></u></span></p>
<p style="margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0b5394">Thanks,<br>
Sankhesh<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#0b5394"></span><span style="font-size:1.0pt;font-family:"Lucida Sans",sans-serif;color:#0b5394"><u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Tue, May 8, 2018 at 8:50 AM Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<p class="MsoNormal" style="margin-bottom:12.0pt">2018-05-02 8:38 GMT+02:00 Elvis Stansvik <<a href="mailto:elvis.stansvik@orexplore.com" target="_blank">elvis.stansvik@orexplore.com</a>>:<br>
> Hi all,<br>
><br>
> I'm trying out the (very cool) vtkMultiVolume in VTK master.<br>
><br>
> Performance is noticeably slower if I render two volumes added to a<br>
> vtkMultiVolume, than if I render the same as separate volumes in the<br>
> "traditional" way. Is this to be expected? (note that in this<br>
> particular test, my two volumes were not intersecting, so the visual<br>
> result in the two scenarios was exactly the same).<br>
><br>
> I'll need to investigate more, but it seems that I can't set the<br>
> position of the first volume (the one set to port 0) using<br>
> SetPosition(..), it has no effect. Setting the position of subsequent<br>
> volumes (at higher port numbers) seems to work. I believe this was<br>
> possibly reported by another user on the users list.<br>
<br>
Update: When trying with a minimal test case, it seems I'm not able to<br>
reproduce this particular issue with SetPosition, so I'll have to go<br>
back to my code to see what I possibly did wrong there.<br>
<br>
Elvis<br>
<br>
><br>
> Again I need to investigate more, but it seems<br>
> vtkRenderer::ResetCamera() did not quite work correctly when I had a<br>
> single vtkMultiVolume with a couple of volumes hooked up. It did not<br>
> center correctly on the two volumes.<br>
><br>
> Just wanted to ask if these were known issues, or if I should report<br>
> them? If I should report them I'll try to make minimal test cases.<br>
><br>
> Cheers,<br>
> Elvis<br>
_______________________________________________<br>
Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=hDuZ4FqdiIojaFN%2FlEQt0TABQg4Ji1rZwRH%2BPGBlQ2Q%3D&reserved=0" target="_blank">
www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=bTVO8rhGvjonn5tSLsZEQugIrlIIk%2FodPoQK%2F1sAZio%3D&reserved=0" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtk-developers&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=3zPLGXbHmYT8hk2wZdzhn6gPDE3VtduSvVKA4FErVck%3D&reserved=0" target="_blank">
http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fvtk.org%2Fmailman%2Flistinfo%2Fvtk-developers&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=fxF7izDNhAs7K%2FseWEbvA2o0hKHQl2ookpSCAzoEzT0%3D&reserved=0" target="_blank">https://vtk.org/mailman/listinfo/vtk-developers</a><u></u><u></u></p>
</blockquote>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<div>
<div>
<div style="border:none;border-bottom:solid #eeeeee 1.0pt;padding:0in 0in 0in 0in">
<h5 style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in;border:none;padding:0in">
<span style="font-size:13.0pt;font-family:"Arial",sans-serif;color:#0b4194">Sankhesh Jhaveri<u></u><u></u></span></h5>
</div>
<h6 style="margin-right:0in;margin-bottom:12.0pt;margin-left:0in" id="m_-4953460435269467891inbox-inbox-inbox-inbox-inbox-inbox-inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417">
<em><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0b5394;font-weight:normal">Sr. Research & Development Engineer</span></em><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0b5394;font-weight:normal"> |
<a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2F&data=02%7C01%7Classo%40queensu.ca%7Ca488edbd802745fee05608d5b5a8734b%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614657511351942&sdata=ucgxmWcWhGA%2BXLxyGZZaTW49W8IjL01WD7lKFqP8MjQ%3D&reserved=0" target="_blank">
Kitware</a> | <a href="tel:(518)%20881-4417" value="+15188814417" target="_blank">(518) 881-4417</a><u></u><u></u></span></h6>
<div>
<p class="MsoNormal"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#00386b"><u></u><u></u></span></p>
</div>
</div>
</div>
</div>
</div></div></blockquote></div></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div class="inbox-inbox-inbox-inbox-inbox-inbox-inbox-markdown-here-wrapper" style="font-family:"proza libre",sans-serif;color:rgb(0,56,107)"><h5 id="inbox-inbox-inbox-inbox-inbox-inbox-inbox-sankhesh-jhaveri" style="margin:1.3em 0px 1em;padding:0px;font-size:1.1em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(238,238,238);font-weight:bold;color:rgb(11,65,148)">Sankhesh Jhaveri</h5>
<h6 id="inbox-inbox-inbox-inbox-inbox-inbox-inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417" style="margin:1.3em 0px 1em;padding:0px;font-size:1em;color:rgb(11,83,148);font-family:"open sans",sans-serif;font-weight:normal"><em>Sr. Research & Development Engineer</em> | <a href="http://www.kitware.com/">Kitware</a> | (518) 881-4417</h6>
<div title="MDH:PGIgc3R5bGU9ImZvbnQtZmFtaWx5OiB2ZXJkYW5hLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDEx
LCA4MywgMTQ4KTsiPjxmb250IHNpemU9IjIiPiMjIyMjU2Fua2hlc2ggSmhhdmVyaTwvZm9udD48
L2I+PGRpdj48Zm9udCBjb2xvcj0iIzBiNTM5NCIgZmFjZT0idmVyZGFuYSwgc2Fucy1zZXJpZiIg
c2l6ZT0iMiI+PGI+PGJyPjwvYj48L2ZvbnQ+PGRpdj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6
IGFyaWFsLCBzYW5zLXNlcmlmOyBjb2xvcjogcmdiKDExLCA4MywgMTQ4KTsiPjxzcGFuIHN0eWxl
PSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsiPjxpPiMjIyMjIypTci4gUmVzZWFy
Y2ggJmFtcDsgRGV2ZWxvcG1lbnQgRW5naW5lZXIqPC9pPiZuYnNwO3wmbmJzcDs8L3NwYW4+PC9z
cGFuPjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFuYSwgc2Fucy1zZXJpZjsgY29sb3I6
IHJnYigxMSwgODMsIDE0OCk7Ij48YSBocmVmPSJodHRwOi8vd3d3LmtpdHdhcmUuY29tLyIgdGFy
Z2V0PSJfYmxhbmsiIHN0eWxlPSJjb2xvcjogcmdiKDE3LCA4NSwgMjA0KTsiPktpdHdhcmU8L2E+
Jm5ic3A7fCZuYnNwOzwvc3Bhbj48c3BhbiBzdHlsZT0iZm9udC1mYW1pbHk6IHZlcmRhbmEsIHNh
bnMtc2VyaWY7IGNvbG9yOiByZ2IoMTEsIDgzLCAxNDgpOyI+KDUxOCkgODgxLTQ0MTc8L3NwYW4+
PGJyPjwvZGl2PjxkaXY+PGRpdj48ZGl2PjxzcGFuIHN0eWxlPSJmb250LWZhbWlseTogdmVyZGFu
YSwgc2Fucy1zZXJpZjsgY29sb3I6IHJnYigxMSwgODMsIDE0OCk7Ij48L3NwYW4+PC9kaXY+PC9k
aXY+PC9kaXY+PC9kaXY+" style="height:0px;width:0px;max-height:0px;max-width:0px;overflow:hidden;font-size:0em;padding:0px;margin:0px"></div></div></div></div>