<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
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;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Ken<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">></span><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If I understand correctly, you are looking to either turn off the IceT compositing since you are doing it yourself or to use IceT to composite using your custom operator. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#1F497D"><<o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">yes that’s about right.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal">IceT supports a mode that will in effect turn off compositing. I think the ParaView representation/view classes support turning this on for the case when geometry is collected. Utkarsh would know better than me how to turn this on in ParaView. <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Good. turning it off would be one way to go and is probably the easiest method. It will still leave us with a ‘poor’ implementation using MPIReduce, but at least there’s not a second composite step. The downside
is that it precludes the possibility that we might combine the splotch render with another dataset rendered using standard mappers. currently I set the z position of the generated image to the far clipping plane and then other geometries are overlaid on top,
this is the best I can hope for without a lot of complex depth tests which would require a mapper having access to multiple datasets.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If turning off the compositing is easy then we’ll do that for now, but ...<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">><o:p> </o:p></p>
<p class="MsoNormal">The second mode of using IceT with your custom composite operation is not directly supported, yet. Currently IceT only supports the hard coded operations of Z compare and alpha blending. That said, adding a custom compositing mode should
be pretty straightforward. I'd be willing to add that core capability to IceT if someone else was willing to add corresponding changes to the ParaView code.<o:p></o:p></p>
<p class="MsoNormal"><<o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">OK, this would be great although I suspect my issue from above, that combining the splotch render with another dataset would break mixing of those datasets. I knew that this would be a problem, but I secretly
hoped that you’d suggest some other method. I tried fooling iceT by manually calling IceTSetCompositeMode etce tc, but didn’t have any luck. If Utkarsh knows how to disable the compositing then I may be able to modify the technique to achive something interesting.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">new idea :<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">What about this : the blend operator is something like pix1*alpha + pix2*(1-alpha). if order was not important, would it be doable for us to premultiply each pixel by N(=numranks), set alpha for each pixel to
0.5 and then we’d get 1/N contributions all equally weighted and scaled by N to bring back the original image? I could reuse the zoltan partiioning stuff I worked on before to do an efficient redistribution and then use a standard blend mode and bypass the
paraview data redistribution using our kdtree from zoltan. This ought tow work. I’ll give it a try. Mind you if the blend operation is different, then I may need a new plan...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">thanks for the feedback<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">JB<o:p></o:p></span></p>
</div>
</div>
</body>
</html>