This image rappresent the actual interface of luce, now I go to illustrate one by one the options:



Light type

There are 2 type of light: directional and point.

The point light beam its rays
from a point and diffuse it radials.

With the directional light the rays is
parallel and the light start from a far point.

The phisic formula of light is quadric, the light lower with sqaure of distance.
The first luce did not respect this law, and I implement it as option.
linear light effect
linear
quadric light effect
quadric



Cartesian coordinate

With this text box you can set the direction (it will be change) and the position, express it on percent of image, or on pixel.



Algorithm type


The zero algorithm use a color like black, consider
all pixel with your relations with this color.
In this example the gray50 is black.

The form algorithm consider light all pixel around the light
source (if it is points, the border if it is directional).
And all pixel that have a black pixel between him and the
light souce are consider shadow.



Zero color

the zero color can be define:
  • A color, push the colored button, you can decide the color (RGB images only)
  • A gray, insert the value directaly on text box, scale is 0..255, the black is 0 and the white is 255.
  • Picket it, push the eyedropper button, you can click on preview for pick the color on clicked pixel.
    For alpha and mask, the zero value must be insert on text box, this function is not hardest tested.



    Light/Shadow options

    The intensity is a scale factor for light/shadow pixel, it will be multiply to pixel value.
    The normalize is a simple options, It is used to decide the value to add or to subtract on light calculation.
    The concept is: if the gray20 is zero, how is it the white?
    The white can be the gray80, because the zero color will be subtract to the original color.
    If you want normalize the light color,the white will be white. any color between zero color and white whill be scaled to mantein this proportion.



    Source options

    Add Source: You can decide if you want add the source.
    add source
    add source
    not add source
    not add source
    Zero color to black: When you apply the zero algorithm, the filter use a modified image for the filter, in this image the zero color is black, you can decide if add the original image or this image.


    return to home.