On Fri, Mar 1, 2013 at 6:18 PM, David Thompson <span dir="ltr"><<a href="mailto:david.thompson@kitware.com" target="_blank">david.thompson@kitware.com</a>></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>
> Set the render bin of your representation/actor to transparent so it<br>
> will be rendered after opaque objects.<br>
> Then you will Need to disable the depth writing for those transparents actors :<br>
> Try something like that :<br>
><br>
> vesSharedPtr<vesDepth> d = vesSharedPtr<vesDepth>(new vesDepth());<br>
> d->setWriteMask(false);<br>
> rep->actor()->material()->addAttribute(d);<br>
><br>
><br>
> Joachim<br>
><br>
> Le 1 mars 2013 à 23:36, David Thompson <<a href="mailto:david.thompson@kitware.com">david.thompson@kitware.com</a>> a écrit :<br>
><br>
>> Hi all,<br>
>><br>
>> I'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>
>><br>
>> Thanks,<br>
>> David<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>
<br>
</div><span class="HOEnZb"><font color="#888888">David Thompson<br>
R&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&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com">www.kitware.com</a>