Game system and image creating method
First Claim
1. A game system which generates an image, comprising:
- means which transforms a depth value of each pixel of an original image into a second depth value formed of lower bits I to J which are positioned lower than the most significant bit of the depth value;
means which sets an alpha value of each pixel to a value corresponding to the second depth value; and
means which generates an image based on the set alpha value.
6 Assignments
0 Petitions
Accused Products
Abstract
An objective of the present invention is to provide a game system, program and image generating method which can generate a more realistic image with reduced processing load by using an alpha value set depending on a depth value. Z-value for each pixel in an original image is transformed into Z2-value that is formed of bits I to J which are positioned lower than the most significant bit in the Z-value. The alpha value for each pixel is set at a value corresponding to the Z2-value. Representation of the depth of field or fog image is enabled by using the alpha value to generate an image. The Z2-value is clamped to a given value depending on a bit value other than the bits I to J of the Z-value. Bits M to N and K to L (where K≧I≧L>M≧J≧N) in the Z-value are set as index numbers in LUT1 and LUT2 and used to perform texture mapping for transforming the Z-value into Z3- and Z4-values. These Z3- and Z4-values are used to determine the Z2-value.
-
Citations
33 Claims
-
1. A game system which generates an image, comprising:
-
means which transforms a depth value of each pixel of an original image into a second depth value formed of lower bits I to J which are positioned lower than the most significant bit of the depth value;
means which sets an alpha value of each pixel to a value corresponding to the second depth value; and
means which generates an image based on the set alpha value. - View Dependent Claims (2, 3, 4, 5, 6, 8, 10)
-
-
7. A game system which generates an image, comprising:
-
means which sets bits M to N in given image information as an index number in a first lookup table for index color texture-mapping, and uses the first lookup table to perform index color texture-mapping on a virtual object to transform the image information into third image information;
means which sets bits K to L in the image information as an index number in a second lookup table for index color texture-mapping, and uses the second lookup table to perform index color texture-mapping on a virtual object to transform the image information into fourth image information; and
means which determines second image information formed of the bits I to J (where K≧
I≧
L>
M≧
J≧
N) in the image information based on the third and fourth image information. - View Dependent Claims (9, 11, 13, 14, 15, 16, 17, 19, 20, 21, 22, 24, 25, 26, 27, 28, 30, 31, 32, 33)
-
-
12. A computer-usable program embodied on an information storage medium or in a carrier wave, comprising a processing routine for a computer to realize:
-
means which transforms a depth value of each pixel of an original image into a second depth value formed of lower bits I to J which are positioned lower than the most significant bit of the depth value;
means which sets an alpha value of each pixel to a value corresponding to the second depth value; and
means which generates an image based on the set alpha value.
-
-
18. A computer-usable program embodied on an information storage medium or in a carrier wave, comprising a processing routine for a computer to realize:
-
means which sets bits M to N in given image information as an index number in a first lookup table for index color texture-mapping, and uses the first lookup table to perform index color texture-mapping on a virtual object to transform the image information into third image information;
means which sets bits K to L in the image information as an index number in a second lookup table for index color texture-mapping, and uses the second lookup table to perform index color texture-mapping on a virtual object to transform the image information into fourth image information; and
means which determines second image information formed of the bits I to J (where K≧
I≧
L>
M≧
J≧
N) in the image information based on the third and fourth image information.
-
-
23. A method of generating an image, comprising a step of:
-
transforming a depth value of each pixel of an original image into a second depth value formed of lower bits I to J which are positioned lower than the most significant bit of the depth value;
setting an alpha value of each pixel to a value corresponding to the second depth value; and
generating an image based on the set alpha value.
-
-
29. A method of generating an image, comprising a step of:
-
setting bits M to N in given image information as an index number in a first lookup table for index color texture-mapping;
using the first lookup table to perform index color texture-mapping on a virtual object to transform the image information into third image information;
setting bits K to L in the image information as an index number in a second lookup table for index color texture-mapping;
using the second lookup table to perform index color texture-mapping on a virtual object to transform the image information into fourth image information; and
determining second image information formed of the bits I to J (where K≧
I≧
L>
M≧
J≧
N) in the image information based on the third and fourth image information.
-
Specification