IP Library Granted Patent US 6,850,242
Granted Patent B1
US 6,850,242 · App. 09/830,467 · Granted Feb 1, 2005

Image generating system and program

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 6,850,242
App. No.
09/830,467
Granted
Feb 1, 2005
Kind
B1
Abstract

It is an objective to provide a image generating system and program capable of performing an environment mapping which can accurately represent the reflection of light source and the like. An environment texture to be viewed in an upward direction from an object is mapped onto the object in a direction toward the object from above the object without depending on the position or rotational angle of a virtual camera. A rotation matrix obtained from the rotational angle of the object about an axis in the world coordinate system is used to rotate the normal vector of the object. The coordinates NXW and NZW of the rotated normal vector are then used to obtain coordinates U and V. Another rotation matrix for transforming the local coordinate system to a coordinate system (XW, ZW, YW) may be used. With a surface of the object of which normal vector is oriented downwardly and slantingly with respect to the horizontal direction, an environment texture to be mapped when the normal vector is oriented to the horizontal direction is mapped, or the environment mapping may be omitted. The environment texture may be one that increases its brightness when the normal vector of the object is oriented toward a light source or shading processing.

Claims (20)

1. An image generating system comprising:

a memory which stores a program and data for image generating; and

at least one processor which is coupled with the memory and performs processing for image generating, the memory including a texture storage section which stores a texture of an environment to be viewed in an upward direction from an object, and the processor including a texture mapping section which reads the environment texture out from texture storage section and maps the read environment texture onto the object in a direction toward the object from above the object independently of a position or a rotational angle of a virtual camera; and

a drawing section which draws an image viewed from the virtual camera within an object space in which the object moves with changing rotation angle, wherein a rotation matrix obtained based on the rotational angle of the object about each of axes in a world coordinate system is used to rotate a normal vector of a surface of the object, and wherein first and second texture coordinates for reading the environment texture out from the texture storage section are obtained based on first and second coordinates of the rotated normal vector.

2. The image generating system according to claim 1 ,

wherein the rotation matrix transforms a local coordinate system (XL, YL, ZL) of the object to a coordinate system (XW, ZW, YW), when the local coordinate system is (XL, YL, ZL) and a world coordinate system is (XW, YW, ZW), and wherein the first and second coordinates are XW and YW coordinates, respectively.

3. The image generating system according to claim 1 ,

wherein with a surface of the object of which the normal vector is oriented downwardly and slantingly with respect to a horizontal direction, an environment texture otherwise intended to be mapped when the normal vector of a surface of the object is oriented horizontal or substantially horizontal is mapped.

4. The image generating system according to claim 1 ,

wherein the environment mapping is omitted in respect of the surface of the object of which the normal vector is oriented downwardly and slantingly with respect to a horizontal direction.

5. The image generating system according to claim 1 , the processor further comprising a shading section which performs shading processing, wherein brightness of the environment texture increases when the normal vector of the surface of the object is oriented toward a light source for the shading processing.

6. A computer-usable program embodied on an information storage medium or in a carrier wave, comprising a processing routine for realizing:

a texture storage section which stores a texture of an environment to be viewed in an upward direction from an object,

a texture mapping section which reads the environment texture out from the texture storage section and maps the read environment texture onto the object in a direction toward the object from above the object independently of a position or a rotational angle of a virtual camera; and

a drawing section which draws an image viewed from the virtual camera within an object space in which the object moves with changing rotation angle, wherein a rotation matrix obtained based on the rotational angle of the object about each of axes in a world coordinate system is used to rotate a normal vector of a surface of the object, and wherein first and second texture coordinates for reading the environment texture out from the texture storage section are obtained based on first and second coordinates of the rotated normal vector.

7. The program according to claim 6 , wherein the rotation matrix transforms a local coordinate system (XL, YL, ZL) of the object to a coordinate system (XW, ZW, YW), when the local coordinate system is (XL, YL, ZL) and a world coordinate system is (XW, YW, ZW), and wherein the first and second coordinates are XW and YW coordinates, respectively.

8. The program according to claim 6 , wherein with a surface of the object of which the normal vector is oriented downwardly and slantingly with respect to a horizontal direction, an environment texture otherwise intended to be mapped when the normal vector of a surface of the object is oriented horizontal or substantially horizontal is mapped.

9. The program according to claim 6 ,

wherein the environment mapping is omitted in respect of the surface of the object of which the normal vector is oriented downwardly and slantingly with respect to a horizontal direction.

10. The program according to claim 6 , further realizing a shading section which performs shading processing wherein brightness of the environment texture increases when the normal vector of the surface of the object is oriented toward a light source for the shading processing.

Assignments (5)
CHANGE OF NAME Recorded Mar 8, 2016
From: BANDAI NAMCO GAMES INC.
To: BANDAI NAMCO ENTERTAINMENT INC.
Reel/Frame 038037/0864 →
CHANGE OF NAME Recorded May 29, 2014
From: NAMCO BANDAI GAMES INC.
To: BANDAI NAMCO GAMES INC.
Reel/Frame 033061/0930 →
CHANGE OF ADDRESS Recorded Nov 15, 2007
From: NAMCO BANDAI GAMES INC.
To: NAMCO BANDAI GAMES INC.
Reel/Frame 020206/0292 →
CHANGE OF ADDRESS Recorded Sep 10, 2007
From: NAMCO BANDAI GAMES INC.
To: NAMCO BANDAI GAMES INC
Reel/Frame 019834/0562 →
CHANGE OF NAME Recorded Jun 15, 2006
From: NAMCO LIMITED/NAMCO LTD.
To: NAMCO BANDAI GAMES INC.
Reel/Frame 017996/0786 →