Re: Add colour and interpolate an STL file with VTK.JS

Sebastien Jourdain via vtkusers <[email protected]> Wed, 27 Feb 2019 14:56:30 -0700
Newsgroups gmane.comp.lib.vtk.user
Message-ID <CABObKxe1pQdSZ2bYgDdUEFk0TOwRZ-dsiCzkS173C-XpJHgStQ@mail.gmail.com>
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.

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
https://vtk.org/mailman/listinfo/vtkusers
PastedGraphic-1.png (image/png, 75.2 KB) - not displayed