[vtkusers] Add colour and interpolate an STL file with VTK.JS

Sebastien Jourdain sebastien.jourdain at kitware.com
Wed Feb 27 16:56:30 EST 2019


That looks correct (respecting what you are asking vtk to draw), you seems
to only have data on a couple of them where you see variation of color
within some triangles.
The rest remain a single color as those values are the same and since you
did not reversed the hue range, those values are probably 0.
So interpolating from 0 to 0 give you a solid color.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190227/5c239020/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.png
Type: image/png
Size: 77020 bytes
Desc: not available
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190227/5c239020/attachment.png>


More information about the vtkusers mailing list