<div dir="auto">Hi Ken,<div dir="auto"><br></div><div dir="auto">Sorry for to take too long to answer back. Reviewing VTK I could notice you have vtkLightKit which seems to do it work as a preset quick setup of lights. What I could notice is that they are allá directional lights, so you can't get, let's say, "realistic shading" with them, as positional lights allow some gradiation on edges with all the vertices with the same normal. I could notice that the lighting model supports positional lights.</div><div dir="auto"><br></div><div dir="auto">Is there any implementation, like vtkLightKit which provides a quick setup of a light model including positional lights? Maybe experimental models which I can take a look on?</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Pato</div></div><div class="gmail_extra"><br><div class="gmail_quote">El 17 ene. 2017 10:18, "Patricio Sandaña" <<a href="mailto:psandana@gmail.com">psandana@gmail.com</a>> escribió:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Hi Ken,<div dir="auto"><br></div><div dir="auto">Many thanks for the hints. I will take a look.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Pato</div><br><div class="gmail_extra"><br><div class="gmail_quote">El 17 ene. 2017 11:08, "Ken Martin" <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> escribió:<br type="attribution"><blockquote class="m_-8334987258741070497quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It is all pretty much in Rendering/OpenGL2/vtkOpenGLPol<wbr>yDataMapper.cxx except for shadows which are in vtkShadowMapBakerPass and vtkShadowMapPass</div><div class="gmail_extra"><br><div class="gmail_quote"><div class="m_-8334987258741070497elided-text">On Tue, Jan 17, 2017 at 8:52 AM, Patricio Sandaña <span dir="ltr"><<a href="mailto:psandana@gmail.com" target="_blank">psandana@gmail.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="m_-8334987258741070497elided-text"><div dir="auto">Hello everyone,<div dir="auto"><br></div><div dir="auto">Can anybody tell me how the lighting model is implemented on VTK? I'm looking for any concrete implementation. I've tracked vtkLights usage, but I got nothing so far.</div><div dir="auto"><br></div><div dir="auto">I want to play with the lighting models, but first I wanted to know how they works.</div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto"><br></div><div dir="auto">Pato</div></div>
<br></div>______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
<br></blockquote></div><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8334987258741070497m_-1417218959569122867gmail_signature" data-smartmail="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:(518)%20371-3971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee.  Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message. 
Thank you.</span></div></div></div>
</font></div>
</blockquote></div><br></div></div></div>
</blockquote></div></div>