[vtkusers] VTK crashes when adding multiple lights

Ken Martin ken.martin at kitware.com
Mon Jan 16 08:15:44 EST 2017


It is currently coded for a maximum of 6. In vtkOpenGLPolyDataMapper.cxx
there are a bunch of [6] associated with the lighting code that could be
made more general and specified at run time.

On Sat, Jan 14, 2017 at 1:35 PM, Carlos Lopez <rcourant at gmail.com> wrote:

> Hello Everyone,
>
> I'm working on illuminating a scene and noticed that adding more than 6
> lights cause issues; if they are not positional, then spurious colors start
> appearing after adding 6 and vtk crashes after adding 19 lights.
> It the lamps are positional, then it crashes when adding more than 6.
>
> I'm not sure this is a bug, but the vtk light class does not indicate such
> a limitation.
>
> best,
> carlos
>
> _______________________________________________
> 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

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/20170116/d3d6d0a3/attachment.html>


More information about the vtkusers mailing list