Explaining the optical parameters
The RTP Demo uses a very simple illumination equation. The optical parameters of this equation are the following:
color (R, G, B):- this is the color of the surface defined by the three parameters Red, Green and Blue
Kd:- the difuse reflection coefficient indicates what percent of the incident light is reflected diffusely. As an example, mate paper would have Kd=1.0
Ks:- the specular reflection coefficient indicates what percent of the incident light is reflected specularly. As an example, a mirror would have Ks=1.0
Kt:- the transparency coefficient indicates what percent of the incident light is transmitted through the surface. An opaque surface has Kt=0.0 and a totally transparent one has Kt=0.0
shine:- this coefficient indicates the glossyness or shinyness of a surface. For a light source, it indicates its intensity
The illumination equation defines the rendered color of each surface in the scene.
Back to RTP Project Homepage