Generate Shading  
Top  Previous  Next

 
Menu:   Processing > Generate… > Shading  
Script:   genShading  
 
Use this command to apply non-uniform light distribution to an image. You can select the type of the light source and the distance between the light source and image surface.

If you choose this command, the following options will become available:

Input
 
Displays the input image frame number. If you want to apply shading to another image, type or select the corresponding value.  

Output
 
Displays the number of the frame in which the output image will be created. Depending on the Preferences. ImageWarp will set it either to the first available value or to the Input frame number. Type or select another value if you want the output image to be created in a different frame.  
 
Preview
 
Select this check box to watch the Preview of the output image.  
 
Distance
 
Enter the distance between the light source and image surface, in percentage of the image width.     
 
Source
 
Lets you select the type of the light source.  
 
Select Point to simulate the distribution of luminance from a point light source.  
Select Line to simulate distribution of luminance from a line light source.  
 
Angle
 
Enter the angle between the axis of the line light source and the horizontal. The angle is measured in degrees counterclockwise. This parameter is disregarded for the point light source.