On Sun, Nov 25, 2012 at 8:41 AM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The resolution of the plane is too small (it is one polygon). Set its<br>
resolution to 100 and everything works ok.</blockquote><div><br></div>Ah, this even fixes the first problem - it now works with the camera at (0,0,1) as well. I guess I thought that lighting would be applied in pixel space in the renderer rather than in "vtk cell" space (i.e. I didn't think the underlying composition of the plane would have mattered for this).<div>
<br></div><div>Dmitir, let us know if this does not get you farther: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Lighting/Light">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Lighting/Light</a></div><div><br></div><div>Thanks Bill!</div>
</div>