ABSTRACT

In this chapter we will present the implementation of the shading (coloring) function calculation.

18.1 Shading Function Sampling and Reconstruction The shading function is defined on the image plane. It is given by the projection of the illumination function on the visible surfaces of the scene. The shading function calculation is a process of sampling and reconstruction. The sampling consists of evaluating the illumination function at points on the visible surfaces that correspond to pixels in the image. The reconstruction consists of the interpolation of known values of the function at some pixels for other pixels of the image.