Search

JP-7857325-B2 - Information processing program, information processing device, information processing system, and information processing method

JP7857325B2JP 7857325 B2JP7857325 B2JP 7857325B2JP-7857325-B2

Inventors

  • 久保 直人
  • ▲徳▼力 陽太郎

Assignees

  • 任天堂株式会社

Dates

Publication Date
20260512
Application Date
20240130

Claims (20)

  1. An information processing program executed in a computer of an information processing device, The aforementioned information processing device is The system stores voxel data relating to multiple voxels of a restored object within a virtual space, and reference data that serves as a standard for the restored object, which indicates the standard values of the parameters included in the voxel data. The aforementioned information processing program is A voxel update means updates the voxel data relating to the restored object so that , when a change event occurs in the virtual space in which another object comes into contact with the restored object, the portion of the restored object including the location where the other object made contact is erased. When the restoration conditions are met for the restored object in which the aforementioned change event has occurred, a voxel restoration means performs a restoration process that gradually changes the restored object by returning the parameter values included in the updated plurality of voxel data to the reference values included in the reference data, A mesh generation means for generating a mesh of the restored object based on the voxel data, An information processing program that causes the computer to function as an image generation means for generating an image of the virtual space, including an image of the mesh of the restored object drawn on it, for output to a display device.
  2. The voxel restoration means determines that the restoration condition is met at a second timing after the first timing, which is determined based on the first timing at which the change event occurred, and executes the restoration process according to claim 1.
  3. The aforementioned change event is that the player object is placed on the restored object as another object within the virtual space. The information processing program according to claim 2, wherein the voxel update means updates the voxel data such that, when the change event occurs, the portion of the restored object that includes the position where the player object is placed is deleted.
  4. The voxel restoration means determines that the restoration conditions have been met in response to an operation by the player and executes the restoration process, as described in claim 1.
  5. The information processing program according to any one of claims 1 to 4, wherein the reference data indicates the reference value for each of the plurality of voxels relating to the restored object.
  6. The voxel restoration means sequentially designates target voxels to be restored from among the plurality of voxels relating to the restoration object based on designation rules, and performs restoration on the designated voxels, as described in any one of claims 1 to 4 .
  7. The information processing program according to claim 6, wherein the voxel restoration means sequentially designates the target voxels along the restoration path set in the virtual space.
  8. The information processing program according to claim 7, wherein the voxel restoration means sets the restoration path in a direction corresponding to the direction of contact, based on the position where the other object contacts the restored object.
  9. The voxel restoration means is If the first restoration condition is met for the portion of the restored object in which the first change event occurred as the change event, the target voxels are sequentially specified based on the first restoration area data that defines the restoration path in the first restoration process, which is the restoration process corresponding to the first change event. If the second restoration condition is met for the portion of the restored object in which a second change event different from the first change event occurred as the change event, the target voxels are sequentially specified based on the second restoration area data that defines the restoration path in the second restoration process, which is the restoration process corresponding to the second change event. The information processing program according to claim 7, wherein, during the period in which the period in which the first restoration process is performed and the period in which the second restoration process is performed overlap, the program restores a voxel designated based on at least one of the first restoration area data and the second restoration area data as the target voxel.
  10. The information processing program according to claim 7, wherein the voxel restoration means sets a restoration area in the virtual space, designates the target voxel from among the plurality of voxels relating to the restoration object that overlap with the restoration area, and sequentially designates the target voxel by moving the restoration area along the restoration path .
  11. The information processing program according to claim 6, wherein the voxel restoration means sequentially designates the target voxels in a direction from the inside to the outside of the restoration object.
  12. The aforementioned reference data indicates a reference value for the parameter that represents the density used to generate the mesh, among the parameters included in the voxel data. The voxel update means updates the voxel data to change the density parameter when the change event occurs with respect to the restored object. The information processing program according to any one of claims 1 to 4, wherein the voxel restoration means performs the restoration process which gradually changes the restored object by returning the value of the density parameter included in the updated voxel data to the reference value included in the reference data when the restoration conditions are met for the restored object on which the change event occurred.
  13. The aforementioned reference data indicates the reference values for the material set for the voxel among the parameters included in the voxel data. The voxel update means updates the voxel data to change the parameters indicating the material when the change event occurs with respect to the restored object. The voxel restoration means, when the restoration conditions are met for the restoration object in which the change event has occurred, performs the restoration process which gradually changes the restoration object by returning the values of the parameters indicating the material included in the updated voxel data to the reference values included in the reference data. This is the information processing program according to any one of claims 1 to 4 .
  14. The information processing program according to any one of claims 1 to 4, wherein the voxel update means updates the voxel data relating to the restored object so that the area occupied by the restored object in the virtual space decreases when the change event occurs with respect to the restored object.
  15. When the change event occurs with respect to the restored object, the area occupied by the restored object in the virtual space is reduced, and a separate object corresponding to the reduced portion is generated. The information processing program according to claim 14, wherein the voxel restoration means performs the restoration process on the restored object if the restoration conditions are met for the restored object, and does not perform the restoration process on the separated object.
  16. The information processing program according to any one of claims 1 to 4, wherein the voxel update means updates the voxel data relating to the restored object so that the range occupied by the restored object in the virtual space increases when a change event occurs with respect to the restored object.
  17. The aforementioned information processing program is The computer further functions as an object control means for moving and/or rotating the restored object in the virtual space by moving and/or rotating the voxel space in which the voxels relating to the restored object are set. The information processing program according to any one of claims 1 to 4, wherein the voxel restoration means performs the restoration process using the voxel data relating to the voxel space after the movement and/or rotation if the restored object has moved and/or rotated after the change event.
  18. A storage means for storing voxel data relating to multiple voxels of a restored object in a virtual space, and reference data that serves as a standard for the restored object, which indicates the standard values of the parameters included in the voxel data. A voxel update means updates the voxel data relating to the restored object so that , when a change event occurs in the virtual space in which another object comes into contact with the restored object, the portion of the restored object including the location where the other object made contact is erased. When the restoration conditions are met for the restored object in which the aforementioned change event has occurred, a voxel restoration means performs a restoration process that gradually changes the restored object by returning the parameter values included in the updated plurality of voxel data to the reference values included in the reference data, A mesh generation means for generating a mesh of the restored object based on the voxel data, An information processing apparatus comprising: an image generation means for generating an image of the virtual space, including an image of the mesh of the restored object, for output to a display device.
  19. A storage means for storing voxel data relating to multiple voxels of a restored object in a virtual space, and reference data that serves as a standard for the restored object, which indicates the standard values of the parameters included in the voxel data. A voxel update means updates the voxel data relating to the restored object so that , when a change event occurs in the virtual space in which another object comes into contact with the restored object, the portion of the restored object including the location where the other object made contact is erased. When the restoration conditions are met for the restored object in which the aforementioned change event has occurred, a voxel restoration means performs a restoration process that gradually changes the restored object by returning the parameter values included in the updated plurality of voxel data to the reference values included in the reference data, A mesh generation means for generating a mesh of the restored object based on the voxel data, An information processing system comprising: an image generation means for generating an image of the virtual space, including an image of the mesh of the restored object, for output to a display device.
  20. An information processing method performed by an information processing system, The information processing system stores voxel data relating to multiple voxels of a restored object in a virtual space, and reference data that serves as a standard for the restored object, which indicates the standard values of the parameters included in the voxel data. A voxel update step updates the voxel data relating to the restored object so that , when a change event occurs in the virtual space in which another object comes into contact with the restored object, the portion of the restored object including the location where the other object made contact is erased. If the restoration conditions are met for the restored object in which the aforementioned change event has occurred, a voxel restoration step is performed to gradually change the restored object by returning the parameter values included in the updated plurality of voxel data to the reference values included in the reference data, A mesh generation step of generating a mesh of the restored object based on the voxel data, An information processing method comprising: an image generation step of generating an image of the virtual space, including an image of the mesh of the restored object, for output to a display device.

