<div dir="ltr">Thanks, <div>if I turn off scalars then I see only white color, by the way even after that I see the shadow effects, how can I turn off the shadows in the scene completely.</div><div>I think the problem is with respect to shadows.</div><div><br></div><div>Thanks again.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 16, 2017 at 5:21 AM, David Gobbi <span dir="ltr"><<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Clipping a data set adds scalars to the data set. These scalars are probably causing the strange coloring that you are seeing. You can tell the mapper to ignore the scalars, and use the vtkProperty color instead:</div><div><br></div><div>mapper->ScalarVisibilityOff();</div><div><br></div><div> - David</div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jul 16, 2017 at 2:15 AM, abcd efgh <span dir="ltr"><<a href="mailto:adarshdesai.dsp@gmail.com" target="_blank">adarshdesai.dsp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am new to vtk. I have a 3D polydata, I cut it using vtkClipPolydata.</div><div>Now there are some shadow kind of thing, I have called functions to turn off shadows</div><div>as well as backface culling as off. But still shadow kind of effect remains and the Poly data is sometimes dark due to this.</div><div><br></div><div>Thanks</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>