<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 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">Thanks Ken,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">My suspicions are confirmed. I had a poke around with the ordered compositing code (vtkOrderedCompositeDistributor et al) and saw that the BSP cuts from the D3 filter are set to match those from the PKDTree internally.
 I notice that in the BSPcuts code it says<o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB">&nbsp;
</span><span style="font-size:9.5pt;font-family:Consolas;color:#608B4E;background:black;mso-highlight:black;mso-fareast-language:EN-GB">// Description:</span><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB">&nbsp;
</span><span style="font-size:9.5pt;font-family:Consolas;color:#608B4E;background:black;mso-highlight:black;mso-fareast-language:EN-GB">//&nbsp;&nbsp; Initialize the cuts with arrays of information.&nbsp; This type of</span><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB">&nbsp;
</span><span style="font-size:9.5pt;font-family:Consolas;color:#608B4E;background:black;mso-highlight:black;mso-fareast-language:EN-GB">//&nbsp;&nbsp; information would be obtained from a graph partitioning software</span><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal" style="text-autospace:none"><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB">&nbsp;
</span><span style="font-size:9.5pt;font-family:Consolas;color:#608B4E;background:black;mso-highlight:black;mso-fareast-language:EN-GB">//&nbsp;&nbsp; package like Zoltan.</span><span style="font-size:9.5pt;font-family:Consolas;color:gainsboro;background:black;mso-highlight:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Do you know if there exists such an example. I am infact partitioning the data using Zoltan and have the exact bounds etc of the partitions, so I can work out what to pass into the BSPcuts&nbsp; class and could potentially
 fool the IceT composiining into using my partitions. Can you point me to any crucial function that I must call. Is it sufficient to do a SetCuts on the compositing code &#8211; which class do I need to take control of?).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I shall create a custom representation to handle the depth sort. I&#8217;ve done the same some time ago for the point sprite renderer so I&#8217;ll manage that ok, but I&#8217;ll need to override the IceT compositing pass too
 as alluded to above , so any pointers welcome. (Could I somehow subclass on of the painters for the IceT pass and set the cuts to what I&#8217;ve got, then proceed as usual?)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">JB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;mso-fareast-language:EN-GB">
 Moreland, Kenneth [mailto:kmorel@sandia.gov] <br>
<b>Sent:</b> 19 November 2012 16:13<br>
<b>To:</b> Biddiscombe, John A.<br>
<b>Cc:</b> paraview-developers@paraview.org; paraview@paraview.org<br>
<b>Subject:</b> Re: [Paraview-developers] (Ordered) Compositing question.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">You are correct in that if you disable ordered composite it will disabled the distribution and the composite ordering. The problem is that the geometry distribution also creates a k-d tree structure that the compositing
 uses to determine the visibility order. So it would not be sufficient to simply have geometry that is in non-overlapping pieces. You would also have to provide some meta-structure that could be used to determine an appropriate ordering given a viewpoint. Even
 if you had that, there is no mechanism to feed that to the compositor in the view. I can't think of any way of doing that that would not be a huge hack.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">As far as I know, there is no support for the DepthSortPolyData filter. You would probably have to create a custom representation to support that.&nbsp;<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I believe the transparent lookup table for poly data is supported in 3.98, but to be honest I have not yet tried it.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">-Ken<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt">Sent from my iPad so blame autocorrect.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<br>
On Nov 19, 2012, at 3:46 AM, &quot;Biddiscombe, John A.&quot; &lt;<a href="mailto:biddisco@cscs.ch">biddisco@cscs.ch</a>&gt; wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I have geometry distributed into parallel pieces such that they are non overlapping and therefore compositing should only need to use a back to front sort last frame buffer operation with no redistribution of
 geometry.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">I&#8217;m worried that when I turn on transparency, paraview will try to redistribute my data, even though I have already partitioned it nicely for this. I&#8217;d like to use ordered sort last compositing at the top level,
 and use DepthSortPolyData on each node (no depth peeling for now) to ensure I get a true image. What isn&#8217;t clear to me is if I &#8220;disable ordered compositing&#8221; if this disables the transfer of geometry AND also disables the ordered compositing necessary for correct
 transparent blending (I may be confused here about the blend modes used or the term &#8220;ordered compositing&#8221; as used in the docs).<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Is there written down anywhere a complete description of the pipelines used by the various rendering modes so that I can be sure the pipeline is doing what I want. I can create a custom representation which does
 what I want, but it&#8217;ll take time and if the existing mechanism support it, I shouldn&#8217;t need to.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Also, I specifically want to use a transparent lookuptable, does the newer paraview 3.98 have anything to support this. I thought I&#8217;d seen a thread about this recently, but cannot find it now.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">In summary : For the rendering, I&#8217;d like Ordered sort-last compositing, no geometry redistribution, Depth sort of polygons on each node. Transparent lookup table.<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">What settings should I use <span style="font-family:Wingdings">
J</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">Thanks<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">JB<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB">--
</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB">John Biddiscombe,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email:biddisco @.at.@
<a href="http://cscs.ch">cscs.ch</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB"><a href="http://www.cscs.ch/"><span style="color:windowtext">http://www.cscs.ch/</span></a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB">CSCS, Swiss National Supercomputing Centre&nbsp; | Tel:&nbsp; &#43;41 (91) 610.82.07</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB">Via Trevano 131, 6900 Lugano</span><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Courier New&quot;;mso-fareast-language:EN-GB">,
 Switzerland&nbsp;&nbsp; | Fax:&nbsp; &#43;41 (91) 610.82.82</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
</blockquote>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-language:EN-GB">_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers">http://public.kitware.com/mailman/listinfo/paraview-developers</a><o:p></o:p></span></p>
</div>
</blockquote>
</div>
</body>
</html>