[vtkusers] vtkLight and Volume Rendering

Lisa Avila lisa.avila at kitware.com
Sun Jun 27 14:28:30 EDT 2004


Hello Sandeep,

The volume mappers should render according to whatever lights are in your 
scene - one note is that not all parameters are considered. For example, 
all lights are considered to be infinite (parallel) sources, and parameters 
such as spot angle and direction are ignored. Do you have geometry in the 
scene, and can you see the lighting effect on the geometry?

Lisa


At 11:01 AM 6/23/2004, Chandna, Sandeep (Research, Non-ge) wrote:
>Hi,
>         I am trying to add new vtkLights to the renderer which is 
> displaying a volume. My problem is that even after setting the 
> gradient/ambient/specular components etc. of the volume the light's 
> effect does not show up whatever color I set for the light. The only 
> light that has the effect is the light that comes with the renderer 
> (camera light) . Plz help in this problem.
>
>Regards,
>Sandeep
>
>         g  John F Welch Technology Centre
>         __________________________________________________
>         Sandeep Chandna
>         Research,Non-GE
>         Imaging Technologies Lab
>
>         GE India Technology Centre Pvt. Ltd.
>         Survey No. 152, EPIP,
>         Hoodi Village, Whitefield Road,
>         Bangalore - 560 066, India
>
>
>_______________________________________________
>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://www.vtk.org/mailman/listinfo/vtkusers





More information about the vtkusers mailing list