<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Lucida Sans";
panose-1:2 11 6 2 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
h5
{mso-style-priority:9;
mso-style-link:"Heading 5 Char";
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:10.0pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
h6
{mso-style-priority:9;
mso-style-link:"Heading 6 Char";
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:7.5pt;
font-family:"Times New Roman",serif;
font-weight:bold;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.Heading5Char
{mso-style-name:"Heading 5 Char";
mso-style-priority:9;
mso-style-link:"Heading 5";
font-family:"Calibri Light",sans-serif;
color:#2E74B5;}
span.Heading6Char
{mso-style-name:"Heading 6 Char";
mso-style-priority:9;
mso-style-link:"Heading 6";
font-family:"Calibri Light",sans-serif;
color:#1F4D78;}
span.EmailStyle22
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you. I’m working on creating a minimal example that reproduces the issue.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Andras<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></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"> Aashish Chaudhary <aashish.chaudhary@kitware.com>
<br>
<b>Sent:</b> Wednesday, May 9, 2018 12:17 PM<br>
<b>To:</b> Andras Lasso <lasso@queensu.ca><br>
<b>Cc:</b> VTK Developers <vtk-developers@vtk.org>; Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com><br>
<b>Subject:</b> Re: [vtk-developers] Some vtkMultiVolume questions/issues<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Andras, <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Do you have a sample VTK program that can re-create this? that would be very useful. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">- aashish<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal">On Wed, May 9, 2018 at 11:51 AM Andras Lasso <<a href="mailto:lasso@queensu.ca">lasso@queensu.ca</a>> wrote:<o:p></o:p></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">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Hi Sankhesh,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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).</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.slicer.org%2Fview.php%3Fid%3D4548&data=02%7C01%7Classo%40queensu.ca%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=CYp4dDM3R5cFaiGUN5n6OyZNkT47QQ9EWzKUyHLLwD4%3D&reserved=0" target="_blank">
https://issues.slicer.org/view.php?id=4548</a></span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">It would be great if you could look into this.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thanks a lot,</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Andras</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Hi Elvis,</span><o:p></o:p></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.</span><o:p></o:p></p>
<p style="margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Thanks,<br>
Sankhesh</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#0B5394"></span><o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">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:<o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:auto;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><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">--
<o:p></o:p></p>
<div>
<div>
<div>
<div style="border:none;border-bottom:solid #EEEEEE 1.0pt;padding:0in 0in 0in 0in">
<h5 style="margin-bottom:12.0pt"><span style="font-size:13.0pt;font-family:"Arial",sans-serif;color:#0B4194">Sankhesh Jhaveri</span><o:p></o:p></h5>
</div>
<h6 style="margin-bottom:12.0pt" 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" target="_blank">(518) 881-4417</a></span><o:p></o:p></h6>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#00386B"></span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=KPyu81t9k0qsuBnwmqCrhQGl61gu1278ataYJtvvQDo%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=fHEPEy6yZdnJKB1yrQzkMFh3keIIBDnMwtpZzeDjpew%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=oBV1r%2FB7CqiOsmSB4CyfQOl8%2BUk%2BED6Yj1oGGWgmc2I%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%7Cd467aa38ce5245f08f1908d5b5c85ea2%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636614794540003463&sdata=9vV70t0ylG3Ezog2SysB231q8QRw0%2BWGT1DWdMciYkA%3D&reserved=0" target="_blank">https://vtk.org/mailman/listinfo/vtk-developers</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</body>
</html>