<div dir="ltr">Your scalars should remain what ever they truly are (Float32/64, Int8/16/32, Uint8/16/32)...<div>Then you need to tell the mapper which array to color by. You can look at that example which allow you to dynamically pick the array to color by</div><div><a href="https://kitware.github.io/vtk-js/examples/GeometryViewer.html">https://kitware.github.io/vtk-js/examples/GeometryViewer.html</a><br></div><div><a href="https://github.com/Kitware/vtk-js/blob/master/Examples/Applications/GeometryViewer/index.js#L280-L328">https://github.com/Kitware/vtk-js/blob/master/Examples/Applications/GeometryViewer/index.js#L280-L328</a><br></div><div><br></div><div><br></div><div><div><img src="cid:ii_jjr7vxqn0" alt="example.jpg" width="562" height="497"><br></div>In fact if you want to contribute your reader to vtk.js you could directly use ParaViewGlance <a href="https://kitware.github.io/paraview-glance/">https://kitware.github.io/paraview-glance/</a></div><div><br></div><div>HTH,</div><div><br></div><div>Seb</div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 18, 2018 at 7:19 AM marf <<a href="mailto:marvin.huber@basf.com">marvin.huber@basf.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ok nevermind, a lot of this became clear now and even though I can't really<br>
articulate anything about it yet, I understand all this stuff a lot better I<br>
guess and will be able to move forward<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html" rel="noreferrer" target="_blank">http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html</a><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">https://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div>