摘要 |
A graphic apparatus that draws an object three-dimensionally using a level plane and a height-axis perpendicular to the level plane includes a receiving unit, a calculating unit, and a drawing unit. The receiving unit receives vertex data identifying a position of a top surface of the object on the level plane. The calculating unit calculates a modulation coefficient of luminance for the top surface based on a normal vector for the top surface and a light-source vector indicating a direction of a light source on the level plane. The drawing unit draws the top surface using the vertex data and the modulation coefficient, and a top surface of another object using the modulation coefficient.
|