Description

This invention relates to an information processing program, information processing system, information processing device, and information processing method for restoring objects that have been altered in a virtual space. Conventionally, object meshes have been generated using, for example, voxel data (see, for example, Non-Patent Document 1). Furthermore, these objects have been subjected to modifications such as deformation. “Marching cubes: A high resolution 3Dsurface construction algorithm”, Computer Graphics, Volume 21, Number 4, WE Lorensen, HE Cline, 1987. This diagram shows an example of the main unit with the left and right controllers attached.This diagram shows an example of the left and right controllers being removed from the main unit.A six-view drawing showing an example of the main unit.A six-view drawing showing an example of a left controller.A six-view drawing showing an example of a right controller.Block diagram showing an example of the internal configuration of the main unit.Block diagram showing an example of the internal configuration of the main unit, left controller, and right controller.This diagram shows an example of a terrain object that is a voxel object.Figure 8 shows an example of what the terrain object looks like before and after a portion of it is deleted.Figure 8 shows an example of what the terrain object looks like before and after a portion of it is deleted.A diagram showing an example of the contents of voxel data.A diagram showing an example of property information that indicates the properties of a material.A diagram showing an example of texture information that indicates the texture of a material.A diagram showing an example of a mesh generation method.A diagram showing an example of a game image that includes terrain objects.This is an example of a game image showing a player character punching a terrain object.This is an example of a game image showing how part of a terrain object is erased by a punch from a player character.This image shows an example of a game screenshot illustrating how erased parts of terrain objects are gradually restored.A diagram showing an example of movement of the restoration area during the restoration process.This diagram shows an example of a game image containing terrain objects that trigger change events.This is an example of a game image showing a player character moving across a platform object.A diagram showing an example of a primary voxel object and a secondary voxel object.This diagram shows an example of how a restored object moves during the restoration process.A diagram illustrating an example of how a portion of a restored object is separated.This diagram shows an example of various types of data used in information processing within a game system.A flowchart illustrating an example of the game processing flow executed by the game system.A subflowchart showing an example of a detailed flow of the restoration process in step S9, as shown in Figure 26. [1. Game System Configuration] The following describes a game system according to an example of this embodiment. The example of the game system 1 in this embodiment includes a main unit (information processing device; functioning as the main unit of the game device in this embodiment) 2, a left controller 3, and a right controller 4. The left controller 3 and the right controller 4 are detachable from the main unit 2. In other words, the game system 1 can be used as an integrated device by attaching the left controller 3 and the right controller 4 to the main unit 2. Alternatively, the game system 1 can be used with the main unit 2 and the left controller 3 and right controller 4 as separate units (see Figure 2). The hardware configuration of the game system 1 of this embodiment will be described below, followed by a description of the control of the game system 1 of this embodiment. Figure 1 shows an example of the main unit 2 with the left controller 3 and right controller 4 attached. As shown in Figure 1, the left controller 3 and right controller 4 are each attached to the main unit 2 and integrated together. The main unit 2 is a device that executes various processes (e.g., game processing) in the game system 1. The main unit 2 is equipped with a display 12. The left controller 3 and right controller 4 are devices equipped with operation parts for user input. Figure 2 shows an example of the configuration with the left controller 3 and right controller 4 removed from the main unit 2. As shown in Figures 1 and 2, the left controller 3 and right controller 4 are detachable from the main unit 2. In the following, the left controller 3 and right controller 4 will be collectively referred to as "controllers." Figure 3 is a six-view drawing showing an example of the main unit 2. As shown in Figure 3, the main unit 2 includes a roughly plate-shaped housing 11. In this embodiment, the main surface of the housing 11 (in other words, the front surface, i.e., the surface on whic