[vtkusers] How to eliminate light and dark shades?

David Gobbi david.gobbi at gmail.com
Sun Apr 2 13:00:28 EDT 2017


Hi Rakesh,

You can try fixing the polygon normals by using vtkPolyDataNormals
with ConsistencyOn().

 - David


On Sun, Apr 2, 2017 at 12:42 AM, Rakesh Patil <rakesh.p at tataelxsi.co.in>
wrote:

> Hi,
>
>
> Anyone got any clue on this?
>
>
> Thanks & Regards
>
> Rakesh Patil
>
> ------------------------------
> *From:* vtkusers <vtkusers-bounces at vtk.org> on behalf of Rakesh Patil <
> rakesh.p at tataelxsi.co.in>
> *Sent:* Friday, March 31, 2017 8:19:41 PM
> *To:* vtkusers at vtk.org
> *Subject:* Re: [vtkusers] How to eliminate light and dark shades?
>
>
> Hi,
>
>
> Forgot to mention in my previous message, please see the attachment for
> the reference.
>
>
> Thanks & Regards
>
> Rakesh Patil
>
> ------------------------------
> *From:* vtkusers <vtkusers-bounces at vtk.org> on behalf of Rakesh Patil <
> rakesh.p at tataelxsi.co.in>
> *Sent:* Friday, March 31, 2017 8:17:27 PM
> *To:* vtkusers at vtk.org
> *Subject:* [vtkusers] How to eliminate light and dark shades?
>
>
> Hi,
>
>
> I am trying to perform boolean operation of two cuboids. Before performing
> boolean operation, the surface representation of the cuboids are shown
> correct. After boolean operation, I am seeing light and dark shades on the
> output object of boolean operation. Earlier I was using VTK 6.3. To check
> the boolean operation functionality (whether vtkBooleanOperationPolyDataFilter
> still produces holes) I was trying with VTK 7.1.
>
>
> I would like to know how can I eliminate those light and dark shades? I
> have disabled scalar visibility and shading.
>
>
> Thanks & Regards
>
> Rakesh Patil
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170402/d81c5f52/attachment.html>


More information about the vtkusers mailing list