<p dir="ltr">If you need this for Vulkan, please have this as a separate branch to have a MR independent from Vulkan that we could merge before, so that your Vulkan MR can be based on it later on. </p>
<br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 24, 2017, 17:10 Milef, Nicholas Boris <<a href="mailto:milefn@rpi.edu">milefn@rpi.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="gmail_msg">
<div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt" class="gmail_msg">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 class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">VTK has HeadLights (spotlight), SceneLights (spot/point lights), CameraLights (spot/point), and DirectionalLights (directional). I would do this:</div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg"><br class="gmail_msg">
</span></div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg">- Light</span></div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg"> + Directional</span></div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg"> + Point</span></div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg"> - Spot (could be implemented differently than point)</span></div>
<div class="gmail_msg"><span style="font-size:10pt" class="gmail_msg"> + Head</span></div>
<div class="gmail_msg">
<div style="font-family:Times New Roman;color:#000000;font-size:16px" class="gmail_msg">
<hr class="gmail_msg">
<div id="m_3945039635926239758divRpF500750" style="direction:ltr" class="gmail_msg"><font face="Tahoma" size="2" color="#000000" class="gmail_msg"><b class="gmail_msg">From:</b> Alexis Girault [<a href="mailto:alexis.girault@kitware.com" class="gmail_msg" target="_blank">alexis.girault@kitware.com</a>]<br class="gmail_msg">
<b class="gmail_msg">Sent:</b> Tuesday, January 24, 2017 4:38 PM<br class="gmail_msg">
<b class="gmail_msg">To:</b> Milef, Nicholas Boris<br class="gmail_msg">
<b class="gmail_msg">Cc:</b> <a href="mailto:imstk-developers@imstk.org" class="gmail_msg" target="_blank">imstk-developers@imstk.org</a><br class="gmail_msg">
<b class="gmail_msg">Subject:</b> Re: [Imstk-developers] Light Types<br class="gmail_msg">
</font><br class="gmail_msg">
</div></div></div></div></div><div class="gmail_msg"><div style="direction:ltr;font-family:Tahoma;color:#000000;font-size:10pt" class="gmail_msg"><div class="gmail_msg"><div style="font-family:Times New Roman;color:#000000;font-size:16px" class="gmail_msg">
<div class="gmail_msg"></div>
<div class="gmail_msg">
<div dir="ltr" class="gmail_msg">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 class="gmail_msg"><br class="gmail_msg">
</div>
<div class="gmail_msg">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></div></blockquote></div>