[Paraview] OSPRay, scaled spheres

David E DeMarle dave.demarle at kitware.com
Wed Oct 25 16:46:57 EDT 2017


That control is only available if the representation type is surface, this
could explain why you don't see it on the ProgrammableSource.

In the glyph filter, use 2D glyph, VERTEX.





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 4:29 PM, Heiland, Randy <heiland at iu.edu> wrote:

> I only see the “OSPRay Use Scale Array” on the Properties for Glyph, not
> the Props for the ProgrammableSource. Expected? And so, OSPRay is rendering
> the chunky polygonalized spherical glyphs (Representation = Surface).
>
> If I could independently scale the implicit spheres and use OSPRay, I’d
> prefer that until I do the vtkCutter. (thanks for confirming, Note 2)
>
>
>
> On Oct 25, 2017, at 3:35 PM, David E DeMarle <dave.demarle at kitware.com>
> wrote:
>
> 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
> <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 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/488c27bc/attachment.html>


More information about the ParaView mailing list