[vtkusers] Scalars for vtkPolyData

Gary L. Graf glgraf at asu.edu
Fri Aug 23 14:17:39 EDT 2002


Hi,
   The simple cube example provided to illustrate the use of vtkPolyData
assigns single valued scalars to the vertices (?) the value of which is
the index of the vertex.  The result is a nice cube where different
colors blend from corner to corner.  Another example assigns the scalars
using the vtkTuple1 (or 2 3, etc.).  When I use this the coloration
doesn't make sense.  The documentation with regard to what the render
does with those scalars is week.  How are they interpreted.  What does
it do differently between single value scalars and multiple value
scalars.  What is the allowable range and what happens if out of range?
These questions of course relate to the default rendering and not to
cases where specific direction is applied.  Thanks - Gary Graf





More information about the vtkusers mailing list