[vtkusers] How to display a object without lighting?

Lin M majcjc at gmail.com
Fri Nov 28 05:55:53 EST 2014


Hi guys,

I implemented a Spherical Harmonics Lighting in my program and set the
illuminance as the vertex color. I hope to display the object just with the
color array which I set and do not add any effect from the light in vtk.
(Or it can be interpreted each vertex illuminated itself, the brightness is
stored in its color) If I just switch off the light, it shows all dark. So
this is not workable. Any suggestions? Thank you!

Best,
Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20141128/af0cb685/attachment.html>


More information about the vtkusers mailing list