[Imstk-developers] Light Types

Alexis Girault alexis.girault at kitware.com
Wed Jan 25 07:32:51 EST 2017


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.

On Tue, Jan 24, 2017, 17:10 Milef, Nicholas Boris <milefn at rpi.edu> wrote:

> 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.
>
> VTK has HeadLights (spotlight), SceneLights (spot/point lights),
> CameraLights (spot/point), and DirectionalLights (directional). I would do
> this:
>
> - Light
>     + Directional
>     + Point
>       - Spot (could be implemented differently than point)
>         + Head
> ------------------------------
> *From:* Alexis Girault [alexis.girault at kitware.com]
> *Sent:* Tuesday, January 24, 2017 4:38 PM
> *To:* Milef, Nicholas Boris
> *Cc:* imstk-developers at imstk.org
> *Subject:* Re: [Imstk-developers] Light Types
>
> 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.
>
> 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).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/imstk-developers/attachments/20170125/bf66e510/attachment.html>


More information about the Imstk-developers mailing list