On Fri, Mar 1, 2013 at 6:18 PM, David Thompson <span dir="ltr">&lt;<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, Joachim. That fixed it.<br>
<br>
Is there a good place for me to document this? (Would a doxygen comment for vesKiwiPolyDataRepresentation::setColor() and/or vesMapper::setColor() be appropriate?)<br></blockquote><div><br></div><div>Thanks Joachim. Putting this note right in the code would be ideal I think.  </div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
        David<br>
<div class="im HOEnZb"><br>
&gt; Set the render bin of your representation/actor to transparent so it<br>
&gt; will be rendered after opaque objects.<br>
&gt; Then you will Need to disable the depth writing for those transparents actors :<br>
&gt; Try something like that :<br>
&gt;<br>
&gt; vesSharedPtr&lt;vesDepth&gt; d = vesSharedPtr&lt;vesDepth&gt;(new vesDepth());<br>
&gt; d-&gt;setWriteMask(false);<br>
&gt; rep-&gt;actor()-&gt;material()-&gt;addAttribute(d);<br>
&gt;<br>
&gt;<br>
&gt; Joachim<br>
&gt;<br>
&gt; Le 1 mars 2013 à 23:36, David Thompson &lt;<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>&gt; a écrit :<br>
&gt;<br>
&gt;&gt; Hi all,<br>
&gt;&gt;<br>
&gt;&gt; I&#39;ve got a vesKiwiPolyDataRepresentation on which I call setColor(1,1,1, 0.3) but VES does not appear to render the translucent objects last with depth testing off (although blending does appear to happen correctly). Is this a bug or am I responsible for doing something special with the scene graph (and if so, what)?<br>

&gt;&gt;<br>
&gt;&gt;   Thanks,<br>
&gt;&gt;   David<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Ves mailing list<br>
&gt;&gt; <a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
&gt;&gt; <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br>
</div><span class="HOEnZb"><font color="#888888">David Thompson<br>
R&amp;D Engineer – Kitware, Inc.<br>
<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a><br>
<a href="tel:%28919%29869-8868" value="+19198698868">(919)869-8868</a><br>
Suite G-4<br>
101 E. Weaver St.<br>
Carrboro, NC 27510<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&amp;D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>