<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Ok, I'll do that! All of those light types are in VTK, but the naming convention is what throws me off. The reason why I mentioned this is because there are other light sources
besides those three that act very differently, yet still could logically be called scene lights. Basically, I would just like to use the common names for them.
<div><br>
</div>
<div>VTK has HeadLights (spotlight), SceneLights (spot/point lights), CameraLights (spot/point), and DirectionalLights (directional). I would do this:</div>
<div><span style="font-size: 10pt;"><br>
</span></div>
<div><span style="font-size: 10pt;">- Light</span></div>
<div><span style="font-size: 10pt;"> + Directional</span></div>
<div><span style="font-size: 10pt;"> + Point</span></div>
<div><span style="font-size: 10pt;"> - Spot (could be implemented differently than point)</span></div>
<div><span style="font-size: 10pt;"> + Head</span></div>
<div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF500750" style="direction: ltr;"><font face="Tahoma" size="2" color="#000000"><b>From:</b> Alexis Girault [alexis.girault@kitware.com]<br>
<b>Sent:</b> Tuesday, January 24, 2017 4:38 PM<br>
<b>To:</b> Milef, Nicholas Boris<br>
<b>Cc:</b> imstk-developers@imstk.org<br>
<b>Subject:</b> Re: [Imstk-developers] Light Types<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">Feel free to change up all this. We'll just have to add warnings when one of the modes you want to implement isn't part of VTK when using VTK rendering. You might also want to remove the vtkLight from the imstkLight and have a conversion instead
of simply wrapping vtk.
<div><br>
</div>
<div>From what you told me we could have directional (not in VTK?), point light (not in vtk?), spot light, head light (easy interface to spotlight on camera).</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>