[vtkusers] Scalars and diffuse lighting
Ken Martin
ken.martin at kitware.com
Thu Oct 13 11:22:37 EDT 2016
I am not completely following your issue. But .. if you are using VTK with
the OpenGL2 back end then the diffuse is based the actor's property when
scalars are not visible. Note that colors and intensity in the actor's
property cover a range of 0.0 to 1.0 not 0.0 to 255.0. If you can explain
your problem a bit more specifically, including what version of VTK you are
using and what rendering backend, the I might be able to help more.
Thanks
Ken
On Thu, Oct 13, 2016 at 9:28 AM, Zivi, Der <cardstudent at balgrist.ch> wrote:
> Hi David
>
> Sorry for digging out this ancient post, but I'm now having the same
> problem.
>
> More specifically, I don't mind that the diffuse coefficient is 1 when
> scalars are shown. But at some point the scalar visibility is reset to 0,
> but the diffues coefficient stays at 1. How can I switch back to using the
> diffuse coefficient set in the actor properties?
>
> Because the diffuse coefficient is only set to 1 once the active scalar is
> set, and there is no reset method...
>
> Frederik
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.
> com/Scalars-and-diffuse-lighting-tp4298628p5740758.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
--
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971
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: <http://public.kitware.com/pipermail/vtkusers/attachments/20161013/d1e3be82/attachment.html>
More information about the vtkusers
mailing list