摘要 |
PROBLEM TO BE SOLVED: To easily change the connection state of three-dimensional shaped surfaces with each other by calculating the color value of a vertex based on the normal vector of the vertex, projecting the coordinates of each vertex from a three-dimensional coordinates to a two-dimensional coordinates and generating an image for two-dimensional screen based on the two-dimensional coordinates and each color value. SOLUTION: Based on the synthetic vector of the normal for every vertex calculated by a surface normal vector calculation means 3, the normal vector of each vertex is calculated by a vertex normal vector calculation means 4. Based on the normal vector of the calculated vertex, the color value of each vertex is calculated by a vertex color value calculation means 8. The coordinates of each vertex are projected from a three-dimensional coordinate to a two-dimensional coordinates by a coordinate conversion means 5. Based on the two-dimensional coordinates and each calculated color value, an image for two-dimensional screen is generated by a rasterizing means 6. Thus, the connection state of the surfaces with each other composing a three-dimensional shape can be easily changed. |