[vtkusers] Problem with shadows

abcd efgh adarshdesai.dsp at gmail.com
Mon Jul 17 14:31:11 EDT 2017


Thanks,
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.
I think the problem is with respect to shadows.

Thanks again.

On Sun, Jul 16, 2017 at 5:21 AM, David Gobbi <david.gobbi at gmail.com> wrote:

> 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:
>
> mapper->ScalarVisibilityOff();
>
>  - David
>
> On Sun, Jul 16, 2017 at 2:15 AM, abcd efgh <adarshdesai.dsp at gmail.com>
> wrote:
>
>> Hello,
>>
>> I am new to vtk. I have a 3D polydata, I cut it using vtkClipPolydata.
>> Now there are some shadow kind of thing, I have called functions to turn
>> off shadows
>> as well as backface culling as off. But still shadow kind of effect
>> remains and the Poly data is sometimes dark due to this.
>>
>> Thanks
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170717/9dd81ce7/attachment.html>


More information about the vtkusers mailing list