摘要 |
PURPOSE:To make shadow processing of a picture by simple calculation, by cutting out the surface of object placed in a dimensional space into triangular unit area, and by calculating the inner product of sight direction vector at each apex and the normal line unit vector of the surface. CONSTITUTION:The surface of object is cut out into triangular unit area, and the inner product of sight direction vectors at 3 apexes of the unit area and normal line unit vector. According to the sign of the calculation result, the visible-invisible data to show whether the apex is in visible area or invisible area is obtained. On the other hand, the position data of these 3 apexes is prospectively converted into 2-dimensional plane which corresponds with a display scope according to the sight position, and forms triangular area which corresponds with the area on 2-dimensional plane. And, by making interpolation calculation about visible-invisible data with respect to a pixel within the triangular area, the border line is established between visible area and invisible area on the 2-dimensional plane.
|