[vtkusers] Camera Light

Christian Poecher poecher at icom-consulting.de
Wed May 22 10:53:58 EDT 2002


Try vtkLight::SetLightTypeToHeadlight() or SetLightTypeToCameraLight().

Chris 

Giancarlo Amati schrieb:
> 
> Hi Everybody,
> 
> I have the following question, when my application start, my dataset
> appear in front of my camera (as I want) with the color that I had
> specified. To implement rotation, scaling and rotation I move the camera
> instead of Points, and when I move the camera my color changes because the
> camera (default) lightd doesn't move with my camera. How can I solve this
> problem? I want the default camera light move with the camera.
> 
> Thanks a lot.
> Giancarlo Amati
> 
> --
> ----------------------------------------
> dott. Giancarlo Amati                  |
> (amati at ira.cnr.it)                     |
>                                        |
> National Research Council              |
> RadioAstronomical Institute            |
> office phone n. +39 051 6399405        |
> via Gobetti 101 - Bologna (Italy)      |
> ----------------------------------------
> 
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers

-- 
________________________________________________________________________
Christian Poecher                      mailto:poecher at icom-consulting.de
ICOM GmbH   					Phone: +49 241 9367-1554
Schloss-Rahe-Str. 15, 52072 Aachen, Germany     Fax  : +49 241 9367-1589
________________________________________________________________________



More information about the vtkusers mailing list