[vtkusers] VTK Light Model

Patricio Sandaña psandana at gmail.com
Mon Jun 5 16:27:34 EDT 2017


Hi Ken,

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.

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?

Cheers,

Pato

El 17 ene. 2017 10:18, "Patricio Sandaña" <psandana at gmail.com> escribió:

> Hi Ken,
>
> Many thanks for the hints. I will take a look.
>
> Cheers,
>
> Pato
>
>
> El 17 ene. 2017 11:08, "Ken Martin" <ken.martin at kitware.com> escribió:
>
> It is all pretty much in Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx
> except for shadows which are in vtkShadowMapBakerPass and vtkShadowMapPass
>
> On Tue, Jan 17, 2017 at 8:52 AM, Patricio Sandaña <psandana at gmail.com>
> wrote:
>
>> Hello everyone,
>>
>> 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.
>>
>> I want to play with the lighting models, but first I wanted to know how
>> they works.
>>
>> Cheers,
>>
>> Pato
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971 <(518)%20371-3971>
>
> 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170605/a30c52e1/attachment.html>


More information about the vtkusers mailing list