[Paraview] OSPRay, scaled spheres

David E DeMarle dave.demarle at kitware.com
Wed Oct 25 15:35:39 EDT 2017


To change the size based on values:
check "OSPRay Use Scale Array" on "Display" section or "Properties" Tab
Choose the array name you want to scale by with "OSPRay Scale Array"
pulldown.
Define your value to radius transfer function via the "OSPRay Scale
Function" popup editor.

Note 1: the transfer function is defined to map between 0.0 and 1.0 and
clamp outside of that range. Use a calculator to scale and bias into that
range. If you don't like having to do this, file a feature request to
remind the developers to implement it one of these days such that min is
defined to be array min and max.

Note 2:Cutter will not cut through the implicit spheres.

Note 3: Point Gaussian representation's Use Scalar Array, Guassian Scale
Array and Scale Transfer Function (which I riffed off of) are similar. I'm
not sure about scale and bias and cut with this GL shader based side.


David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Wed, Oct 25, 2017 at 3:16 PM, Heiland, Randy <heiland at iu.edu> wrote:

> Just want to make sure I’m not missing something. In my Pgmable Source
> PolyData, I render Points and love the OSPRay-rendered spheres. However, is
> there any mechanism for (independently) scaling these, i.e., other than the
> fixed Point Size? Or is the only way to get scalar-value scaled spheres via
> the Glyph filter? If so, is it possible to control the
> resolution/triangulation of that glyph? Basically, I’m looking for ways of
> getting high-res spheres, but will also want to use vtkCutter on them later.
>
> thanks, Randy
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171025/f9ccf1a0/attachment.html>


More information about the ParaView mailing list