[vtkusers] The difference between vtk8.1 and vtk.s in volume rendering

Ken Martin ken.martin at kitware.com
Tue Aug 21 08:39:43 EDT 2018

Might be that not everything is being set and the two have different
defaults. Is shading turned on in vtk.js. ala volumeProperty.setShade(true)
also maybe include snippits showing the setup of the
volume/mapper/properties in C++ and JS

On Mon, Aug 20, 2018 at 9:44 PM, Feng Yang <newcowbow1104 at gmail.com> wrote:

> Hi Sir.
>      I'm working on medical imaging volume rendering with vtk.js in my
> application.
>      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.
>      Why is that?
>      BTW:
>      VTK is 8.1.1
>      vtk.js is 7.4.10.
> thanks.
> _______________________________________________
> 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://public.kitware.com/mailman/listinfo/vtkusers

Ken Martin PhD
Distinguished Engineer
Kitware Inc.
101 East Weaver Street
Carrboro, North Carolina
27510 USA

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180821/3e1081e5/attachment.html>

More information about the vtkusers mailing list