Hi,<br><br>I am new to Vtk libraries. I have extended my own testVtkPanel from vtkPanel. And when I render an object I am getting some extra light and hence some glare over the 3D object. this is unwanted.<br><br>I did the same using the vtkRenderWindow and the colors I ordered looked just perfect. Only difference in both the codes is just the vtkPanel.<br>
<br>I tried to remove the light using<br><br> vtkLightCollection vlc = GetRenderer().GetLights();<br> vlc.RemoveAllItems();<br clear="all"><br>but there are no items in the collection to get removed.<br><br>
How can I remove the lights in the panel?<br><br>thanks in advance,<br><br>Regards<br>-- <br>Rajesh Rapaka<br>Computer Engineer,<br>Image processing & Java.