Storage medium having stored thereon image processing program and image processing apparatus
First Claim
1. A computer readable storage medium (11e) having stored thereon an image processing program for drawing an image of a curved surface as viewed from a virtual camera situated in a virtual three-dimensional space, an undulation of the curved surface being defined by a distance from a virtual plane surface arranged in the virtual three-dimensional space, the image processing program causing a computer to execute:
- a plane surface division step of dividing the virtual plane surface into a plurality of polygonal shape regions such that the closer a region is to the virtual camera, the smaller areas the region is divided into;
a first distance reading step of reading, from storage means, distance information indicative of distance from the virtual plane surface, with respect to respective vertices of the plurality of polygonal shape regions;
a first coordinate point calculation step of calculating coordinate points of position which are respectively distanced from the vertices composing the plurality of polygonal shape regions by distances indicated by the distance information, which is read in the first distance reading step, in a direction perpendicular to the virtual plane surface;
a polygon generation step of generating polygons by using the coordinate points calculated in the first coordinate point calculation step as polygon vertices which define the polygons, the number of the polygons being substantially constant in each of the plurality of the polygonal shape regions; and
a drawing step of drawing an image of the polygons which are generated in the polygon generation step, the image as being viewed from the virtual camera.
1 Assignment
0 Petitions
Accused Products
Abstract
A virtual plane surface PL is divided into a plurality of square regions such that the closer distance to a virtual camera VP a square region is located at, the smaller areas the square region is divided into. Distance information 41 indicative of distances of respective vertices composing each of the square regions from the virtual plane surface PL is read from the internal main memory 11e. Further, coordinate points of positions, which are distanced from respective vertices, which compose polygonal shape regions included in each of the square regions, by distances indicated by the read distance information in a direction perpendicular to the virtual plane surface PL, are used as polygon vertices, which define polygons, whereby the polygons corresponding to the curved surface SF are generated. From each of the square regions, substantially a common number of polygons are generated. In this manner, appropriate polygon information of the curved surface SF which is capable of securing a drawing quality can be generated.
18 Citations
17 Claims
-
1. A computer readable storage medium (11e) having stored thereon an image processing program for drawing an image of a curved surface as viewed from a virtual camera situated in a virtual three-dimensional space, an undulation of the curved surface being defined by a distance from a virtual plane surface arranged in the virtual three-dimensional space, the image processing program causing a computer to execute:
-
a plane surface division step of dividing the virtual plane surface into a plurality of polygonal shape regions such that the closer a region is to the virtual camera, the smaller areas the region is divided into; a first distance reading step of reading, from storage means, distance information indicative of distance from the virtual plane surface, with respect to respective vertices of the plurality of polygonal shape regions; a first coordinate point calculation step of calculating coordinate points of position which are respectively distanced from the vertices composing the plurality of polygonal shape regions by distances indicated by the distance information, which is read in the first distance reading step, in a direction perpendicular to the virtual plane surface; a polygon generation step of generating polygons by using the coordinate points calculated in the first coordinate point calculation step as polygon vertices which define the polygons, the number of the polygons being substantially constant in each of the plurality of the polygonal shape regions; and a drawing step of drawing an image of the polygons which are generated in the polygon generation step, the image as being viewed from the virtual camera. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. An image processing apparatus for drawing an image of a curved surface as viewed from a virtual camera situated in a virtual three-dimensional space, an undulation of the curved surface being defined by a distance from a virtual plane surface arranged in the virtual three-dimensional space, the image processing apparatus comprising:
-
plane surface division means for dividing the virtual plane surface into a plurality of polygonal shape regions such that the closer a region is to the virtual camera, the smaller areas the region is divided into; first distance reading means for reading, from storage means, distance information indicative of the distance from the virtual plane surface, with respect to respective vertices of the plurality of polygonal shape regions; first coordinate point calculation means for calculating coordinate points of positions which are respectively distanced from each of the vertices composing the polygons corresponding to the plurality of polygonal shape regions by distances indicated by the distance information read by the first distance reading means in a direction perpendicular to the virtual plane surface; polygon generation means for generating polygons by using the coordinate points calculated by the first coordinate point calculation means as polygon vertices defining each of the polygons, the number of the polygons being substantially constant in each of the plurality of the polygonal shape regions; and drawing means for drawing an image of the polygons which are generated in the polygon generation step, the image as being viewed from the virtual camera.
-
Specification