[vtkusers] Light source similar to a flashlight?

David Doria daviddoria at gmail.com
Wed Nov 21 10:28:14 EST 2012


On Wed, Nov 21, 2012 at 9:50 AM, Joachim Pouderoux <
joachim.pouderoux at kitware.com> wrote:

> Hello Dmitri,
>
> Yes of course it is possible. Take a look at the vtkLight documentation
> here:
> http://www.vtk.org/doc/nightly/html/classvtkLight.html#details
>
> Consider to set the light position, focal point and cone angle then call
> SetPositionalOn().
>
> Hope it helps,
>
> Regards,


There is a shadow example here:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/Shadows

If you could extract just what you said (a light making a circle on a
plane) into a simple "Light" example, that would be a nice addition to the
examples!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/a8a2b23e/attachment.htm>


More information about the vtkusers mailing list