Information processing program, information processing device, information processing system and information processing method
By controlling the virtual camera to move sequentially past multiple shielding objects, the sudden changes in viewpoint are minimized, enhancing visibility in scenarios with multiple obstacles.
Patent Information
- Application Number
- JP2024150899
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-09-02
- Publication Date
- 2024-11-21
- Estimated Expiration
- 2042-06-10
AI Technical Summary
When multiple obstacles shield a player character from a virtual camera, sudden changes in the viewpoint position can lead to a decrease in visibility, as the camera moves to a position where it is no longer obscured.
The virtual camera is controlled to move to a position where the target of interest is not blocked by shielding objects, and subsequent movements are made in a sequence, adhering to re-movement conditions such as contact with or burial in the next shielding object, or after a predetermined time or distance, to prevent sudden changes in viewpoint.
This approach reduces sudden changes in the viewpoint position, thereby improving visibility when multiple shielding objects are present in the line of sight.
Smart Images

Figure 2024163200000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to information processing for controlling the movement of a virtual camera. [Background technology]
[0002] Conventionally, there has been known a technique for moving a virtual camera to a position closer to the player character than an obstacle when an obstacle exists between the virtual camera and the player character and the player character is obstructed from the virtual camera's view (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2009-11567 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the above technology, if there are multiple obstacles between the virtual camera and the player character (if they overlap and block the camera), the virtual camera is moved to a position where the player character is not blocked, so as to overcome all of the obstacles in one go.
[0005] However, such movement may result in a sudden change in the viewpoint position, which may result in a sudden change in the image from the virtual camera, which may reduce visibility.
[0006] Therefore, an object of the present disclosure is to provide an information processing program, an information processing device, an information processing system, and an information processing method that can control a virtual camera while reducing a decrease in visibility when multiple occluding objects are present in the line of sight of the virtual camera. [Means for solving the problem]
[0007] In order to achieve the above object, for example, the following configuration example can be given.
[0008] (Configuration 1) Configuration 1 is an information processing program executed on a computer of an information processing device, causing the computer to function as occlusion determination means and virtual camera control means. The occlusion determination means determines whether or not at least a part of the target of interest is occluded by a first occluding object as viewed from a virtual camera that captures the target of interest in a virtual space. The virtual camera control means, based at least on the determination that at least a part of the target of interest is occluded by the first occluding object, moves the virtual camera to a first position on a virtual line from the virtual camera to the target of interest, which is a position where the virtual line first passes through the first occluding object, or a position closer to the target of interest than the position where the virtual line first passes through. Then, when the virtual camera is moved to the first position and at least a portion of the target of interest is further blocked by a second blocking object, the virtual camera control means does not move the virtual camera to a second position which is the position where the virtual line first passed through the second blocking object or which is a position closer to the target of interest than the position where the virtual line first passed through the second blocking object, while the re-movement condition is not satisfied, and moves the virtual camera to the second position when the re-movement condition is satisfied.
[0009] According to the above configuration, when there are multiple occluding objects blocking the target of interest in the line of sight of the virtual camera, the virtual camera is moved to a position where the target of interest is not blocked, but rather than moving over them all at once, the re-movement condition is determined so that the virtual camera moves over the multiple occluding objects one by one in order. This makes it possible to suppress abrupt changes in the viewpoint position in a very short period of time and reduce deterioration of the user's visibility.
[0010] (Configuration 2) In configuration 2, in the above-mentioned configuration 1, the virtual camera control means may move the virtual camera to the first position when the virtual camera comes into contact with or is buried in the first occluding object.
[0011] According to the above configuration, the virtual camera is not moved to the first position until the virtual camera comes into contact with or is buried in an occluding object. This prevents the virtual camera from moving to the first position even when the virtual camera is not in contact with an occluding object, thereby preventing the virtual camera from frequently passing through an occluding object (terrain object).
[0012] (Configuration 3) In a third configuration according to the first or second configuration, the virtual camera control means may determine that the re-movement condition is satisfied when the virtual camera comes into contact with or is buried in the second occluding object.
[0013] According to the above configuration, the condition for the virtual camera to move beyond the occluding object is the same for the first occluding object and the second occluding object, which makes it easier for the user to understand the behavior of the virtual camera, for example, "when the virtual camera hits a wall, it passes through it."
[0014] (Configuration 4) Configuration 4 may be such that in any one of configurations 1 to 3, the virtual camera control means determines that the re-movement condition is satisfied when a predetermined time has elapsed from the timing at which the virtual camera was moved to the first position.
[0015] According to the above configuration, after the virtual camera moves to the first position, it does not move to the second position until a predetermined time has elapsed. This makes it possible to prevent the virtual camera from moving suddenly in a short period of time, thereby reducing the decrease in visibility.
[0016] (Configuration 5) Configuration 5 may be such that in any one of configurations 1 to 3, the virtual camera control means determines that the re-movement condition is satisfied when the virtual camera has moved a predetermined distance or more from the time when the virtual camera was moved to the first position.
[0017] According to the above configuration, the virtual camera is not moved to the second position until it has moved a predetermined distance or more from the first position, which makes it possible to prevent the virtual camera from moving abruptly in a short period of time.
[0018] (Configuration 6) In a sixth aspect of the present invention, in any one of the first to fifth aspects, the virtual camera control means may control the virtual camera so that the distance to the target of interest becomes shorter as the depression angle of the virtual camera becomes smaller.
[0019] According to the above configuration, when the depression angle of the virtual camera is reduced, the distance to the target object is reduced. Therefore, the virtual camera is more likely to move to the first position when it comes into contact with an occluding object such as a vertically extending wall. Even in such a case, a sudden change in viewpoint can be suppressed.
[0020] (Configuration 7) In a seventh aspect of the present invention, in any one of the first to sixth aspects, the virtual camera control means may control at least one of the position and the attitude of the virtual camera based on a camera control input by a user.
[0021] According to the above configuration, the user can directly operate the virtual camera, which makes it easier to grasp the state of the virtual space, thereby improving user convenience.
[0022] (Configuration 8) In an eighth aspect of the present invention, in any one of the first to seventh aspects, the target of attention may be a player character.
[0023] According to the above configuration, the decrease in visibility can be reduced, so that the user can easily grasp the positional relationship within the virtual space of the player character that is the object of the user's operation.
[0024] (Configuration 9) Configuration 9 may cause a computer to function as a drawing means for drawing at least a portion of an object of interest in a manner that allows the object of interest to be seen through an occluding object when at least a portion of the object of interest is occluded by an occluding object as viewed from the virtual camera in the above-mentioned configuration 8.
[0025] According to the above configuration, even when the target object is occluded by an occluding object, the user can grasp the position of the target object.
[0026] (Configuration 10) Configuration 10 is any one of configurations 1 to 9, wherein the virtual camera control means may move the virtual camera and change its attitude, with the target of interest as the point of gaze.
[0027] According to the above configuration, the virtual camera can be controlled so that the target object is always captured even if the target object moves.
[0028] (Configuration 11) Configuration 11 is an information processing program executed in a computer of an information processing device, which causes the computer to function as immersion determination means and virtual camera control means. The immersion determination means determines whether the virtual camera comes into contact with or is buried in a occluding object. The virtual camera control means, based on the determination that the virtual camera comes into contact with or is buried in a first occluding object, moves the virtual camera closer to a target of interest so that the first occluding object is not captured by the virtual camera. Furthermore, when the virtual camera is brought closer to the target of interest so that the first occluding object is not captured by the virtual camera, even if at least a part of the target of interest is occluded by another occluding object when the virtual camera is brought closer to the target of interest so that the other occluding object is not captured by the virtual camera, if the virtual camera is not brought into contact with or buried in the other occluding object, the virtual camera control means does not control the virtual camera to come closer to the target of interest so that the other occluding object is not captured by the virtual camera.
[0029] According to the above configuration, when a plurality of occluding objects are present in the line of sight of the virtual camera, the movement is controlled so as to pass over the plurality of occluding objects one by one in order. This makes it possible to suppress abrupt changes in the viewpoint position and reduce degradation of the user's visibility. Effect of the Invention
[0030] According to this embodiment, it is possible to improve visibility when multiple occluding objects exist in the line of sight of the virtual camera. [Brief description of the drawings]
[0031] [Figure 1] FIG. 1 shows an example of a state in which a left controller 3 and a right controller 4 are attached to a main unit 2. [Diagram 2] FIG. 1 shows an example of a state in which the left controller 3 and the right controller 4 are removed from the main unit 2. [Diagram 3] Six-sided views showing an example of the main unit 2 [Figure 4] Six-sided diagram showing an example of the left controller 3 [Diagram 5] Six-sided diagram showing an example of the right controller 4 [Figure 6] A block diagram showing an example of the internal configuration of the main unit 2. [Figure 7] A block diagram showing an example of the internal configuration of the main unit 2, the left controller 3, and the right controller 4. [Figure 8] FIG. 1 is a diagram for explaining an overview of processing according to the present embodiment; [Figure 9] FIG. 1 is a diagram for explaining an overview of processing according to the present embodiment; [Figure 10] An example of a game screen according to the present embodiment [Figure 11] An example of a game screen according to the present embodiment [Figure 12] An example of a game screen according to the present embodiment [Figure 13] An example of a game screen according to the present embodiment [Figure 14] An example of a game screen according to the present embodiment [Figure 15] An example of a game screen according to the present embodiment [Figure 16] FIG. 1 is a diagram for explaining an overview of processing according to the present embodiment; [Figure 17] A memory map showing an example of various data stored in the DRAM 85. [Figure 18] An example of operation data 305 [Figure 19] A flowchart showing details of a virtual camera control process according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0032] An embodiment will be described below.
[0033] A game system according to an example of this embodiment will be described below. An example of the game system 1 in this embodiment includes a main unit (information processing device; in this embodiment, it functions as a game device main unit) 2, a left controller 3, and a right controller 4. The left controller 3 and the right controller 4 are each 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. The game system 1 can also be used as a separate device from the main unit 2, the left controller 3, and the right controller 4 (see FIG. 2). The hardware configuration of the game system 1 of this embodiment will be described below, and then the control of the game system 1 of this embodiment will be described.
[0034] Fig. 1 is a diagram showing an example of a state in which a left controller 3 and a right controller 4 are attached to a main unit 2. As shown in Fig. 1, the left controller 3 and the right controller 4 are each attached to and integrated with the main unit 2. The main unit 2 is a device that executes various processes (e.g., game processes) in the game system 1. The main unit 2 includes a display 12. The left controller 3 and the right controller 4 are devices that include an operation unit that allows the user to perform input.
[0035] Fig. 2 is a diagram showing an example of a state in which the left controller 3 and the right controller 4 have been removed from the main unit 2. As shown in Figs. 1 and 2, the left controller 3 and the right controller 4 are detachable from the main unit 2. In the following, the left controller 3 and the right controller 4 may be collectively referred to as "controller."
[0036] Fig. 3 is a six-sided view showing an example of the main unit 2. As shown in Fig. 3, the main unit 2 includes a substantially 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 which the display 12 is provided) is generally rectangular in shape.
[0037] The shape and size of the housing 11 are arbitrary. As an example, the housing 11 may be of a size that is portable. Furthermore, the main unit 2 alone or an integrated device in which the left controller 3 and the right controller 4 are attached to the main unit 2 may be a portable device. Furthermore, the main unit 2 or the integrated device may be a handheld device. Furthermore, the main unit 2 or the integrated device may be a portable device.
[0038] 3, the main unit 2 includes a display 12 provided on a main surface of a housing 11. The display 12 displays an image generated by the main unit 2. In this embodiment, the display 12 is a liquid crystal display (LCD). However, the display 12 may be any type of display device.
[0039] The main unit 2 also includes a touch panel 13 on the screen of the display 12. In this embodiment, the touch panel 13 is of a type that allows multi-touch input (e.g., a capacitive type). However, the touch panel 13 may be of any type, and may be of a type that allows single-touch input (e.g., a resistive film type), for example.
[0040] The main unit 2 includes a speaker (i.e., speaker 88 shown in FIG. 6) inside the housing 11. As shown in FIG. 3, speaker holes 11a and 11b are formed in the main surface of the housing 11. The output sound of the speaker 88 is output from these speaker holes 11a and 11b, respectively.
[0041] The main unit 2 also has a left side terminal 17, which is a terminal through which the main unit 2 performs wired communication with the left controller 3, and a right side terminal 21 through which the main unit 2 performs wired communication with the right controller 4.
[0042] As shown in FIG. 3, the main unit 2 includes a slot 23. The slot 23 is provided on the upper side of the housing 11. The slot 23 has a shape that allows a predetermined type of storage medium to be attached thereto. The predetermined type of storage medium is, for example, a storage medium (e.g., a dedicated memory card) dedicated to the game system 1 and the same type of information processing device. The predetermined type of storage medium is used, for example, to store data used in the main unit 2 (e.g., application save data, etc.) and / or programs executed in the main unit 2 (e.g., application programs, etc.). The main unit 2 also includes a power button 28.
[0043] The main unit 2 includes a lower terminal 27. The lower terminal 27 is a terminal through which the main unit 2 communicates with the cradle. In this embodiment, the lower terminal 27 is a USB connector (more specifically, a female connector). When the all-in-one device or the main unit 2 alone is placed on the cradle, the game system 1 transmits images generated and output by the main unit 2 to a stationary device. The display can be displayed on a monitor. In the present embodiment, the cradle has a function of charging the all-in-one device or the main device 2 placed on it. The cradle also has a function of a hub device (specifically, a USB hub).
[0044] FIG. 4 is a six-sided view showing an example of the left controller 3. As shown in FIG. 4, the left controller 3 includes a housing 31. In this embodiment, the housing 31 has a vertically long shape, that is, a shape that is long in the up-down direction in FIG. 4 (z-axis direction shown in FIG. 4). The left controller 3 can also be held in a vertically long orientation when removed from the main unit 2. The housing 31 has a shape and size that allows it to be held in one hand, particularly the left hand, when held in a vertically long orientation. The left controller 3 can also be held in a horizontally long orientation. When the left controller 3 is held in a horizontally long orientation, it may be held with both hands.
[0045] The left controller 3 includes a left analog stick (hereinafter, referred to as the left stick) 32, which is an example of a directional input device. As shown in FIG. 4, the left stick 32 is provided on the main surface of the housing 31. The left stick 32 can be used as a directional input unit capable of inputting a direction. By tilting the left stick 32, the user can input a direction according to the tilt direction (and input a magnitude according to the tilt angle). Note that the left controller 3 may include a cross key or a slide stick capable of slide input, instead of an analog stick, as the directional input unit. In addition, in this embodiment, an input can be made by pressing the left stick 32.
[0046] The left controller 3 includes various operation buttons. The left controller 3 includes four operation buttons 33 to 36 (specifically, a right button 33, a down button 34, an up button 35, and a left button 36) on the main surface of the housing 31. Furthermore, the left controller 3 includes a record button 37 and a - (minus) button 47. The left controller 3 includes a first L button 38 and a ZL button 39 on the upper left of the side of the housing 31. The left controller 3 also includes a second L button 43 and a second R button 44 on the side of the housing 31 that is attached when the left controller 3 is attached to the main unit 2. These operation buttons are used to give instructions according to various programs (for example, OS programs and application programs) executed on the main unit 2.
[0047] In addition, the left controller 3 is equipped with a terminal 42 that enables the left controller 3 to communicate with the main unit 2 via wire.
[0048] FIG. 5 is a six-sided view showing an example of the right controller 4. As shown in FIG. 5, the right controller 4 includes a housing 51. In this embodiment, the housing 51 has a vertically long shape, that is, a shape that is long in the up-down direction in FIG. 5 (z-axis direction shown in FIG. 5). The right controller 4 can also be held in a vertically long orientation when removed from the main unit 2. The housing 51 has a shape and size that allows it to be held in one hand, particularly the right hand, when held in a vertically long orientation. The right controller 4 can also be held in a horizontally long orientation. When the right controller 4 is held in a horizontally long orientation, it may be held with both hands.
[0049] The right controller 4, like the left controller 3, is equipped with a right analog stick (hereinafter referred to as the right stick) 52 as a directional input section. In this embodiment, the right stick 52 has the same configuration as the left stick 32 of the left controller 3. The right controller 4 may also be equipped with a cross key or a slide stick capable of slide input, instead of an analog stick. The right controller 4, like the left controller 3, is equipped with four operation buttons 53 to 56 (specifically, the A button 53, The right controller 4 is equipped with three buttons, a B button 54, an X button 55, and a Y button 56. Furthermore, the right controller 4 is equipped with a + (plus) button 57 and a home button 58. The right controller 4 is also equipped with a first R button 60 and a ZR button 61 on the upper right corner of the side of the housing 51. Similarly to the left controller 3, the right controller 4 is also equipped with a second L button 65 and a second R button 66.
[0050] In addition, the right controller 4 is equipped with a terminal 64 for enabling the right controller 4 to communicate with the main unit 2 via wire.
[0051] Fig. 6 is a block diagram showing an example of the internal configuration of main unit 2. In addition to the configuration shown in Fig. 3, main unit 2 includes components 81-91, 97, and 98 shown in Fig. 6. Some of these components 81-91, 97, and 98 may be mounted on an electronic circuit board as electronic components and housed in housing 11.
[0052] The main body device 2 includes a processor 81. The processor 81 is an information processing unit that executes various information processes executed in the main body device 2, and is, for example, a CPU (Central Processing Unit). It may be composed of only a Graphics Processing Unit (GPU) or may be composed of a System-on-a-chip (SoC) including multiple functions such as a CPU function and a Graphics Processing Unit (GPU) function. The processor 81 executes various types of information processing by executing an information processing program (e.g., a game program) stored in a storage unit (specifically, an internal storage medium such as a flash memory 84, or an external storage medium inserted in the slot 23).
[0053] The main unit 2 includes a flash memory 84 and a dynamic random access memory (DRAM) 85 as examples of internal storage media built into the main unit 2. The flash memory 84 and the DRAM 85 are connected to the processor 81. The flash memory 84 is a memory used mainly for storing various data (which may be programs) saved in the main unit 2. The DRAM 85 is a memory used for temporarily storing various data used in information processing.
[0054] The main device 2 includes a slot interface (hereinafter abbreviated as "I / F") 91. The slot I / F 91 is connected to the processor 81. The slot I / F 91 is connected to the slot 23, and reads and writes data from and to a predetermined type of storage medium (e.g., a dedicated memory card) inserted in the slot 23 in response to an instruction from the processor 81.
[0055] The processor 81 appropriately reads and writes data from and to the flash memory 84, DRAM 85, and each of the above storage media to execute the above information processing.
[0056] The main unit 2 includes a network communication unit 82. The network communication unit 82 is connected to the processor 81. The network communication unit 82 communicates with an external device via a network (specifically, wireless communication). In this embodiment, the network communication unit 82 connects to a wireless LAN and communicates with an external device using a method conforming to the Wi-Fi standard as a first communication mode. The network communication unit 82 also performs wireless communication with other main units 2 of the same type using a predetermined communication method (for example, communication using a unique protocol or infrared communication) as a second communication mode. Note that the wireless communication using the second communication mode enables wireless communication with other main units 2 located within a closed local network area, and realizes a function that enables so-called "local communication" in which data is transmitted and received by directly communicating between multiple main units 2.
[0057] The main unit 2 includes a controller communication unit 83. The controller communication unit 83 is connected to the processor 81. The controller communication unit 83 performs wireless communication with the left controller 3 and / or the right controller 4. Any communication method may be used between the main unit 2 and the left controller 3 and right controller 4, but in this embodiment, the controller communication unit 83 performs communication with the left controller 3 and the right controller 4 in accordance with the Bluetooth (registered trademark) standard.
[0058] The processor 81 is connected to the left terminal 17, the right terminal 21, and the lower terminal 27. When the processor 81 performs wired communication with the left controller 3, it transmits data to the left controller 3 via the left terminal 17 and receives operation data from the left controller 3 via the left terminal 17. When the processor 81 performs wired communication with the right controller 4, it transmits data to the right controller 4 via the right terminal 21 and receives operation data from the right controller 4 via the right terminal 21. When the processor 81 performs communication with the cradle, it transmits data to the cradle via the lower terminal 27. Thus, in this embodiment, the main unit 2 can perform both wired communication and wireless communication with the left controller 3 and the right controller 4. When the main unit 2 alone or an integrated device with the left controller 3 and the right controller 4 attached to the main unit 2 is attached to the cradle, the main unit 2 can output data (e.g., image data and audio data) to a stationary monitor or the like via the cradle.
[0059] Here, the main unit 2 can communicate with a plurality of left controllers 3 simultaneously (in other words, in parallel). The main unit 2 can also communicate with a plurality of right controllers 4 simultaneously (in other words, in parallel). Therefore, a plurality of users can simultaneously input to the main unit 2 using each set of left controllers 3 and right controllers 4. As an example, a first user can input to the main unit 2 using a first set of left controllers 3 and right controllers 4, while a second user can input to the main unit 2 using a second set of left controllers 3 and right controllers 4.
[0060] The main device 2 includes a touch panel controller 86, which is a circuit that controls the touch panel 13. The touch panel controller 86 is connected between the touch panel 13 and the processor 81. The touch panel controller 86 generates data indicating, for example, the position where a touch input has been performed based on a signal from the touch panel 13, and outputs the data to the processor 81.
[0061] The display 12 is also connected to the processor 81. The processor 81 displays on the display 12 an image generated (for example, by executing the above-mentioned information processing) and / or an image acquired from the outside.
[0062] The main unit 2 includes a codec circuit 87 and speakers (specifically, a left speaker and a right speaker) 88. The codec circuit 87 is connected to the speaker 88 and the audio input / output terminal 25, and is also connected to the processor 81. The codec circuit 87 is a circuit that controls the input and output of audio data to and from the speaker 88 and the audio input / output terminal 25.
[0063] The main unit 2 includes a power control unit 97 and a battery 98. The power control unit 97 is connected to the battery 98 and the processor 81. Although not shown, the power control unit 97 is also connected to each unit of the main unit 2 (specifically, each unit that receives power from the battery 98, the left terminal 17, and the right terminal 21). The power control unit 97 controls the supply of power from the battery 98 to each of the above-mentioned units based on instructions from the processor 81.
[0064] Furthermore, battery 98 is connected to lower terminal 27. When an external charging device (e.g., a cradle) is connected to lower terminal 27 and power is supplied to main unit 2 via lower terminal 27, battery 98 is charged with the supplied power.
[0065] Fig. 7 is a block diagram showing an example of the internal configuration of the main unit 2, the left controller 3, and the right controller 4. Note that details of the internal configuration of the main unit 2 are omitted in Fig. 7 because they are shown in Fig. 6.
[0066] The left controller 3 includes a communication control unit 101 that communicates with the main unit 2. As shown in FIG. 7, the communication control unit 101 is connected to each component including the terminal 42. In this embodiment, the communication control unit 101 can communicate with the main unit 2 by both wired communication via the terminal 42 and wireless communication not via the terminal 42. The communication control unit 101 controls the communication method by which the left controller 3 communicates with the main unit 2. That is, when the left controller 3 is attached to the main unit 2, the communication control unit 101 communicates with the main unit 2 via the terminal 42. Also, when the left controller 3 is detached from the main unit 2, the communication control unit 101 performs wireless communication with the main unit 2 (specifically, the controller communication unit 83). The wireless communication between the controller communication unit 83 and the communication control unit 101 is performed according to, for example, the Bluetooth (registered trademark) standard.
[0067] The left controller 3 also includes a memory 102, such as a flash memory. The communication control unit 101 is configured with, for example, a microcomputer (also called a microprocessor), and executes firmware stored in the memory 102 to perform various processes.
[0068] The left controller 3 includes buttons 103 (specifically, buttons 33 to 39, 43, 44, and 47). The left controller 3 also includes a left stick 32. Each button 103 and left stick 32 repeatedly outputs information relating to an operation performed on the button 103 and left stick 32 to the communication control unit 101 at an appropriate timing.
[0069] The left controller 3 includes an inertial sensor. Specifically, the left controller 3 includes an acceleration sensor 104. The left controller 3 also includes an angular velocity sensor 105. In this embodiment, the acceleration sensor 104 detects the magnitude of acceleration along three predetermined axes (for example, the x, y and z axes shown in FIG. 4). The acceleration sensor 104 may detect acceleration in one or two axial directions. In this embodiment, the angular velocity sensor 105 detects angular velocity around three predetermined axes (for example, the x, y and z axes shown in FIG. 4). The angular velocity sensor 105 may detect angular velocity around one or two axes. The acceleration sensor 104 and the angular velocity sensor 105 are each connected to the communication control unit 101. The detection results of the acceleration sensor 104 and the angular velocity sensor 105 are repeatedly output to the communication control unit 101 at appropriate timing.
[0070] The communication control unit 101 acquires information related to the input (specifically, information related to the operation, or the detection results by the sensors) from each input unit (specifically, each button 103, left stick 32, each sensor 104 and 105). The communication control unit 101 transmits operation data including the acquired information (or information obtained by performing a specified process on the acquired information) to the main unit 2. The operation data is repeatedly transmitted once every specified time. The interval at which the information related to the input is transmitted to the main unit 2 may or may not be the same for each input unit.
[0071] By transmitting the above operation data to the main unit 2, the main unit 2 can obtain the input made to the left controller 3. In other words, the main unit 2 can determine the operation of each button 103 and the left stick 32 based on the operation data. In addition, the main unit 2 can calculate information regarding the movement and / or attitude of the left controller 3 based on the operation data (specifically, the detection results of the acceleration sensor 104 and the angular velocity sensor 105).
[0072] The left controller 3 is equipped with a power supply unit 108. In this embodiment, the power supply unit 108 has a battery and a power control circuit. Although not shown, the power control circuit is connected to the battery and to each part of the left controller 3 (specifically, each part that receives power from the battery).
[0073] As shown in FIG. 7, the right controller 4 includes a communication control unit 111 that communicates with the main unit 2. The right controller 4 also includes a memory 112 that is connected to the communication control unit 111. The communication control unit 111 is connected to each component including the terminal 64. The communication control unit 111 and the memory 112 have the same functions as the communication control unit 101 and the memory 102 of the left controller 3. Therefore, the communication control unit 111 can communicate with the main unit 2 by both wired communication via the terminal 64 and wireless communication (specifically, communication in accordance with the Bluetooth (registered trademark) standard) that does not go through the terminal 64, and controls the method of communication that the right controller 4 uses with the main unit 2.
[0074] The right controller 4 has input units similar to those of the left controller 3. Specifically, it has buttons 113, a right stick 52, and inertial sensors (an acceleration sensor 114 and an angular velocity sensor 115). These input units have the same functions as those of the left controller 3, and operate in the same manner.
[0075] The right controller 4 is equipped with a power supply unit 118. The power supply unit 118 has the same functions as the power supply unit 108 of the left controller 3, and operates in the same manner.
[0076] [Overview of information processing in this embodiment] Next, an overview of the information processing operation executed by the game system 1 according to this embodiment will be described. The processing according to this embodiment is processing related to the control of a virtual camera. Specifically, this processing assumes a case where an object of interest is occluded by a predetermined object (hereinafter, occluding object) as viewed from the virtual camera. In this embodiment, a case where the object of interest is a player character object (hereinafter, referred to as a PC) will be described as an example.
[0077] [Processing overview and screenshots] 8 and 9 are diagrams for explaining an overview of the processing according to this embodiment, and are also diagrams showing the positional relationship between the virtual camera, the PC 201, and the terrain object that may be the above-mentioned occluding object. Also, FIGS. 10 to 15 are diagrams showing an example of a screen displayed by the processing of this embodiment. Note that FIGS. 8 to 9 are schematic diagrams showing an image of a cross-section of the terrain shown in FIGS. 10 to 15 cut by a vertical plane passing through the virtual camera and the PC 201. First, the positional relationship will be described with reference to FIG. 8. In FIG. 8, the PC 201 is placed on the ground in a virtual three-dimensional space (hereinafter simply referred to as the virtual space). Also, in FIG. 8, a terrain object is placed on the left side of the PC 201. This terrain object has three steps and has a substantially staircase-like shape. Hereinafter, for convenience of explanation, the parts related to the steps will be called the first part, the second part, and the third part as shown in FIG. 8. Specifically, in FIG. 8, when a virtual line (the line of sight of the virtual camera) from the virtual camera toward PC 201 passes through a terrain object (outside → inside → outside the terrain object) multiple times, the parts of the terrain object that it passes through (and its vicinity) are referred to as the first part, second part, and third part, in order of proximity to the virtual camera. In the following description, each part is treated as an individual occluding object. These parts are sometimes collectively referred to as the "occluded part." Note that the terrain object in question may be divided into multiple parts. It may be one object including the occluded part, or may be configured by combining occluded parts that are separate objects. In addition, in Figures 8 to 15, each step of the three steps is shown with a different hatching pattern so that each step (height difference) can be easily distinguished.
[0078] An overview of the control process of the virtual camera in this embodiment will be described on the premise of the positional relationship between the terrain object having the above-mentioned shape and the PC 201. In this embodiment, it is assumed that the gaze point of the virtual camera is set to the PC 201. Then, it is assumed that when the PC 201 is occluded and cannot be seen by the terrain object (the nearest occluding part) as viewed from the virtual camera, the virtual camera is moved to a position where the PC 201 can be seen without being occluded.
[0079] Here, to supplement the movement of the virtual camera, in this embodiment, it is assumed that the virtual camera is moved based on a user's operation. Specifically, the user can change the depression angle of the virtual camera, for example, by using the right stick 52. Then, the distance from the virtual camera to the PC 201 is determined based on this depression angle. In this embodiment, the larger the depression angle of the virtual camera, the farther the distance from the PC 201. Therefore, when the user performs an operation to increase the depression angle of the virtual camera (for example, an operation to input the right stick 52 upward), the depression angle of the virtual camera increases, and the virtual camera moves away (backwards) from the PC 201. Conversely, the user can reduce the depression angle by performing an operation to reduce the depression angle of the virtual camera (for example, an operation to input the right stick 52 downward). As the depression angle decreases, the distance between the virtual camera and the PC 201 decreases. As a result, the user can move the virtual camera closer to the ground and the PC 201 by this operation.
[0080] The processing according to this embodiment can also be applied to a case where the virtual camera is automatically controlled, for example, by moving the virtual camera so as to follow the PC 201.
[0081] Next, an example of the movement of the virtual camera in this embodiment will be described. Specifically, an example will be described in which the virtual camera moves from a state in which the virtual camera is at the "start position" shown in Fig. 9 to a "position H" at the end. First, when the virtual camera is at the above-mentioned "initial position", a screen such as that shown in Fig. 10 is displayed. Fig. 10 shows a state in which the PC 201 is not blocked as viewed from the virtual camera. Also, Fig. 10 shows a screen in which a part of the step portion of the terrain object is reflected.
[0082] Next, in FIG. 9, it is assumed that the virtual camera moves slightly downward from the "initial position" and reaches "position A". FIG. 11 is an example of a screen when the virtual camera is at "position A". At "position A", the virtual camera is not in contact with the terrain object, but the above three parts are in the line of sight (see FIG. 8). That is, the first part, the second part, and the third part are on the virtual line. Therefore, when viewed from the virtual camera, the PC 201 is shielded by the first part. In the screen example of FIG. 11, most of the screen is covered by the first part, which is located closest to the virtual camera.
[0083] 11, in this embodiment, when PC 201 is occluded as viewed from the virtual camera, PC 201 is displayed in silhouette. This allows the user to visually recognize (understand) the position of the occluded PC 201. When only a portion of PC 201 is occluded, only the occluded portion may be displayed in silhouette.
[0084] As described above, at "position A", three occluded parts exist on the virtual line. After that, it is assumed that the virtual camera further moves down and comes into contact with the first part. In this case, when moving the virtual camera to a position where the PC 201 is not occluded, in the past, the virtual camera was generally moved in an instant or in a very short time to the unoccluded "position G" (or "position H") by slipping through (going over) the multiple occluded parts at once. However, in the case of such control, the image changes abruptly, and there was a risk of reducing visibility. For example, when the virtual camera moves a relatively long distance in an instant, there was a risk that such abrupt change in viewpoint position would make it difficult for the user to grasp the positional relationship in the virtual space.
[0085] Therefore, in this embodiment, when there are multiple occluded parts on the line of sight from the virtual camera to the target object, and the virtual camera is moved to a position where the line of sight is not occluded, the virtual camera is controlled so that the occluded parts are not crossed all at once, but are crossed one by one in stages. By controlling the crossing in stages in this way, it is possible to suppress a sudden change in the viewpoint position and prevent a decrease in visibility.
[0086] Specifically, in this embodiment, when PC201 is occluded and the virtual camera comes into contact with or is buried in the occluded portion (both are collectively referred to as "contact" in the following description), the virtual camera is caused to pass through the occluded portion to a position where PC201 is not occluded by the occluded portion. Hereinafter, such a movement that passes through the occluded portion is referred to as a "slip-through movement." Also, a position where PC201 is not occluded by the occluded portion, which is the destination of the slip-through movement, is referred to as a "slip-through destination position." The slip-through destination position is assumed to be a position immediately after the virtual line first passes through the first portion, or a position closer to the target of interest than the position immediately after the passing.
[0087] Regarding the pass-through destination position, the example of FIG. 9 will be described. First, the virtual camera moves from "position A" to "position B" and comes into contact with the first part. In this case, a position immediately after the first passing through the first part on the virtual line from the virtual camera toward the PC 201 is calculated. Then, the position or a position closer to the PC 201 than the position is determined as the pass-through destination position. In this embodiment, an example will be described in which the latter position is used as the pass-through destination position. More specifically, a position on the virtual line that is adjacent to the PC 201 side from a position immediately after passing through the obstructed part (the first part in FIG. 8) in contact and where the virtual camera does not come into contact with the obstructed part is determined as the pass-through position.
[0088] The virtual camera is moved to the pass-through position thus determined, which is "position C" in the example of FIG. 9. This movement may be instantaneous, or may be made to pass slowly through the inside of the first part. In the former case, the screen will show that the first part has been passed through in an instant, while in the latter case, the passing through the inside of the first part will be displayed on the screen over a period of time. In either case, the moving distance will be smaller than when passing through multiple occluded parts at once, which reduces the difficulty in grasping the positional relationship.
[0089] When the virtual camera is moved past the first portion as described above and is at "position C", a screen such as that shown in Fig. 12 is displayed. At this point, there are still two occluded portions (the second portion and the third portion) on the virtual line. Therefore, the displayed screen shows part of the second portion on the virtual camera side (the front side), and part of the third portion on the back side. Also, since PC 201 is still occluded, it continues to be displayed as a silhouette.
[0090] As shown above, when the virtual camera is at "position C", PC201 is still occluded. Therefore, if the operation of lowering the position of the virtual camera continues, the control of moving the second part through the virtual camera is continued. However, in this embodiment, the virtual camera is not moved through the virtual camera to the first position unless the "re-movement condition" is satisfied. In other words, after moving through one obstructed part, the virtual camera is not moved through the virtual camera to the next obstructed part immediately, but is controlled to move through the virtual camera after the re-movement condition is satisfied. In this embodiment, the following condition is described as an example of the re-movement condition. First, the obstructed part that was in contact with the virtual camera before moving to the destination position is set as the first obstructing object, and the nearest obstructed part among the obstructed parts on the virtual line as viewed from the destination position is set as the second obstructing object. In the above example, the first part corresponds to the first obstructing object, and the second part corresponds to the second obstructing object. In addition, the destination position of the first part is set as the first position, and the destination position of the second part is set as the second position. Then, after moving to the first position, the re-movement condition for moving to the second position is that the virtual camera comes into contact with the second occluding object (second portion). Therefore, the virtual camera moves, for example, as follows. First, the virtual camera moves further down from the above-mentioned "position C" to "position D". As a result, the virtual camera comes into contact with the second portion, and the re-movement condition is satisfied. Then, "position E" is determined as the pass-through position of the second portion. As a result, if the virtual camera comes into contact with the second portion at "position D", the virtual camera moves from "position" D to "position E".
[0091] FIG. 13 is an example of a screen in which the virtual camera is at "position E". In this screen, it is shown that the PC 201 is still occluded by the third part. Then, similarly to the above, control is performed to move the virtual camera through the third part on condition that the re-movement condition is satisfied. In this case, the second part corresponds to the first occluding object, and the third part corresponds to the second occluding object. Also, the first position corresponds to "position E", and the second position corresponds to "position G". Therefore, after the virtual camera moves to "position E", the condition for the virtual camera to move through the third part and move to "position G" is that the virtual camera comes into contact with the third part. Therefore, the virtual camera moves as follows. First, the virtual camera moves from "position E" to "position F", and as a result, the virtual camera comes into contact with the third part. This satisfies the re-movement condition, and "position G" is determined as the position to which the virtual camera will pass through. Then, the virtual camera moves from "position F" to "position G".
[0092] 14 is an example of a screen when the virtual camera is at "position G." At "position G," there is no occluding portion (terrain object) that occludes PC 201, so the silhouette display of PC 201 is canceled. In addition, the depression angle of the virtual camera is close to 0 degrees, and a screen is displayed in which the line of sight is close to horizontal.
[0093] If the operation of lowering the virtual camera continues thereafter, a screen such as that shown in Fig. 15 will eventually be displayed. Fig. 15 is an example of a screen when the virtual camera is at "position H". At this point, the line of sight is horizontal (depression angle is 0 degrees). Note that in this embodiment, once the depression angle of the virtual camera reaches 0 degrees, the virtual camera will not move further downward.
[0094] In this manner, in this embodiment, when there are multiple occluding objects that occlude the target on a virtual line from the virtual camera to the target, the virtual camera is moved stepwise while passing over the multiple occluding objects one by one, rather than passing over them all at once. This makes it possible to suppress abrupt viewpoint changes such as the virtual camera moving instantaneously when there are multiple occluding objects in front of the virtual camera, thereby improving visibility.
[0095] In this embodiment, an example is given in which the virtual camera is operated manually. Therefore, for example, the user can perform an operation to increase the depression angle of the virtual camera. As described above, when the depression angle of the virtual camera increases, the distance from the PC 201 also increases. Therefore, the virtual camera moves in a direction away from the PC 201. That is, the user can also move the virtual camera in a direction opposite to the direction toward the PC 201 by performing an operation to increase the depression angle of the virtual camera. A supplementary explanation will be given regarding the movement of the virtual camera in this case. FIG. 16 is a diagram showing an example of the movement of the virtual camera when, for example, after passing through a certain occluding object, the user performs an operation to increase the depression angle of the virtual camera (an operation to increase the distance from the PC 201). In such a case, the movement of the virtual camera is such that it retreats from the pass-through destination position, and a position where it is buried in the occluding object can be calculated as the destination. When viewed from this destination, the PC 201 is occluded and in contact with (buried in) the occluding object. Therefore, the pass-through position as described above is determined as the destination of the virtual camera. As a result, the virtual camera moves to a position slightly higher than its original position. By repeating this process, the virtual camera ultimately moves upward along the wall of the occluding object. Then, when it reaches the top of the occluding object and there is nothing in contact with it behind, the virtual camera continues to retreat (moving up while moving away from PC 201).
[0096] [Details of the virtual camera control process of this embodiment] Next, the virtual camera control process in this embodiment will be described in more detail with reference to FIGS.
[0097] [About data usage] First, various data used in this process will be described. Fig. 17 is a memory map showing an example of various data stored in the DRAM 85 of the main unit 2. At least a game program 301, player object data 302, terrain object data 303, virtual camera data 304, operation data 305, and silhouette flag 306 are stored in the DRAM 85 of the main unit 2.
[0098] The game program 301 is a program for executing game processing including virtual camera control processing in this embodiment.
[0099] The player object data 302 is data related to the PC 201. The player object data 302 includes position data indicating the position of the PC 201, posture data indicating the posture of the PC 201, and the like.
[0100] The terrain object data 303 is data of terrain objects arranged in a virtual space. The terrain object data 303 includes an ID for uniquely identifying each terrain object, information indicating the arrangement position, model data indicating the shape, polygon data, etc.
[0101] The virtual camera data 304 is data for controlling the virtual camera, and includes data indicating the position, attitude (depression angle), angle of view, movement speed, and the like of the virtual camera.
[0102] Next, the operation data 305 is data obtained from the controller operated by the user. In other words, it is data indicating the operation contents performed by the user. FIG. 18 shows an example of the data configuration of the operation data 305. The operation data 305 includes digital button data 351, right stick data 352, left stick data 353, right inertial sensor data 354, and , and left inertial sensor data 355. The digital button data 351 is data indicating the pressed states of various buttons of the controller. The right stick data 352 is data indicating the operation content of the right stick 52. Specifically, two-dimensional data of x and y is included. The left stick data 353 is data indicating the operation content of the left stick 32. The right inertial sensor data 354 is data indicating the detection results of the inertial sensors of the acceleration sensor 114 and angular velocity sensor 115 of the right controller 4. Specifically, triaxial acceleration data and triaxial angular velocity data are included. The left inertial sensor data 355 is data indicating the detection results of the inertial sensors of the acceleration sensor 104 and angular velocity sensor 105 of the left controller 3.
[0103] The silhouette flag 306 is a flag for indicating whether or not to display the PC 201 in a silhouette display mode. When the silhouette flag 306 is on, it indicates that the PC 201 is to be displayed in silhouette.
[0104] The pass-through flag 307 is a flag for determining whether or not to move the virtual camera to the pass-through destination position described above. The initial value is off, and when the pass-through flag 307 is on, it indicates that the virtual camera needs to be moved to the pass-through destination position.
[0105] In addition, although not shown, various data necessary for game processing is also stored in the DRAM 85.
[0106] [Details of the processing performed by Processor 81] Next, the virtual camera control process in this embodiment will be described in detail. In this embodiment, one or more processors read and execute the above program stored in one or more memories, thereby realizing the flowchart shown below. Note that the flowchart shown below is merely an example of the processing process. Therefore, the processing order of each step may be changed as long as the same result is obtained. In addition, the values of the variables and the threshold values used in the determination step are merely examples, and other values may be adopted as necessary.
[0107] 19 is a flowchart showing details of the virtual camera control process according to this embodiment. The process according to this flowchart is repeatedly executed for each frame. It is assumed that a predetermined topographical object and PC 201 have already been placed in the virtual space prior to the execution of this process.
[0108] First, in step S1, processor 81 determines whether or not pass-through flag 307 is on, based on operation data 305. If the result of this determination is off (NO in step S1), in step S2, processor 81 sets the depression angle of the virtual camera based on the operation data (that is, changes the attitude of the virtual camera). In the following step S3, processor 81 determines the distance from the virtual camera to PC 201, based on the set depression angle. As described above, the distance is determined to be larger as the depression angle increases. Then, in step S4, processor 81 moves the virtual camera to a position according to the determined distance (the position is necessarily determined once the depression angle and distance are determined).
[0109] Next, in step S5, processor 81 determines whether or not PC 201 is occluded by some occluding object as viewed from the virtual camera. That is, it determines whether or not an occluding object exists on the virtual line from the virtual camera to PC 201. If the result of the determination is that PC 201 is not occluded (NO in step S5), processor 81 sets silhouette flag 306 to OFF in step S11. Then, the process proceeds to step S9, which will be described later.
[0110] On the other hand, if PC 201 is occluded (YES in step S5), in step S6, processor 81 sets silhouette flag 306 to ON. As a result, when PC 201 is occluded as viewed from the virtual camera, settings are made to display PC 201 as a silhouette.
[0111] Next, in step S7, processor 81 determines whether or not the virtual camera is in contact with an obscuring object. If the result of this determination is that the virtual camera is not in contact (NO in step S7), the process proceeds to step S9 described below. On the other hand, if the virtual camera is in contact (YES in step S7), in step S8, processor 81 determines the pass-through destination position as described above based on the positional relationship between the obscuring object with which the virtual camera is currently in contact and PC 201. Then, processor 81 sets pass-through flag 307 to ON.
[0112] Next, in step S9, the processor 81 generates a game image by capturing an image of the virtual space with the virtual camera. At this time, if the silhouette flag 306 is on, the processor 81 generates an image in which the PC 201 is displayed in silhouette. Then, the processor 81 outputs the generated game image to a stationary monitor or the like.
[0113] Next, the process when the result of the determination in step S1 is that the pass-through flag 307 is on will be described. In this case, in step S10, the processor 81 moves the virtual camera to the pass-through destination position determined in step S8. That is, the virtual camera is moved to the pass-through destination position determined in the process related to the immediately preceding frame. Furthermore, the processor 81 sets the pass-through flag 307 to off. Thereafter, the process proceeds to step S5.
[0114] The above-described process is repeatedly executed for each frame until, for example, a game end condition is satisfied. This concludes the detailed description of the virtual camera control process according to this embodiment.
[0115] In this manner, in this embodiment, when there are multiple occluding objects in front of the virtual camera (in the imaging direction), the virtual camera is moved stepwise while passing over the multiple occluding objects one by one. This makes it possible to suppress abrupt changes in viewpoint caused by the virtual camera moving a relatively large distance at once, and improve visibility.
[0116] [Variations] In the above example, the re-movement condition is determined to be that the virtual camera has come into contact with the "second shielding object" described above. In this regard, other conditions may be used as the re-movement condition. As another re-movement condition, for example, the re-movement condition may be that a predetermined waiting time has elapsed since the virtual camera was moved to the first position. In addition, for example, the re-movement condition may be that the virtual camera has moved a predetermined distance or more (toward the target of interest) since the virtual camera was moved to the first position. Furthermore, these conditions may be used in combination for the determination.
[0117] In addition, in the above embodiment, the virtual camera is controlled such that the distance from the target increases as the depression angle of the virtual camera increases. In another embodiment, the virtual camera may be controlled to move closer to or farther away from the target without changing the depression angle.
[0118] In the above embodiment, a series of processes related to the game processing is executed in a single main unit 2. In other embodiments, the series of processes may be executed in an information processing system made up of a plurality of information processing devices. For example, in an information processing system including a terminal device and a server device capable of communicating with the terminal device via a network, In the above-mentioned information processing system, a part of the series of processes may be executed by the server-side device. Furthermore, in an information processing system including a terminal-side device and a server-side device capable of communicating with the terminal-side device via a network, a main part of the series of processes may be executed by the server-side device, and a part of the processes may be executed by the terminal-side device. In the above-mentioned information processing system, the server-side system may be configured by a plurality of information processing devices, and the processes to be executed by the server side may be shared and executed by the plurality of information processing devices. Also, a so-called cloud gaming configuration may be adopted. For example, the main unit 2 may be configured to send operation data indicating a user's operation to a predetermined server, and various game processes may be executed in the server, and the execution results may be streamed to the main unit 2 as video and audio. [Explanation of symbols]
[0119] 1. Game System 2. Main Unit 3 Left Controller 4 Right Controller 81 Processor 84 Flash Memory 85 DRAM
Claims
1. An information processing program executed on a computer of an information processing device, The computer, a collision determination means for determining whether a line segment connecting a virtual camera that captures an image of a target in a virtual space and the target collides with an object; a virtual camera control means for moving the virtual camera to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest when the collision determination means determines that the line segment will collide with the object; functioning as a re-movement determination means for determining whether or not a re-movement condition is satisfied, the re-movement condition including a predetermined time having elapsed since it was determined that a line segment connecting the virtual camera after the movement and the target of interest will collide with an object, after the virtual camera has been moved by the virtual camera control means; The virtual camera control means If the re-movement condition is satisfied, the virtual camera is moved to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest; If the re-movement condition is not satisfied, the virtual camera is not moved. Information processing program.
2. 2. The information processing program according to claim 1, wherein the virtual camera control means determines that the re-movement condition is satisfied when the virtual camera has moved a predetermined distance or more from a time when the virtual camera was moved to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest.
3. The information processing program according to claim 1 , wherein the virtual camera control means controls the virtual camera such that a distance to the target becomes shorter as a depression angle of the virtual camera becomes smaller.
4. The information processing program according to claim 1 , wherein the virtual camera control means controls at least one of a position and an attitude of the virtual camera based on a camera control input by a user.
5. The information processing program according to claim 1 , wherein the target of attention is a player character.
6. The information processing program according to claim 1, further causing the computer to function as a drawing means for drawing at least a portion of the target object in a manner that can be seen through the occluding object when at least a portion of the target object is occluded by the occluding object as viewed from the virtual camera.
7. The information processing program according to claim 1 , wherein the virtual camera control means moves and changes the attitude of the virtual camera with the target of interest as a gaze point.
8. a collision determination means for determining whether a line segment connecting a virtual camera that captures an image of a target in a virtual space and the target collides with an object; a virtual camera control means for moving the virtual camera to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest when the collision determination means determines that the line segment will collide with the object; a re-movement determination means for determining whether or not a re-movement condition is satisfied, the re-movement condition including a predetermined time having elapsed since it was determined that a line segment connecting the moved virtual camera and the target of interest collides with an object after the virtual camera is moved by the virtual camera control means, The virtual camera control means If the re-movement condition is satisfied, the virtual camera is moved to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest; If the re-movement condition is not satisfied, the virtual camera is not moved. Information processing device.
9. a collision determination means for determining whether a line segment connecting a virtual camera that captures an image of a target in a virtual space and the target collides with an object; a virtual camera control means for moving the virtual camera to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest when the collision determination means determines that the line segment will collide with the object; a re-movement determination means for determining whether or not a re-movement condition is satisfied, the re-movement condition including a predetermined time having elapsed since it was determined that a line segment connecting the moved virtual camera and the target of interest collides with an object after the virtual camera is moved by the virtual camera control means, The virtual camera control means If the re-movement condition is satisfied, the virtual camera is moved to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest; If the re-movement condition is not satisfied, the virtual camera is not moved. Information processing system.
10. An information processing method executed by a computer of an information processing device, The computer includes: determining whether a line segment connecting a virtual camera that captures an image of a target in a virtual space with the target collides with an object; if it is determined that the line segment will collide with the object, moving the virtual camera to a position where the line segment will not collide with the object and where the virtual camera approaches the target of interest; determining whether or not a re-movement condition is satisfied after the virtual camera is moved, the re-movement condition including a predetermined time having elapsed since it was determined that a line segment connecting the moved virtual camera and the target of interest collides with an object; If the re-movement condition is satisfied, the virtual camera is moved to a position where the line segment does not collide with the object and where the virtual camera approaches the target of interest; If the re-movement condition is not satisfied, the virtual camera is not moved. Information processing methods.
Citation Information
Patent Citations
Game image control device
JP2002360920A
Game program and game device
JP2014184300A
Information processing program, information processing device, information processing system, and information processing method
JP2014235538A
Information processing program, information processing system, information processing device, and information processing method
JP2014235596A
Information processing system, information processing program, information processing device, information processing method, game system, game program, game device, and game method
JP2018112789A
Cited By
Game program, game device, game system, and game processing method
JP2026146833A
