<div dir="ltr">Hi Sir.<div>
<span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I'm working on medical imaging volume rendering with vtk.js in my application.</span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> I tried to set the same color and scalarOpacity parameters both in vtk(C++) and vtk.js. And I thought the result was the same. But It seems I'm wrong. The output are totally different, Just like the attachments. </span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> Why is that?</span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> BTW:</span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> VTK is 8.1.1</span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> vtk.js is 7.4.10.</span></div><div><span style="font-size:14px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:14px">thanks.</span></div></div>