Search

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

JP7857326B2JP 7857326 B2JP7857326 B2JP 7857326B2JP-7857326-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 computer, A determination means for determining whether permission conditions are met regarding how other objects, including terrain objects, surround a player character in a virtual space. A virtual camera control means that, when the virtual camera approaches the terrain object if the permission conditions are not met, performs avoidance control to prevent the virtual camera from being placed inside the terrain object , and controls the virtual camera without performing such avoidance control if the permission conditions are met . A terrain drawing means that draws the faces of the terrain object that are facing the virtual camera, An information processing program that functions as an image output means for performing a process of outputting a display image based on an image of the virtual space including the terrain objects to a display device.
  2. The information processing program according to claim 1, wherein the determination means determines that the permission condition is met when the proportion of the area around the position based on the player character being obscured by other objects , including the terrain object, is greater than or equal to a threshold.
  3. The information processing program according to claim 1, wherein the determination means determines whether the permission conditions are met based on the distance between the player character and other objects , including the terrain object.
  4. The information processing program according to claim 1, wherein the determination means determines whether the permission conditions are met by prioritizing the horizontal positional relationship between the player character and the terrain object in the virtual space over the vertical positional relationship between the player character and the terrain object .
  5. An internal determination means for determining whether the virtual camera is located inside the terrain object, The information processing program according to any one of claims 1 to 4, further comprising the functioning of the computer as a display changing means for changing the display mode of the display image to a different display mode than that when the virtual camera is determined to be located inside the terrain object.
  6. The information processing program according to claim 5, wherein the display changing means applies an effect to the image in which the virtual space including the terrain objects is rendered.
  7. The information processing program according to claim 5, wherein the display changing means places a change object in the virtual space.
  8. The information processing program according to claim 5 , wherein the display changing means reduces the visibility of an object located far from the virtual camera.
  9. The information processing program according to claim 8, wherein the display changing means applies fog to the object so that its visibility decreases the further it is from the virtual camera.
  10. The information processing program according to claim 5, wherein the display changing means changes the display mode of at least a portion of the non-front portion, which is the portion of the surface constituting the terrain object in which the front- facing surface was not drawn.
  11. The information processing program according to claim 10, wherein the display changing means changes the display mode of at least a part of the non -front portion by darkening the background color of the virtual space.
  12. The information processing program according to claim 10, wherein the display changing means changes the display mode of the effect in the virtual space so that the effect is not displayed in the non-front portion.
  13. The information processing program according to claim 8, wherein the display changing means causes the contour of a cavity inside the terrain object to be highlighted.
  14. The information processing program according to claim 5, wherein the display changing means reduces the visibility of the edges of the display image.
  15. The information processing program according to claim 5, wherein the internal determination means determines whether the virtual camera is located inside the terrain object based on whether the four corners of the near-clip surface of the virtual camera are located inside the terrain object.
  16. The information processing program according to claim 1, wherein the virtual camera control means automatically moves the virtual camera so that it is positioned inside the terrain object when the permission conditions are met.
  17. The information processing program according to claim 1, further comprising the functioning of the computer as a transparency display means for displaying the player character so that it is transparent when, from the perspective of the virtual camera, the player character is obscured by a face of the terrain object that is facing outwards.
  18. The information processing program according to claim 1, further comprising the functioning of the computer as a player character action control means for causing the player character to perform an action that destroys and/or deforms at least a portion of the terrain object based on user input.
  19. A determination means for determining whether permission conditions are met regarding how other objects, including terrain objects, surround a player character in a virtual space. A virtual camera control means that, when the virtual camera approaches the terrain object if the permission conditions are not met, performs avoidance control to prevent the virtual camera from being placed inside the terrain object , and controls the virtual camera without performing such avoidance control if the permission conditions are met . A terrain drawing means that draws the faces of the terrain object that are facing the virtual camera, An information processing apparatus comprising: an image output means that performs processing to output a display image based on an image of the virtual space including the terrain objects to a display device.
  20. A determination means for determining whether permission conditions are met regarding how other objects, including terrain objects, surround a player character in a virtual space. A virtual camera control means that, when the virtual camera approaches the terrain object if the permission conditions are not met, performs avoidance control to prevent the virtual camera from being placed inside the terrain object , and controls the virtual camera without performing such avoidance control if the permission conditions are met . A terrain drawing means that draws the faces of the terrain object that are facing the virtual camera, An information processing system comprising: an image output means that performs processing to output a display image based on an image of the virtual space including the terrain objects to a display device.

Description

This invention relates to an information processing program, information processing system, information processing device, and information processing method for performing processing that displays an image based on a virtual space as viewed from a virtual camera. Conventionally, there are information processing devices that display images of a virtual space as seen from a virtual camera (see, for example, Patent Document 1). The information processing device disclosed in Patent Document 1 moves the virtual camera to a position where it does not come into contact with other objects if the virtual camera is likely to be placed within another object. Japanese Patent Publication No. 2014-235596 This diagram shows an example of the main unit 2 with the left controller 3 and right controller 4 attached.This diagram shows an example of the state in which the left controller 3 and the right controller 4 have been removed from the main unit 2.A six-view drawing showing an example of the main unit 2.A six-view drawing showing an example of the left controller 3.A six-view drawing showing an example of the right controller 4.Block diagram showing an example of the internal configuration of the main unit 2.Block diagram showing an example of the internal configuration of the main unit 2, left controller 3, and right controller 4.This diagram shows an example of a terrain object that is a voxel object.Figure 8 shows an example of what the terrain object looked like before a portion of it was deleted.Figure 8 shows an example of what the terrain looks like after a portion of the terrain object has been 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 diagram shows an example where a virtual camera C is placed in a game space with terrain object TO and player character PC set up, in a first state.This diagram shows an example of how a player character PC erases part of a terrain object TO.This diagram shows an example of the destruction range of voxels targeted for destruction in terrain object TO.This diagram shows an example where a virtual camera C is placed in a second state within a game space where terrain object TO and player character PC are set.This diagram shows an example where a virtual camera C is placed in a third state within a game space where terrain objects TO and player characters PC are set.A diagram illustrating an example of the range of motion of virtual camera C when the underground camera permit conditions are not met, and an example of the range of motion of virtual camera C when the underground camera permit conditions are met.This diagram shows an example of images taken from the position of the player character PC, capturing the six sides (up, down, left, right, front, and back).This figure shows an example of a display image that will be shown on the display 12 based on the image viewed from the virtual camera C positioned in the first state.This figure shows an example of a display image that will be shown on the display 12 based on the image viewed from the virtual camera C positioned in the second state.This figure shows an example of a display image that will be shown on the display 12 based on the image viewed from the virtual camera C positioned in the third state.This figure shows an example of points P1 to P4 at the four corners of the near-clip surface of virtual camera C.This figure shows an example of a display image with a fog effect applied based on the distance from the virtual camera C.This figure shows an example of a display image that changes the display pattern of the background portion of the game space.This figure shows an example of various types of data used in information processing in game system 1.This figure shows an example of various types of data used in information processing in game system 1.A subroutine showing an example of the underground camera switching process in step S12 of the flowchart shown in Figure 30. The following describes a game system according to an example of this embodiment. An example of the game system 1 in this embodiment includes a main unit (information processing device; functioning as the game device main unit 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 components (see Figure 2). The hardware configuration of the