<div dir="ltr">Hi David,<div>thanks for the quick reply.</div><div><br></div><div>I can confirm opacity changes work if I set the actor representation to Solid Color.<br><br>It would be great if the new release could have theĀ <span style="font-size:12.8px">aoTransparencyEnabled flag as something that can be switch on and off using a tick</span></div><div><br></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Kind Regards</span></div><div><span style="font-size:12.8px">Ste</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-09-07 14:39 GMT+01:00 David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">A couple of observations:<div><br></div><div>1) for surface rendering with color mapped array, vtk's OSPRay interface we does not yet respect transparency (either at the actor level or in the alpha channel of the colormap). If you use a solid color for the entire actor (PV GUI color choice is "Solid Color" instead of one of the arrays in the data) then we do respect opacity.<br></div><div><br></div><div><div>2) we turn on aoTransparencyEnabled whenever there are volumes in the scene</div><div><a href="https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/OSPRay/vtkOSPRayRendererNode.cxx#L870" target="_blank">https://gitlab.kitware.com/<wbr>vtk/vtk/blob/master/Rendering/<wbr>OSPRay/vtkOSPRayRendererNode.<wbr>cxx#L870</a><br></div><div>If your scene doesn't have volumes in it, then you'll need to compile from source and enable that generally (remove the if conditon).</div><div><br></div><div>Feel free to submit patches or bug reports to for either of those things to help us remember to improve them.</div><div><br></div><div><br></div><div><br></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="m_235357124356760052gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>David E DeMarle<br>Kitware, Inc.<br>Principal Engineer<br><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g">21 Corporate Drive</a><br><a href="https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g">Clifton Park, NY 12065</a>-8662<br>Phone: <a href="tel:(518)%20881-4909" value="+15188814909" target="_blank">518-881-4909</a></div></div></div></div></div></div>
<br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 7, 2017 at 2:57 AM, Stefano Capra <span dir="ltr"><<a href="mailto:steve.capra@gmail.com" target="_blank">steve.capra@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">Good morning,<br>
I am running ParaView 5.4.1-Qt5-OpenGL2-Windows-64bi<wbr>t and I was wondering if there is a way to activate the opacity rendering while using OSPRay ambient occlusion<br>
<br>
In the OSPRay website I have found this:<br>
"New SciVis renderer parameter aoTransparencyEnabled, controlling whether object transparency is respected when computing ambient occlusion (disabled by default, as it is considerable slower)"<br>
<br>
However I am not sure how to change that parameter in ParaView<br>
<br>
Thanks<br>
SC<br></div></div>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Stefano Capra<br><br>Contacts:<br><a href="mailto:steve.capra@gmail.com" target="_blank">steve.capra@gmail.com</a><br>+44 (0)7528622152<br><div><br></div></div></div></div>
</div>