<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;}
@font-face
        {font-family:"Open Sans";
        panose-1:2 11 6 6 3 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-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:"Calibri",sans-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:"Calibri",sans-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.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:11.0pt;
        font-family:"Calibri",sans-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:#2F5496;}
span.Heading6Char
        {mso-style-name:"Heading 6 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 6";
        font-family:"Calibri Light",sans-serif;
        color:#1F3763;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.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">Hi Sankhesh,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for the quick answer! Just in a nutshell, what would be needed to do programming-wise to add shading in the code?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also I’m wondering if the situation about funding applies to bugfixes as well? I am struggling with issues related to per-volume visibility and user transforms, and I think I’ll get back to you soon with self-contained test cases once I
 was able to figure out which of these are on the VTK side and how to reproduce them easily.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">csaba<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><b>From:</b> Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com>
<br>
<b>Sent:</b> Monday, April 23, 2018 21:15<br>
<b>To:</b> Csaba Pinter <csaba.pinter@queensu.ca><br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] vtkMultiVolume and shading<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<div>
<p style="margin-left:.5in"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Hi Csaba,<o:p></o:p></span></p>
<p style="margin-left:.5in;margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">I don’t believe there is a technical limitation. It was merely that the original effort for adding multiple overlapping volumes support was focused
 on selected features. I am not aware of current efforts/funding to add support for additional features like shading, different blend modes, etc.<o:p></o:p></span></p>
<p style="margin-left:.5in;margin:1.2em!important"><span style="font-family:"Lucida Sans",sans-serif;color:#0B5394">Thanks,<br>
Sankhesh<o:p></o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><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"><o:p></o:p></span></p>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">On Mon, Apr 23, 2018 at 3:45 PM Csaba Pinter <<a href="mailto:csaba.pinter@queensu.ca">csaba.pinter@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;margin-left:.5in">
Hello,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
 <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
I’m experimenting with using vtkMultiVolume to add proper multi-volume rendering support into 3D Slicer. My main question is the reason behind this actor not supporting shading, as apparent when used, but also mentioned in the corresponding test:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FKitware%2FVTK%2Fblob%2Fmaster%2FRendering%2FVolume%2FTesting%2FCxx%2FTestGPURayCastMultiVolumeOverlapping.cxx%23L229&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=BzBxWsRJBeTCZlDe0GkyvNWx5hCLc1XrO84qbwXEOcQ%3D&reserved=0" target="_blank">https://github.com/Kitware/VTK/blob/master/Rendering/Volume/Testing/Cxx/TestGPURayCastMultiVolumeOverlapping.cxx#L229</a><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
Is this a technical limitation that would be very hard to overcome, or is it something simpler? I’m asking this because for this actor to be really used for volume rendering, shading would be necessary.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
 <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
Thank you,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
Csaba<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in">_______________________________________________<br>
Powered by <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=57Yq0VwIuZoeWe6KkNXsY7naiVKGKBUmhHhhwijll1Q%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%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=piDoF9cjGhhOydqZs6ZdS6YDn2dg3bCuq%2BC1EQsJpts%3D&reserved=0" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=pO6if26SgR5OfmQM8OrelscD8FRphSKWL4o90TIRtFQ%3D&reserved=0" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</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%3Dvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=rwDWu2sG2f0X%2BjM%2ByOT1zKvrWJTwfyIVjX93O7IaAGg%3D&reserved=0" target="_blank">
http://markmail.org/search/?q=vtkusers</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%2Fvtkusers&data=02%7C01%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=e0OEG5WLJ0lXdlP322JW5qZ20fMJDbcRLS6cL6nnirM%3D&reserved=0" target="_blank">https://vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:.5in">-- <o:p></o:p></p>
<div>
<div>
<div>
<div style="mso-element:para-border-div;border:none;border-bottom:solid #EEEEEE 1.0pt;padding:0in 0in 0in 0in;margin-left:.5in;margin-right:0in">
<h5 style="mso-margin-top-alt:15.6pt;margin-right:0in;margin-bottom:12.0pt;margin-left:0in;border:none;padding:0in">
<span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:#0B4194">Sankhesh Jhaveri<o:p></o:p></span></h5>
</div>
<h6 style="mso-margin-top-alt:15.6pt;margin-right:0in;margin-bottom:12.0pt;margin-left:.5in" id="inbox-inbox-inbox-inbox-inbox-inbox-inbox--sr-research-development-engineer-kitware-http-www-kitware-com-518-881-4417">
<em><span style="font-size:11.0pt;font-family:"Open Sans",sans-serif;color:#0B5394;font-weight:normal">Sr. Research & Development Engineer</span></em><span style="font-size:11.0pt;font-family:"Open Sans",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%7Ccsaba.pinter%40queensu.ca%7C8a6428523d3447bb73a508d5a980de7d%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636601293328785436&sdata=cJxaH8qjP42kC3pmhbtpaFcfpAshEgSCANwA%2FzfrVF0%3D&reserved=0">
Kitware</a> | (518) 881-4417<o:p></o:p></span></h6>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:1.0pt;font-family:"Arial",sans-serif;color:#00386B">​<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>