[vtkusers] Is there a way of varying the brightness or colour of objects with distance from the camera?

Sean McInerney seanm at nmr.mgh.harvard.edu
Wed Nov 3 11:42:23 EST 2004


Sonam,

   This can be achieved via the SetAttenuationValues method of vtkLight.

-Sean

s comp wrote:
> Hi all,
>  
> Is there a way of varying the brightness or colour of objects with distance from the camera? Perhaps there is a colour type that is a function of distance from object?
>  
> Thanks,
>  
> Sonam
> 



More information about the vtkusers mailing list