[vtkusers] Black spots while rendering a polydata mesh

David Doria daviddoria at gmail.com
Fri Dec 9 07:01:32 EST 2011


On Fri, Dec 9, 2011 at 12:44 AM, chytu <chyt_n_ya at yahoo.com> wrote:
> I am sure I am missing something here. I have tried setting:
>  - ambient light (using renderer->SetAmbient(2.0f,2.0f,2.0f);)
>  - two sided lighting (using renderer->SetTwoSidedLighting(1);)
>  - increasing light intensity (using light->SetIntensity(1.5f);) after
> setting light->SetLightTypeToSceneLight();
>
> but I am unable to remove those black spots. I am a noob in VTK, so please
> help me with this.
>
> Thanks,
> Chytu.

Can you upload the file and post a link? I've never seen anything like that.

David



More information about the vtkusers mailing list