<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div>Thank you for the explanation. I'm sorry, if I'm missing something obvious but this is my first time doing something like this. </div>
<div><br>
</div>
<div>What I need to achieve is interpolation between the points with colour to give a pressure map across the entire model.</div>
<div><br>
</div>
<div>What you have said makes sense, I'm just not sure how to change my code in order to achieve what I want to achieve.. </div>
<div><br>
</div>
<div>Thanks,</div>
<div>Shruti.</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>-------- Original message --------</div>
<div>From: Sebastien Jourdain <sebastien.jourdain@kitware.com> </div>
<div>Date: 27/02/2019 21:57 (GMT+00:00) </div>
<div>To: "Turner, Shruti" <s.turner17@imperial.ac.uk> </div>
<div>Cc: vtkusers@vtk.org </div>
<div>Subject: Re: [vtkusers] Add colour and interpolate an STL file with VTK.JS </div>
<div><br>
</div>
<div>
<div dir="ltr">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.
<div>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.</div>
<div>So interpolating from 0 to 0 give you a solid color.</div>
</div>
</div>
</body>
</html>