[vtkusers] vtkLight and Volume Rendering
Chandna, Sandeep (Research, Non-ge)
sandeep.chandna at ge.com
Tue Jun 29 00:12:54 EDT 2004
Hi Lisa,
I am using Scene lights for lighting which are having no effect on volume. I have a blue sphere in the display , the look of which shows that lights are there , but volume is displayed the way it was dispalayed without lights. Also I am not setting any spot angle explicitly , but I am setting the direction.
Sandeep
-----Original Message-----
From: Lisa Avila [mailto:lisa.avila at kitware.com]
Sent: Sunday, June 27, 2004 11:59 PM
To: Chandna, Sandeep (Research, Non-ge); vtkusers at vtk.org
Subject: Re: [vtkusers] vtkLight and Volume Rendering
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