<div dir="ltr">You would need to give me a more specific example for me to help. That change mostly impacted meshes that use scalar coloring. But in general the color on screen is driven by diffuse ambient and specular colors and properties make sure those are set to reasonable values. <div><br></div><div>Maybe find a mesh where you see an issue and let me know what the ambient/diffuse/specular colors and intensities are for the mesh. No texturing. No backface properties. No scalar coloring. Maybe go from there...<div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 3, 2017 at 1:34 PM, Seun Odutola <span dir="ltr"><<a href="mailto:seun@rogue-research.com" target="_blank">seun@rogue-research.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I recently discovered whilst working with VTK master that some meshes are completely rendered dark in colour compared to others; meshes that rely on their material (actor’s properties) are mostly affected. I tracked the occurrence of this change down to the following commit below and was wondering the essence of the change, also if need be how can one replicate the previous rendering behaviour.<br>
<br>
- commit 7bc7e58334bcd1eac12adb6db22d6c<wbr>45cf8fca74<br>
Author: Ken Martin <<a href="mailto:ken.martin@kitware.com">ken.martin@kitware.com</a>><br>
Date: Thu Aug 31 13:08:58 2017 -0400<br>
<br>
update handling of scalar material mode<br>
<br>
Previously scalar material mode when used<br>
with scalars would ignore the ambient and diffuse<br>
material intensities and when mapping one of them<br>
set that one to 1.0 while leaving th eother alone.<br>
This caused lots of odd situations where objects would be<br>
over illuminated etc or where changing the diffuse or<br>
ambient seemed to have o impact.<br>
<br>
With this change the diffuse and ambient intensities<br>
are always used. The sclaar simply controls the color<br>
not the intensity.<br>
<br>
<br>
Thanks.<br>
<br>
Regards,<br>
Seun.<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>28 Corporate Drive<br>Clifton Park NY 12065<br><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">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.</span></div></div></div></div></div>
</div>