<div dir="ltr">Andras, <div><br></div><div>Do you have a sample VTK program that can re-create this? that would be very useful. </div><div><br></div><div>- aashish</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_-5440317404489912715WordSection1">
<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_-5440317404489912715WordSection1">
<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_-5440317404489912715inbox-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>
_______________________________________________<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/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://vtk.org/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">https://vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</blockquote></div>