A patch to factor in point size control can be found here:
https://gitlab.kitware.com/vtk/vtk/merge_requests/3499
David E DeMarle
Kitware, Inc.
Principal Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909
On Thu, Oct 26, 2017 at 9:04 AM, David E DeMarle
Looks like:
1) I was wrong, you don't need to scale and bias the input array into 0..1.
The transfer function editor widget's piecewise range controls let you
specify what the input domain extent.
2) You are correct that there isn't currently a way to get the radii to be
> 1.0 when applying the
Recapping, hopefully the relevant bits:
Pipeline: PgmableSource -> Glyph (only show Glyph)
Glyph Properties:
Source: 2D Glyph
Type: Vertex
Active Attrs: Scalars: cell_radius
Scaling: Mode: scalar
Factor: 1
OSPRay Use Scale Array - yes
Scale Array: cell_radius
Beauty. Thanks!! (I really need to take time to read the entire PV Guide)
> On Oct 25, 2017, at 5:14 PM, David E DeMarle wrote:
>
> click the gear to show advanced properties, or use search field for glyph
> type.
>
>
>
> David E DeMarle
> Kitware, Inc.
> Principal
click the gear to show advanced properties, or use search field for glyph
type.
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 5:11 PM, Heiland, Randy wrote:
> You lost me - in the
You lost me - in the Glyph Source block,I select Glyph Type = 2D Glyph. Then
where is VERTEX? In the Display block, I choose Representation = Points which
produces a blobby mess. But a very *smooth* blobby mess :)
> On Oct 25, 2017, at 4:46 PM, David E DeMarle wrote:
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:
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
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
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
10 matches
Mail list logo