[Paraview] OSPRay Surface Opacity
Stefano Capra
steve.capra at gmail.com
Thu Sep 7 10:05:44 EDT 2017
Hi David,
thanks for the quick reply.
I can confirm opacity changes work if I set the actor representation to
Solid Color.
It would be great if the new release could have the aoTransparencyEnabled
flag as something that can be switch on and off using a tick
Kind Regards
Ste
2017-09-07 14:39 GMT+01:00 David E DeMarle <dave.demarle at kitware.com>:
> A couple of observations:
>
> 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.
>
> 2) we turn on aoTransparencyEnabled whenever there are volumes in the scene
> https://gitlab.kitware.com/vtk/vtk/blob/master/Rendering/
> OSPRay/vtkOSPRayRendererNode.cxx#L870
> 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).
>
> Feel free to submit patches or bug reports to for either of those things
> to help us remember to improve them.
>
>
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal Engineer
> 21 Corporate Drive
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g>
> Clifton Park, NY 12065
> <https://maps.google.com/?q=21+Corporate+Drive+Clifton+Park,+NY+12065&entry=gmail&source=g>
> -8662
> Phone: 518-881-4909 <(518)%20881-4909>
>
> On Thu, Sep 7, 2017 at 2:57 AM, Stefano Capra <steve.capra at gmail.com>
> wrote:
>
>> Good morning,
>> I am running ParaView 5.4.1-Qt5-OpenGL2-Windows-64bit and I was
>> wondering if there is a way to activate the opacity rendering while using
>> OSPRay ambient occlusion
>>
>> In the OSPRay website I have found this:
>> "New SciVis renderer parameter aoTransparencyEnabled, controlling whether
>> object transparency is respected when computing ambient occlusion (disabled
>> by default, as it is considerable slower)"
>>
>> However I am not sure how to change that parameter in ParaView
>>
>> Thanks
>> SC
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the ParaView Wiki at:
>> http://paraview.org/Wiki/ParaView
>>
>> Search the list archives at: http://markmail.org/search/?q=ParaView
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview
>>
>
>
--
Stefano Capra
Contacts:
steve.capra at gmail.com
+44 (0)7528622152
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170907/6a5e9c6f/attachment.html>
More information about the ParaView
mailing list