<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
@font-face
        {font-family:"Courier New \;color\:blue";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
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;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.hoenzb
        {mso-style-name:hoenzb;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle21
        {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:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:247276760;
        mso-list-template-ids:875299102;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;
        mso-ansi-font-size:10.0pt;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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 bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">That&#8217;s awesome! &nbsp;&nbsp;I&#8217;m currently using the VTK 6.1 build.&nbsp; I&#8217;ll get the nightly version and compile that and see if the issue is resolved.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">I&#8217;ll let you know if the problem still exists.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Doug<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"> Burlen Loring [mailto:burlen.loring@gmail.com]
<br>
<b>Sent:</b> Tuesday, December 03, 2013 3:23 PM<br>
<b>To:</b> Aashish Chaudhary; Doug Hoppes<br>
<b>Cc:</b> vtkusers@vtk.org<br>
<b>Subject:</b> Re: [vtkusers] Is there a way to tell if a video card supports depth peeling?<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">Hi Doug,<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">The depthPeelingWasUsed always returns false (0).&nbsp; From the documentation, it says that, for depth peeling, you really need OpenGL &gt; 1.3.&nbsp; I&#8217;m using the amd radeon 7900.<o:p></o:p></p>
<p class="MsoNormal">Nice card, that should support depth peeling without issue. However historically depth peeling has been disabled for ATI cards. We recently revisited the issue and were able to get dpeth peeling to work on ATI Radeon HD cards. This change
 is in VTK 6.1, so you'll have to upgrade and if you're already at 6.1 then it's a bug.<br>
<br>
Burlen<br>
<br>
On 12/2/2013 6:46 AM, Aashish Chaudhary wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal">Please have a look here:&nbsp; <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="http://www.vtk.org/Wiki/VTK/Depth_Peeling">http://www.vtk.org/Wiki/VTK/Depth_Peeling</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal">Specially this section:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Required OpenGL extensions<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_depth_texture</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=1.4<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_shadow</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=1.4<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_EXT_shadow_funcs</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=1.5<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_vertex_shader</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_fragment_shader</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_shader_objects</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=2.0<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_occlusion_query</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=1.5<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_multitexture</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or OpenGL&gt;=1.3<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_ARB_texture_rectangle</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:1.2pt;margin-left:.25in;text-indent:-.25in;line-height:14.3pt;mso-list:l0 level1 lfo1">
<![if !supportLists]><span style="font-size:10.0pt;font-family:Wingdings"><span style="mso-list:Ignore">§<span style="font:7.0pt &quot;Times New Roman&quot;">&nbsp;
</span></span></span><![endif]><tt><span style="font-size:10.0pt">GL_SGIS_texture_edge_clamp</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or&nbsp;</span><tt><span style="font-size:10.0pt">GL_EXT_texture_edge_clamp</span></tt><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;">&nbsp;or
 OpenGL&gt;=1.2<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class="MsoNormal">On Mon, Dec 2, 2013 at 8:37 AM, Doug Hoppes &lt;<a href="mailto:dhoppes@mbfbioscience.com" target="_blank">dhoppes@mbfbioscience.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi all,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I&#8217;m still playing with making my transparent objects look good.&nbsp; It was suggested that I look at the depth peeling versus vtkdepthsortpolydata (since the depth sort
 isn&#8217;t all that fast).&nbsp; Of course, I read that the depth peeling isn&#8217;t fast, either.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From the documentation, I have implemented (where the actor is a set ofspheres)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">-------<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderWindow</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetAlphaBitPlanes</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(1);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderWindow</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetMultiSamples</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(0);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetActorRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">UseDepthPeelingOn</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">();</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetActorRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetMaximumNumberOfPeels</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(100);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetActorRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetOcclusionRatio</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(0.1);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkPolyDataMapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&gt;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">mapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> =
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkPolyDataMapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&gt;::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">New</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">();</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">mapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetInputConnection</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">appendData</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetOutputPort</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">());</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkActor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&gt;
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> =
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkSmartPointer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&lt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">vtkActor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&gt;::</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">New</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">();</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetMapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">mapper</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetProperty</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetOpacity</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(0.5);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetProperty</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">SetColor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(1,
 0, 0);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">RotateX</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(-72);
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:green">//put the object in a position where it is easy</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">AddActor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">(</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">actor</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">);</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">&nbsp;</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in;text-indent:.5in;text-autospace:none">
<span style="font-size:10.0pt;font-family:&quot;Courier New ;color:blue&quot;,&quot;serif&quot;">int</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">depthPeelingWasUsed</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;"> =
</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">m_pRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetActorRenderer</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">()-&gt;</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;;color:#010001">GetLastRenderingUsedDepthPeeling</span><span style="font-size:10.0pt;font-family:&quot;Courier New&quot;">();</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">-------<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The depthPeelingWasUsed always returns false (0).&nbsp; From the documentation, it says that, for depth peeling, you really need OpenGL &gt; 1.3.&nbsp; I&#8217;m using the amd radeon
 7900.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Doug<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" 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="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<p class="MsoNormal">-- <br>
| Aashish Chaudhary <br>
| R&amp;D Engineer&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; <br>
| Kitware Inc.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br>
| <a href="http://www.kitware.com">www.kitware.com</a>&nbsp; &nbsp; <o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Powered by <a href="http://www.kitware.com">www.kitware.com</a><o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a><o:p></o:p></pre>
<pre><o:p>&nbsp;</o:p></pre>
<pre>Follow this link to subscribe/unsubscribe:<o:p></o:p></pre>
<pre><a href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>