[vtkusers] Light source similar to a flashlight?

Joachim Pouderoux joachim.pouderoux at kitware.com
Wed Nov 21 09:50:38 EST 2012


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,

2012/11/21 web-Dmitri web-Danewitz <d.danewitz at web.de>

> Hello all,
>
> is it possible to have a light source similar to a flashlight in vtk? A
> source that if directed on a plane illuminates just a circular area of the
> plane instead of the whole plane as the vtkLight does?
>
> Greets
> Dmitri
>
>
>


-- 
*Joachim Pouderoux*

*PhD, R&D Enginee*r
*Kitware SAS <http://www.kitware.fr>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121121/f525f646/attachment.htm>


More information about the vtkusers mailing list