Program, information storage medium, image generation system, and image generation method
AssigneeNamco Bandai Games Inc.
InventorsTsuyoshi Takahashi, Keiko Iso
Life of this patent
Estimating the term…
Abstract
An image generation system generates an image of an object space viewed from a given viewpoint. When a contact event in which a first model object comes in contact with a second model object in the object space has occurred, height information of grid points corresponding to a contact plane of the first model object is fetched by referring to height map data in which height information of a surface of the first model object with respect to a given reference plane set for the fist model object is set in a grid pattern, and vertices of a contact plane of the second model object arm moved based on the fetched height information of the grid points.
Claims18
A program used for generating an image of an object space viewed from a given viewpoint, the program causing a computer to function as:
- a contact event determination section which determines whether or not a contact event in which a first model object and a second model object come in contact in the object space has occurred;
- and
- a vertex shader section which moves vertices of a contact plane of the second model object with the first model object when the contact event determination section has determined that the contact event has occurred,
- wherein a given reference plane is set for the first model object, and height information of a surface of the first model object with respect to the reference plane is set in a grid pattern by using height map data;
- and
- wherein the vertex shader section fetches the height information of grid points corresponding to a contact plane of the first model object with the second model object by referring to the height map data, and moves the vertices of the contact plane of the second model object based on the fetched height information of the grid points.
A program used for generating an image of an object space viewed from a given viewpoint, the program causing a computer to function as:
- a vertex shader section which, when a contact event in which a first model object and a second model object come in contact in the object space has occurred, fetches height information of grid points corresponding to a contact plane of the first model object by referring to height map data in which height information of a surface of the first model object with respect to a given reference plane set for the first model object is set in a grid pattern, and moves vertices of a contact plane of the second model object based on the fetched height information of the grid points.
An image generation system which generates an image of an object space viewed from a given viewpoint, the image generation system comprising:
- a contact event determination section which determines whether or not a contact event in which a first model object and a second model object come in contact in the object space has occurred;
- and
- a vertex shader section which moves vertices of a contact plane of the second model object with the first model object when the contact event determination section has determined that the contact event has occurred,
- wherein a given reference plane is set for the first model object, and height information of a surface of the first model object with respect to the reference plane is set in a grid pattern by using height map data;
- and
- wherein the vertex shader section fetches the height information of grid points corresponding to a contact plane of the first model object with the second model object by referring to the height map data, and moves the vertices of the contact plane of the second model object based on the fetched height information of the grid points.
An image generation system which generates an image of an object space viewed from a given viewpoint, the image generation system comprising:
- a vertex shader section which, when a contact event in which a first model object and a second model object come in contact in the object space has occurred, fetches height information of grid points corresponding to a contact plane of the first model object by referring to height map data in which height information of a surface of the first model object with respect to a given reference plane set for the first model object is set in a grid pattern, and moves vertices of a contact plane of the second model object based on the fetched height information of the grid points.
An image generation method comprising:
- determining whether or not a contact event, in which a first model object and a second model object come in contact in an object space, has occurred;
- moving vertices of a contact plane of the second model object with the first model object when occurrence of the contact event has been determined;
- setting a given reference plane for the first model object, and setting height information of a surface of the first model object with respect to the reference plane in a grid pattern by using height map data;
- and
- fetching the height information of grid points corresponding to a contact plane of the first model object with the second model object by referring to the height map data, and moving the vertices of the contact plane of the second model object based on the fetched height information of the grid points.
An image generation method comprising:
- when a contact event in which a first model object and a second model object come in contact in the object space has occurred, fetching height information of grid points corresponding to a contact plane of the first model object by referring to height map data in which height information of a surface of the first model object with respect to a given reference plane set for the first model object is set in a grid pattern, and moving vertices of a contact plane of the second model object based on the fetched height information of the grid points.
Dependencies are inferred from the claim text.