World prediction within game application environment
By using the world prediction module in video games to generate predictive collision information, the problem of difficulty in collision prediction and high consumption of computing resources is solved, the realism and playability of the game are improved, and consistency and consistency on different computing systems are achieved. accuracy.
Patent Information
- Application Number
- CN202410379751.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-01
AI Technical Summary
Collision prediction in video games is difficult and may lead to incorrect or weird animations and actions, affecting the realism and playability of the game. It also consumes high computing resources, making it difficult to achieve consistency and accuracy on different computing systems.
By using the world prediction module in the game application, predictive collision information is generated, by generating multiple instances for future projection, determining the bounding box position of the virtual object, predicting collisions and generating collision data, which is used to update the action state of the virtual object, Optimize collision analysis and filter unnecessary data to reduce computing resource consumption.
It improves the accuracy and realism of collision prediction in video games, reduces the consumption of computing resources, and ensures consistency and playability when running on different computing systems.
Smart Images

Figure CN118718407A_ABST
Abstract
Description
Background Art
[0001] In video games, characters can collide with other characters or other objects. For example, two players in a sports video game may collide when one player attempts to steal the ball from the other player. In another example, a ball colliding with a player's hand may trigger a game rule, such as a handball rule. When players collide, this can trigger different movement animations and events within the game. If collisions are not predicted, the results of the collision may result in incorrect or strange animations and movements, such as clipping. The ability to predict and, in some cases, avoid collisions can provide better simulation and realism within video games. However, predicting collisions can be difficult and may utilize a lot of computing resources. Summary of the invention
[0002] The systems, methods and devices of the disclosure each have several innovative aspects, no single one of which is solely responsible for all of the desirable attributes disclosed herein.
[0003] One embodiment discloses a computer-implemented method for world prediction within a gaming application, the method comprising: executing, by a hardware processor configured with computer-executable instructions, a gaming application comprising a gaming environment, the gaming environment comprising a plurality of virtual objects, wherein each of the plurality of virtual objects is associated with position data; generating a plurality of instances, wherein each instance comprises a future projection of a first group of a plurality of virtual objects at a set number of frames; determining, in each of the plurality of instances, a position of a bounding box associated with each of the plurality of virtual objects in the first group based at least in part on the position data corresponding to each of the first group of virtual objects; predicting the first A collision between two or more virtual objects among a plurality of virtual objects in a group, wherein predicting the collision comprises: determining whether there is an overlap between respective bounding boxes of the two or more virtual objects, generating at least one near-field bounding box for each of the two or more virtual objects in response to determining that the respective bounding boxes of the two or more virtual objects overlap, and determining whether there is an overlap between the at least one near-field bounding box of the two or more virtual objects; generating collision data based on the predicted collision in response to determining that the respective near-field bounding boxes of the two or more virtual objects overlap; and generating an action for at least one virtual object among the plurality of virtual objects based on the collision data.
[0004] Multiple embodiments of the method may include one, all, or any combination of the following features. In some embodiments, predicting the collision further includes: determining that there is no overlap between the respective bounding boxes of a first virtual object in the plurality of virtual objects in the first group and any other virtual object in the plurality of virtual objects in the first group, and deleting the first virtual object from the first group. In some embodiments, the size of the bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of the associated virtual object, and wherein the center of mass of the bounding box is aligned with the center of mass of the associated virtual object. In some embodiments, the size of at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of a subcomponent ("subcomponent") of the associated virtual object, and wherein the center of mass of the near-field bounding box is aligned with the center of mass of the subcomponent of the associated virtual object. In some embodiments, the collision data includes information about the magnitude of the force of the predicted collision and the location of the predicted collision on the two or more objects. In some embodiments, the method may also include filtering the collision data to remove collision data having a magnitude of force below a threshold value. In some embodiments, the method may further include filtering the collision data to remove collision data having a location matching the specified location.
[0005] Another embodiment discloses a server computing system for world prediction within a gaming application, the system comprising: at least one hardware processor configured with computer executable instructions, the computer executable instructions configuring the at least one hardware processor to: execute a gaming application including a gaming environment, the gaming environment including a plurality of virtual objects, wherein each of the plurality of virtual objects is associated with position data; generate a plurality of instances, wherein each instance comprises a future projection of a first group of plurality of virtual objects at a set number of frames; determine, based at least in part on the position data corresponding to each virtual object in the first group, a position in each of the plurality of instances associated with each of the plurality of virtual objects in the first group; The invention relates to a method for predicting a collision between two or more virtual objects in the first group by: determining whether there is an overlap between the respective bounding boxes of the two or more virtual objects, generating at least one near-field bounding box for each of the two or more virtual objects in response to determining that the respective bounding boxes of the two or more virtual objects overlap, and determining whether there is an overlap between the at least one near-field bounding box of the two or more virtual objects; generating collision data based on the predicted collision in response to determining that the respective near-field bounding boxes of the two or more virtual objects overlap; and generating an action for at least one virtual object in the multiple virtual objects based on the collision data.
[0006] Multiple embodiments of the system may include one, all, or any combination of the following features. In some embodiments, the at least one hardware processor is further configured to predict a collision between two or more virtual objects by determining that there is no overlap between the respective bounding boxes of a first virtual object in the plurality of virtual objects in the first group and any other virtual object in the plurality of virtual objects in the first group, and removing the first virtual object from the first group. In some embodiments, the size of the bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of the associated virtual object, and wherein the center of mass of the bounding box is aligned with the center of mass of the associated virtual object. In some embodiments, the size of the at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of a subcomponent of the associated virtual object, and wherein the center of mass of the near-field bounding box is aligned with the center of mass of the subcomponent of the associated virtual object. In some embodiments, the collision data includes information about the magnitude of the force of the predicted collision and the location of the predicted collision on the two or more objects. In some embodiments, the at least one hardware processor is further configured to filter the collision data to remove collision data having a magnitude of force below a threshold value. In some embodiments, the at least one hardware processor is further configured to filter the collision data to remove collision data having a location that matches the specified location.
[0007] Another embodiment discloses a non-transitory computer-readable medium comprising computer-executable instructions for world prediction within a gaming application, the computer-executable instructions, when executed by at least one processor of a computing system, causing the computing system to: execute a gaming application comprising a gaming environment, the gaming environment comprising a plurality of virtual objects, wherein each of the plurality of virtual objects is associated with position data; generate a plurality of instances, wherein each instance comprises a future projection of a first group of a plurality of virtual objects at a set number of frames; determine, based at least in part on the position data corresponding to each of the first group of virtual objects, a position associated with each of the plurality of virtual objects in the first group in each of the plurality of instances; the positions of the bounding boxes of the two or more virtual objects; predicting a collision between two or more virtual objects among the plurality of virtual objects in the first group by: determining whether there is overlap between the respective bounding boxes of the two or more virtual objects, generating at least one near-field bounding box for each of the two or more virtual objects in response to determining that the respective bounding boxes of the two or more virtual objects overlap, and determining whether there is overlap between the at least one near-field bounding boxes of the two or more virtual objects; generating collision data based on the predicted collision in response to determining that the respective near-field bounding boxes of the two or more virtual objects overlap; and generating an action for at least one virtual object among the plurality of virtual objects based on the collision data.
[0008] Multiple embodiments of the non-transitory computer-readable medium may include one, all, or any combination of the following features. In an embodiment, the computing system is further configured to predict a collision between two or more virtual objects by determining that there is no overlap between the respective bounding boxes of a first virtual object in the plurality of virtual objects in the first group and any other virtual object in the plurality of virtual objects in the first group, and deleting the first virtual object from the first group. In some embodiments, the size of the bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of the associated virtual object, and wherein the center of mass of the bounding box is aligned with the center of mass of the associated virtual object. In some embodiments, the size of the at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on the range of motion of a subcomponent of the associated virtual object, and wherein the center of mass of the near-field bounding box is aligned with the center of mass of the subcomponent of the associated virtual object. In some embodiments, the collision data includes information about the magnitude of the force of the predicted collision and the location of the predicted collision on the two or more objects. In some embodiments, the computing system is further configured to filter the collision data to remove collision data having a location that matches a specified location.
[0009] Although certain embodiments and examples are disclosed herein, the inventive subject matter extends beyond examples in the specifically disclosed embodiments to other alternative embodiments and / or uses, as well as modifications and equivalents thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Throughout the drawings, reference numerals are repeated to indicate correspondence between referenced elements.The drawings are provided to illustrate embodiments of the subject matter described herein and not to limit the scope thereof.
[0011] Figure 1A An embodiment of a computing environment for implementing a world prediction module is illustrated.
[0012] Figure 1B Implementations of various functions and routines that may be implemented by a world prediction module to generate collision information for use within a gaming application are illustrated.
[0013] Figure 2 An embodiment of an animatable virtual object projected into multiple instances compiled by a world prediction module is illustrated.
[0014] Figure 3A An implementation of a far-field bounding box associated with a virtual object is illustrated.
[0015] Figure 3B An implementation of a world prediction module that instantiates a far-field bounding box for each predictive instance is illustrated.
[0016] Figure 3C An implementation of a near-field bounding box associated with a virtual object is illustrated.
[0017] Figure 4 A block diagram illustrating an implementation of a world prediction process.
[0018] Figure 5 An embodiment of a flow diagram of a process for updating the action state of an animatable virtual object during runtime of a gaming application is illustrated.
[0019] Figure 6 An embodiment of a process for generating collision data during runtime of a gaming application is illustrated.
[0020] Figure 7 An embodiment of a sub-process for generating collision data is illustrated.
[0021] Figure 8 An implementation of a computing device is illustrated. DETAILED DESCRIPTION
[0022] Overview
[0023] One of the problems encountered in video games is predicting, resolving, and animating collisions within the game environment. Some video games, such as sports video games, are becoming increasingly realistic and closer to realistic simulations of the real-world equivalents of the sports. However, collision interactions in video games may not result in realistic results expected in real-world simulations. For example, collision predictions may result in false positives, causing characters to try to avoid collisions that did not occur. In another example, collisions that should have been predicted may occur, causing character collisions that humans in similar situations should have avoided or causing strange animations. In another example, unexpected collisions may cause characters to perform actions that do not mimic real-world physics. In each of the above examples and others, insufficient collision recognition may affect the playability and real-world accuracy of the video game.
[0024] Another challenge in predicting collisions within a gaming environment is the different computing resources of the devices that run video games. For example, video games can run on both very powerful computing systems and limited computing systems. The simulation and / or prediction operations used in identifying collisions can be computationally expensive. Unless the system's ability to predict collisions with consistency and accuracy can be used by all systems that can run video games (especially in multi-player games), it may not be effective.
[0025] One solution to various aspects of these problems is to provide world prediction in video games that generates predictive collision information for virtual entities of a virtual environment. The present disclosure relates to a system for generating predictive collision information within a game environment through world prediction. A world prediction module can help solve the problem of real-world simulation and different computing resources.
[0026] The game environment may include multiple virtual objects. Virtual objects may be fixed (e.g., virtual objects cannot move freely in the game environment) or movable (e.g., virtual objects can change position and other properties in the game environment). Virtual objects may include player-controlled virtual entities and non-player-controlled virtual entities. Virtual entities may be associated with position data (e.g., position in the game environment and / or vector information indicating the magnitude and direction of movement at any given instance or frame).
[0027] Virtual entities can be associated with gesture data and action states. The gesture data can be used to animate the virtual entity. For example, the virtual entity can be a human soccer player, and the gesture data can be used to position the arms and legs of the character for each frame of the animation. The gesture data can be updated in a video game through a gesture writing function within the game. The gesture writing function can use game data, such as a game engine, to determine the gesture data. The action state can be used to start an action. The action state of the character can cause the character to start an action in the next frame. For example, the action state can cause the character to start a jumping motion in the next frame. The action state of each character can be updated by a character controller associated with each character (also referred to as controller update). For example, at each frame, the character controller updates the action state based on the game data.
[0028] At each frame, the world prediction module simulates the game environment into one or more future instances. The world prediction module collects collision information from future instances where two or more virtual objects are simulated to collide. The world prediction module can use the collision information to update the action state of one or more virtual entities so that the agent can consider the collision in future frames. In some embodiments, the agent virtual objects use the collision information to avoid collisions.
[0029] Overview of the Video Game Environment
[0030] Figure 1A An embodiment of a computing environment 100 for implementing a world prediction module 140 is illustrated. The environment 100 includes a network 120, a plurality of user computing systems 102, and an interactive computing system 130, which includes an application host system 132 and a game data storage 134. To simplify the discussion and not to limit the present disclosure, Figure 1A Only one user computing system 102 and one interactive computing system 130 are illustrated, although multiple systems may be used. The user computing system 102 may communicate with the interactive computing system 130 via a network 120. Although only one network 120 is illustrated, multiple different networks and / or distributed networks 120 may exist.
[0031] User Computing System
[0032] The user computing system 102 includes computing resources 104 and application data storage 106. The user computing system 102 may have various local computing resources 104, such as a central processing unit and architecture, memory, mass storage devices, graphics processing units, available communication networks and bandwidth, etc. In addition, the user computing system 102 may include any type of computing system. For example, the user computing system 102 may be any type of computing device, such as a desktop computer, a laptop computer, a video game platform / console, a television set-top box, a television (e.g., Internet TV), a network-enabled kiosk, an in-vehicle console device, a computerized appliance, a wearable device (e.g., a smart watch and glasses with computing capabilities), and a wireless mobile device (e.g., a smart phone, a PDA, a tablet computer, etc.), to name a few. The following will be described with respect to Figure 8 A more detailed description of an embodiment of computing system 102 is described.
[0033] Gaming Applications
[0034] The user computing system 102 can execute a game application 110 based on a software code stored at least in part in the application data memory 106. The game application 110 may also be referred to as a video game, a game, a game code, and / or a game program. The game application 110 should be understood to include software codes that the computing device 102 can use to provide a game for a user to play. The game application 110 may include software codes that notify the computing device 102 of the processor instructions to be executed, but may also include data used in playing the game, such as data related to constants, images, route information, and other data structures. In the illustrated embodiment, the game application 110 includes a game engine 112, game data 114, game state information 116, and a world prediction module 140.
[0035] In some embodiments, the user computing system 102 is capable of executing a game application 110, which can be stored and / or executed in a distributed environment. For example, the user computing system 102 can execute a portion of a game, while the network-based computing system can execute another portion of the game. For example, the game can be an online multi-player game that includes a client portion executed by the user computing system 102 and a server portion executed by one or more application host systems 132.
[0036] Game Engine
[0037] The game engine 112 may be configured to execute aspects of the operation of the game application 110 within the user computing system 102. Execution of aspects of game play within the game application may be based at least in part on received user input, game data 114, and game state information 116. The game data 114 may include game rules, animation data, environment settings, constraints, skeletal models, routing information, and / or other game application information.
[0038] The game engine 112 can perform game play within the game according to game rules. Examples of game rules may include rules for scoring, possible inputs, actions / events, movement in response to inputs, etc. Other components can control which inputs are accepted and how the game progresses and other aspects of game play. The game engine 112 can receive user input and determine in-game events, such as actions, jumps, runs, throws, attacks, and other events suitable for the game application 110. During runtime operation, the game engine 112 can read game data 114 and game state information 116 to determine appropriate in-game events.
[0039] In one embodiment, after the game engine 112 determines the character event, the character event can be transmitted to the mobile engine, which can determine the appropriate movement that the character should make in response to the event, and pass these movements to the physics engine. The physics engine can determine the new posture of the character, and provide the new posture to the skin drawing and rendering engine. The skin drawing and rendering engine can in turn provide the character image to the object combiner so that the animated object, the non-animated object and the background object are combined into a complete scene. The complete scene can be transmitted to the renderer, and the renderer generates a new frame for display to the user. During the execution of the game application, the process can be repeated for rendering each frame. Although the process is described in the context of the character, the process can be applied to any process of processing events and rendering output for display to the user.
[0040] Game Data
[0041] Game data 114 may include game rules, pre-recorded motion capture poses / paths, environment settings, environment objects, constraints, skeletal models, route information, and / or other game application information. At least a portion of game data 114 may be stored in application data storage 106. In some embodiments, a portion of game data 114 may be received and / or stored remotely, such as in game data storage 134. In such embodiments, game data may be received during runtime of a game application.
[0042] Game status information
[0043] During runtime, the game application 110 may store game state information 116, which may include game state, character state, environment state, scene object storage, route information, and / or other information associated with the runtime state of the game application 110. For example, the game state information 116 may identify the state of the game application 110 at a particular point in time, such as character position, character orientation, character action, game level attributes, and other information that affects the state of the game application. The game state information may include dynamic state information that changes continuously (e.g., character movement position) as well as static state information (e.g., identification of a game level within a game).
[0044] World Forecast Module
[0045] The world prediction module 140 can use the game state information 116, the game data 114, the game engine 112, and / or information received from the interactive computing system 130 via the network 120 to generate predicted collision information during runtime of the game application 110. In some embodiments, at least a portion of the world prediction module 140 occurs on the user computing system 102. In some embodiments, at least a portion of the world prediction module occurs on the application host system 132 of the interactive computing system 130 and is transmitted to the game application 110 via the network 120.
[0046] The world prediction module 140 can generate predictions and / or simulate executions of the game application 110 in the future time step. The world prediction module 140 can use the predicted collision information as input to determine the action state of the virtual entity in the game application. The world prediction module 140 can identify potential collisions between virtual objects in the game environment. For example, the game application 110 can use the world prediction module 140 to identify potential collisions so that the virtual entity is ready for the collision (e.g., updating the action state of the agent so that the agent begins to avoid the predicted collision). The functions of the world prediction module 140 may include dynamically determining collision information between two or more virtual objects, filtering collision information, and other world prediction functions in the game environment. The various aspects of the operation of the world prediction module 140 will be further described in detail below.
[0047] Interactive computing system
[0048] The interactive computing system 130 may include an application host system 132 and a game data store 134. In some embodiments, the interactive computing system 130 may include one or more computing devices, such as servers and databases that may host and / or execute a portion of one or more instances of the game application 110. In some embodiments, the application host system 132 may include one or more computing devices, such as servers and databases that may host and / or execute a portion of one or more instances of the game application 110. In some embodiments, instead of executing a portion of the game application 110, or in addition to executing a portion of the game application 110, the application host system 132 may also execute another application, such as a world prediction module 140, that may supplement and / or interact with the game application 110 during execution of an instance of the game application 110.
[0049] The interactive computing system 130 can enable multiple users or computing systems to access a portion of the game application 110 executed or hosted by the interactive computing system 130. The interactive computing system 130 can have one or more game servers that are configured to host online video games. For example, the interactive computing system 130 can have one or more game servers that are configured to host instantiations (e.g., first-person shooter multiplayer matches) or persistent virtual environments (e.g., multiplayer online role-playing games). The virtual environment can enable one or more users to interact with the environment and interact with each other in a synchronous and / or asynchronous manner. In some cases, multiple instances of a persistent virtual environment can be created or hosted by one or more game servers. One group of users can be assigned to or can access an instance of a virtual environment, while another group of users can be assigned to or can access another instance of a virtual environment. In some embodiments, the interactive computing system 130 can execute a hosting system for executing various aspects of the game environment. For example, in one embodiment, the gaming application 110 may be a competitive game, such as a first-person shooter or a sports game, and the interactive computing system 130 may provide a dedicated hosting service for hosting multi-player gaming instances (e.g., via a gaming server), or facilitate the creation of gaming instances hosted by the user computing system 102.
[0050] Application Host System
[0051] The interactive computing system 130 can enable multiple users or computing systems to access a portion of the game application 110 executed or hosted by the interactive computing system 130. In some embodiments, the application host system 132 can execute a hosting system for executing various aspects of the game environment. For example, in one embodiment, the game application 110 can record the location of the character within the game environment. In some embodiments, the game application 110 can be a single-player game or an online multi-player game, where the interactive computing system 130 provides additional functionality when connected to an instance of the game application 110. For example, the interactive computing system 130 can provide additional information to the world prediction module 140 based on aggregate information received from multiple users operating the same game application 110. In some embodiments, the application host system 132 can provide a dedicated hosting service for hosting multi-player game instances, or facilitate the creation of game instances hosted by the user computing system 102. In some embodiments, the host application system 132 can provide a lobby or other environment for users to virtually interact with each other.
[0052] World Forecast Module
[0053] In some embodiments, at least a portion of the world prediction module 140 can be included in the application host system 132. As such, the application host system 132 can execute some or all of the world prediction module 140 described above with reference to the gaming application 110. Various aspects of the operation of the world prediction module 140 are described in further detail below.
[0054] Game data storage
[0055] The interactive computing system 130 may include one or more game data stores 134 configured to store information associated with the game applications 110 hosted by the interactive computing system 130 and / or the application host system 132. The game data stores 134 may include information associated with the game applications 110 generated and aggregated by the world prediction module 140. For example, the game data stores 134 may include collision information and other information used by the world prediction module 140. In some embodiments, the one or more game data stores 134 are configured to store user account information associated with the one or more game applications. The user account information may include source assets associated with the user account.
[0056] network
[0057] The network 120 may include any type of communication network. For example, the network 120 may include one or more of a wide area network (WAN), a local area network (LAN), a cellular network, an ad hoc network, a satellite network, a wired network, a wireless network, etc. In some embodiments, the network 120 may include the Internet.
[0058] Example compilation
[0059] Figure 1B Embodiments of various functions and routines that may be implemented by the world prediction module 140 to generate collision information for use within the gaming application 110 are illustrated. The world prediction module 140 may be configured to generate collision information during runtime of the gaming application. The world prediction module 140 may be configured to generate a plurality of instances in order to generate predicted collision information. The instances may include an initial instance generation module 152, a subsequent instance generation module 154, and a world prediction feature 156. In some embodiments, at least a portion of the world prediction module 140 may be found in the user computing system 102 and / or the interactive computing system 130.
[0060] The world prediction features 156 may include one or more instances of a predicted virtual environment that are separate from the runtime instance of the virtual environment visible to the user. The world prediction features 156 may generate one or more predicted animation features (animatable) 158 associated with an animated virtual object within the predicted virtual environment. Each predicted animation feature may include a pose writer feature 160 that is configured to configure the animated virtual object to be in a specific position and pose within the virtual environment. The separate virtual environment may use some or all features of the game engine 112 of the user computing system 102, and may also use some or all features of the interactive computing system 130. For example, the world prediction module 140 may compile one or more simplified virtual environments that omit object textures, lighting, colors, or any other features that are not associated with object collisions. A predicted virtual environment may be compiled for each instance used by the world prediction module 140. Each instance may represent a game environment at a specific point in time. For example, the world prediction module 140 may use a defined number of instances (such as, for example, 2, 5, 8, 10, or any number of predictive instances) to predict player collisions. Each instance may represent a game environment offset by a set number of frames (e.g., a first instance is a game environment offset by four frames, a second instance is a game environment offset by eight frames, and so on). The world prediction feature 156 may generate copies of controllers and gesture writers for animatable virtual objects in all instances. In some embodiments, multiple instances may be compiled in a single game environment. For example, multiple copies of each virtual object may be generated within the same virtual environment (such as Figure 3B as exemplified in ).
[0061] The number of instances generated may be determined dynamically based on a variety of factors, such as the gaming application 110, the type of gaming application, available computing resources, the number of players within the game, game play patterns, the strength of the network connection, the availability of computing resources 104, the availability of servers and processors on the interactive computing system 130, the number of objects within the virtual environment, and / or other factors that affect the complexity of the prediction. In some embodiments, the number of instances may be predetermined.
[0062] The number of frames between instances may be a defined number (e.g., instance 1 is offset by 4 frames, instance 2 is offset by 8 frames, and so on). The number of frames between instances may be predetermined or dynamically determined during runtime of the gaming application 110. The number of frames between instances may be based on available computing resources 104, the strength of the network connection, the availability of dynamic components of the computing resources 104, the availability of servers and processors on the interactive computing system 130, the number of objects within the virtual environment, and / or other factors that affect the complexity of the prediction.
[0063] In some embodiments, the initial instance 152 and subsequent instances 154 can populate the instance with the predicted position of the virtual object corresponding to the time step associated with the instance. The initial instance generation module 152 can clone the game state (e.g., position information) and controller for each animatable virtual object. The initial instance generation module 152 can then update the controller and gesture writing function in the associated instance. The position of each animatable virtual object can be determined, for example, and the corresponding predicted animation characteristics 158 can be generated within the instance.
[0064] In subsequent instances 154, instances may be projected at a defined number of frames from a previous instance. In one embodiment, the defined number of frames is 1 frame, and the virtual environment of the associated instance may project an animated virtual object placed at a fixed position at 1 frame. In another embodiment, the defined number of frames is 4 frames, and the virtual environment of the associated instance may project an animated virtual object placed at a fixed position at 4 frames. It should be noted that other numbers of frames between each instance may be used.
[0065] In some embodiments, subsequent instance generation module 154 can update controllers and gesture writing functions for additional instances, each additional instance being separated from the previous instance by a plurality of frames. For example, if world prediction module 140 uses eight instances, subsequent instance generation module 154 will update controllers and gesture writing functions for six additional instances. Each of the additional instances can be separated by the plurality of frames, such as one frame. Thus, world prediction features 156 can include eight virtual environments associated with predicted animation features 158 at predicted locations one frame into the future. Although eight instances and one frame are used in the above embodiments, other values can be used to adjust the accuracy of world prediction module 140.
[0066] Implementation of Virtual Object Instances
[0067] Figure 2An embodiment of an animated virtual object projected into multiple instances compiled by a world prediction module 140 is illustrated. In this embodiment, a first animated virtual object 202 (e.g., a player in a sports video game) is projected into instances of players 202a-202d, and a second animated virtual object 206 (e.g., a ball) is projected into instances of balls 206a-206d. Although the positions of the players 202a-202d and the balls 206a-206d are shown in a single virtual environment 200, more virtual environments may be used in association with the instances. For example, a separate virtual environment may be used for each instance. The predicted position of each instance of the players 202a-202d and the balls 206a-206d may be determined by the world prediction module 140 based in part on the game engine 112, the game data 114, and / or the game state information 116.
[0068] In one embodiment, each instance of a player 202a-202d has an associated gesture generated by the world prediction module 140. Each gesture may be determined by the world prediction module 140 through a gesture writing function based in part on the game engine 112, the game data 114, and / or the game state information 116.
[0069] In this embodiment, the instances of players 202a-202d and the instances of balls 206a-206d may be separated by multiple frames. For example, the instances of players 202a-202d and balls 206a-206d may each be separated by four frames. In such an embodiment, the associated pose of each instance of player 202a-202d may be a projection of the pose of player 202 at four, eight, twelve, and sixteen frames from the current frame.
[0070] An animated virtual object may not have a modifiable pose. For example, an instance of ball 206a-206d may only have an associated position in a virtual environment, such as virtual environment 200. The pose of an animated virtual object may be based on the positioning of each component of the virtual object, such as, for example, feet, legs, torso, and arms.
[0071] As reference Figure 1B As discussed, the number of instances can be different from Figure 2 . For example, less than four instances or more than four instances may be used. Similarly, the number of frames that separate the instances may be different than described above. For example, each instance may be separated by less than four frames, or each instance may be separated by more than four frames.
[0072] Collision Prediction
[0073] Figure 3A-3CEmbodiments of various functions and routines that can be implemented by the world prediction module 140 to generate collision information for use within the game application 110 are illustrated. The world prediction module 140 can be configured to generate collision information within an instance of a virtual environment. The game environment can be formed by structural elements (such as a grid) that define the structure within the environment. For example, the game environment can be a stadium, a city, a jungle, a spaceship, or any other type of virtual environment consistent with the specific parameters of the game application. The game environment can be constructed in two-dimensional and three-dimensional environments. In some embodiments, the characters within the environment can have the freedom to move in all directions (e.g., along the x, y, and z axes) according to a Cartesian coordinate system.
[0074] The game environment may include virtual objects. The virtual object may be fixed at a certain position (e.g., a fixed virtual object). For example, a fixed virtual object may be a goal post placed at a fixed position within the game environment. The virtual object may also have a variable position (e.g., an animated virtual object). For example, an animated virtual object may be a ball with a degree of freedom to move along one or more axes of the game environment. An animated virtual object may have an agent (i.e., an agent virtual object). The agent may move in the game environment based in part on the action state associated with the agent. The action state may be game data 114 generated by a world prediction module 140, which is configured to cause the agent to move in a specific manner on the next frame of the game application. For example, the action state may cause the agent to kick, jump, move hands, etc. In some embodiments, the world prediction module 140 fills in the action state of the agent virtual object by determining whether the agent virtual object collides with another virtual object in the game environment.
[0075] Far Field Bounding Box
[0076] Figure 3A An embodiment of a far-field bounding box associated with a virtual object is illustrated. A bounding box is a set of boundaries around a virtual object. For example, a far-field bounding box may include a set of boundaries for each axis of the virtual environment (e.g., for a three-dimensional environment, a bounding box may have two boundary coordinates on the x-axis, two boundary coordinates on the y-axis, and two boundary coordinates on the z-axis). The size of the bounding box may be determined by the range of motion of the associated virtual object within the time frame between predictive instances. In some embodiments, the center of mass of the bounding box is aligned with the center of mass of the virtual object.
[0077] In some embodiments, the far field bounding box is a bounding box that represents the predicted range of motion of a virtual object within a time period, such as a set number of frames (e.g., four frames). For example, the position data associated with the virtual object may include a vector representing the velocity of the center of mass of the virtual object and the total distance that the virtual object can reach at any given instance. The far field bounding box can be a two-dimensional or three-dimensional space around the virtual object. The far field bounding box can be a route predictor of potential movement of the virtual object. The basic size and shape of the far field bounding box can be based on the potential movement of the virtual object from the center of mass. The far field bounding box can be expanded based on the potential movement of the center of mass of the virtual object within the time period.
[0078] In some embodiments, the world prediction module 140 generates a virtual object for each instance of the virtual object (e.g. Figure 2 The world prediction module 140 determines whether the far field bounding box of any virtual object overlaps with the far field bounding box of another virtual object. The world prediction module 140 determines whether an overlap occurs between two or more bounding boxes within a predictive instance. For example, an overlap occurs when any portion of a far field bounding box intersects with another far field bounding box.
[0079] In the illustrated embodiment, virtual environment 300 includes a first virtual object (representing a first player) 302, a second virtual object (representing a ball) 304, and a third virtual object (representing a second player) 306. First player 302 is associated with a first far field bounding box 308, ball 304 is associated with a second far field bounding box 310, and second player 306 is associated with a third far field bounding box 312. In the illustrated embodiment, first far field bounding box 308 overlaps with second far field bounding box 310 and third far field bounding box 312. Likewise, third far field bounding box 312 also overlaps with the second far field bounding box.
[0080] Figure 3B An embodiment of a world prediction module 140 that instantiates a far-field bounding box for each predictive instance is illustrated. A far-field bounding box is generated for each predictive instance. The world prediction module 140 can parse each far-field bounding box for each instance and determine whether any far-field bounding boxes overlap. In the illustrated embodiment, the virtual environment 320 includes a first virtual object (first player) 322, a second virtual object (second player) 324, a third virtual object (third player) 326, a fourth virtual object (fourth player) 328, a fifth virtual object (fifth player) 330, and a sixth virtual object (ball) 332.
[0081] In the illustrated embodiment, each virtual object is associated with four predictive instances. The second player 324 and the ball 332 are illustrated as having overlapping far-field bounding boxes in one or more instances. Similarly, the fourth player 328 and the fifth player 330 are illustrated as having overlapping far-field bounding boxes in one or more instances. In contrast, the first player 322 and the third player 326 are illustrated as having no overlapping far-field bounding boxes in any instance.
[0082] In some embodiments, after the overlap between the far-field bounding boxes has been determined, the system can delete instances of virtual objects from the predictive instances when it is determined that there is no overlap between the far-field bounding boxes. For example, the instances of the first player 322 and the third player 326 can be deleted from the instances. In some embodiments, virtual objects are deleted from the instances to save computer resources, such as processing resources, storage resources, etc. In some embodiments, virtual objects are deleted from the instances to reduce the number of virtual objects that the world prediction module 140 considers in the next stage of collision analysis.
[0083] Near Field Bounding Box
[0084] Figure 3C An embodiment of a near-field bounding box associated with a virtual object is illustrated. After a potential collision between far-field bounding boxes has been determined, the system can use the near-field bounding box to determine whether a collision will occur and the extent of the collision. The near-field bounding box is a bounding box representing the range of motion of a sub-component (e.g., hand, arm, leg, etc.) of a virtual object within a set number of frames. In some embodiments, the total range of motion of the sub-components of the virtual object is defined according to kinematics (i.e., the rules of motion defined by the structural model of the virtual object). For example, a virtual object representing a human player may have a structural model based on a simulated skeletal and muscle structure. In such an embodiment, the kinematics of the virtual object can be used to define the range of motion of the simulated skeletal and muscle structure. Therefore, the near-field bounding box of a sub-component (e.g., a hand or foot of a human player) of a virtual object can represent a total range of motion limited by a simulated structural rule (e.g., a rule that limits the range of motion of a foot), which governs the motion of the sub-component.
[0085] The world prediction module 140 can be used for Figure 3C A near-field bounding box is created for each instance of a virtual object where there is overlap between far-field bounding boxes as illustrated in . World prediction module 140 may determine whether any near-field bounding box of a virtual object overlaps any near-field bounding box of another virtual object. World prediction module 140 may use the near-field bounding boxes to determine the type and magnitude of the force of the predicted collision between virtual objects. World prediction module 140 may identify which sub-components of a virtual object will collide with sub-components of another or other virtual objects and the magnitude of the collision.
[0086] In the illustrated embodiment, the virtual environment 350 includes a first virtual object (representing a first player) 352, a second virtual object (representing a ball) 354, and a third virtual object (representing a second player) 356. The first player 352 is associated with a plurality of near-field bounding boxes 358a-358e. The second player 356 is associated with a plurality of near-field bounding boxes 362a-362g. Each near-field bounding box represents a defined sub-component of a virtual object. For example, the near-field bounding box 358a may represent the head and neck of the first player 352. In some embodiments, a non-intelligent virtual object (e.g., ball 354) does not have sub-components. Thus, the ball 354 has only one near-field bounding box 360. It should be noted that more or fewer near-field bounding boxes than illustrated may be associated with a virtual object. The number of near-field bounding boxes may be limited by the kinematics of the virtual object and / or the available computing resources of the world prediction module 140.
[0087] World Forecast Implementation Plan
[0088] Figure 4 An embodiment of the world prediction sequence 400 is illustrated. The world prediction sequence 400 may be implemented by the world prediction module 140 and may include Figure 3A-3C Although any number of virtual objects and instances may be used in the world prediction sequence 400, for illustration purposes, 23 virtual objects and 8 instances are shown.
[0089] At pre-update operation 402, the game state and controllers may be cloned for each virtual object. For example, pre-update operation 402 may perform all or some of the functions of initial instance generation module 152. In some embodiments, the game state and controllers for each virtual object are stored, such as in application data storage 106, for access by later operations.
[0090] At update operation 404, the action state of each virtual object is determined. In some embodiments, the action state is determined by a prediction pipeline 406. The prediction pipeline 406 can use the game state and controller stored for each virtual object to construct a defined number of far-field instances (e.g., eight instances). Each far-field instance representation has an associated far-field bounding box - such as, for example Figure 3A In some embodiments, the far-field bounding box of each virtual object represents the maximum range of motion of the virtual object over multiple frames.
[0091] Once the far-field instances have been determined, the prediction pipeline 406 performs a post-far-field operation to check whether any of the far-field bounding boxes overlap. For example, the prediction pipeline 406 may perform Figure 3B The operations described in . Virtual objects that do not have overlap in any far field instance may be deleted from the prediction pipeline 406, and the collision information may be stored. The action state associated with the virtual object may be updated to indicate that the virtual object did not collide in the simulation.
[0092] For virtual objects that have a far-field bounding box that overlaps at least one other far-field bounding box, the prediction pipeline 406 performs a pose update operation. During the pose update operation, the game state and controller information are used to generate a pose for each of the remaining virtual objects. In some embodiments, before pose generation, each virtual object can be completely represented by a far-field bounding box (e.g., each virtual object is represented by only a center point and a range of motion). After the pose update operation, each remaining virtual object is represented by a combination of sub-components (e.g., a character now has body parts represented).
[0093] Once the gesture update job has been completed, the prediction pipeline 406 generates near-field bounding boxes based on the gesture update. Each near-field instance representation has one or more associated near-field bounding boxes—e.g. Figure 3C In some embodiments, the near-field bounding box represents the potential range of motion of a sub-component of the virtual object within a defined time frame (such as within multiple frames). The potential range of motion of the sub-component can be defined based on the kinematics of the virtual object.
[0094] After generating the near-field bounding boxes, the prediction pipeline 406 performs a post-near-field operation to check whether the near-field bounding box of one virtual object overlaps with the near-field bounding box of another virtual object. If overlap occurs between the near-field bounding boxes, the prediction pipeline 406 determines collision information associated with the virtual objects involved in the collision. For example, the collision information may include the location of the collision, the magnitude of the collision, the frame at which the collision is to occur, and any other information used by the controller of the virtual object to animate the virtual object. The collision information may be stored in an action state associated with the virtual object.
[0095] In some instances, a virtual object that has an overlap registered in a far-field bounding box will not register an overlap in a near-field bounding box. This situation may occur for the following reasons: the far-field bounding box is a coarser analysis for determining whether there is a possibility of a collision between virtual objects. In contrast, the near-field bounding box provides a more detailed analysis of the possible positions of sub-components of a virtual object. For example, the predicted range of motion in the far-field bounding box may be larger than the range of motion defined in the near-field bounding box because the range of motion is limited to the potential motion of individual sub-components based on the gesture data. In this way, some virtual objects may not have a near-field overlap, and the prediction pipeline 406 may update the action state with collision information indicating that no near-field overlap has occurred.
[0096] At update operation 408, a next action is determined based on the action state of each virtual object. For example, if the action state includes collision information about a collision that is predicted to occur, the next action may be to avoid the collision. In another embodiment, if the action state does not include collision information or includes collision information indicating that no collision is predicted to occur, the action state may not change from the previous frame.
[0097] Action status update process
[0098] Figure 5 The embodiment of the flowchart of the process of updating the action state of the animated virtual object during the runtime of the game application is illustrated. The process 500 can be computer-implemented. The process 500 can be implemented by any system that can process the data of the game application. For example, all or part of the process 500 can be implemented by the game application 110, the game engine 112, the world prediction module 140, the interactive computing system 130, the application host system 132 and / or other systems. Although all or part of any number of systems can implement the process 500, in order to simplify the discussion, the process 500 will be described with respect to a specific system. In addition, although the embodiment of the process 500 can be performed with respect to a variant of a system including multiple game application environments, in order to simplify the discussion, the process 500 will be described with respect to the user computing system 102.
[0099] At block 502, game state data associated with the current game state is generated. For example, each agent can be associated with game data 114 and / or game state information 116. In some embodiments, the agent data can include physical information data, such as position data within the game environment.
[0100] At block 504, an action of the virtual object is determined based on the game state data. Figure 6 The analog modules are discussed in more detail.
[0101] At block 506, collision data is generated for each virtual object based on data related to the expected future collision received from the simulation module. For example, based on the physical information associated with the agent, the simulation module can predict that the agent will collide with another virtual object. For example, the simulation module can determine that the agent's legs will collide with a virtual object (e.g., another agent), the agent's hands will collide with a virtual object (e.g., a ball), and so on. In some embodiments, the data related to the expected future collision indicates that no collision is expected to occur. For example, the simulation module can predict that the agent will not collide with another virtual object.
[0102] At block 508, the action state of the virtual object is updated based on the collision data. The action state can be configured to enable the agent to act in the next frame. For example, the action state can enable the agent to start jumping in the next frame. In some embodiments, the action state can be updated based in part on the data received that are relevant to future collisions. For example, after receiving the indication that the agent is expected to collide with a virtual object low to the ground, the action state of the agent can be updated to start jumping to avoid collision. In another embodiment, after receiving the data indicating the inevitable collision between the agent and another virtual object, the action state of the agent can be updated to start moving so as to minimize the magnitude of the collision. For example, the agent may begin to raise its arm to prepare for the impact.
[0103] Generate collision data
[0104] Figure 6 An embodiment of a process for generating collision data during the runtime of a game application is illustrated. Process 600 can be computer-implemented. Process 600 can be implemented by any system that can process the data of a game application. For example, all or part of process 600 can be implemented by a game application 110, a game engine 112, a world prediction module 140, an interactive computing system 130, an application host system 132, and / or another system. Although all or part of any number of systems can implement process 600, in order to simplify the discussion, process 600 will be described with respect to a specific system. In addition, although the embodiment of process 600 can be performed with respect to a variant of a system including multiple game application environments, in order to simplify the discussion, process 600 will be described with respect to user computing system 102.
[0105] At block 602, the system receives virtual object data associated with a virtual object within a virtual environment. The data associated with the virtual object may include data associated with an action state of the virtual object, which may identify an action that the virtual object is performing and / or will perform. The data may be associated with a virtual object that has no action state within the virtual environment, such as a fixed virtual object (e.g., a goal post) or a movable virtual object (e.g., a ball). The data may include movement and position data associated with the virtual object within the virtual environment.
[0106] At block 604, the system generates a plurality of predictive instances of the game state of prediction. There may be a defined number of predictive instances within a defined time period. The time period may be one or more frames. For example, the system may generate eight instances, wherein each instance is separated by a frame. The position of each virtual object in each instance may be a projection of the virtual object, and the projection is based on the virtual object data associated with the virtual object received at block 602. For example, the virtual object may include game data associated with the position, speed, posture and / or other related factors in the projection. The user computing system 102 may use the game data to project the position and / or posture of the virtual object into each generated instance. For example, the position and posture of the virtual object (e.g., player character) may be projected at frame 1, frame 2, frame 3, etc., until all desired instances are constructed.
[0107] At block 606, collision data associated with each virtual object within the predictive instance is generated. The collision data may be used to determine whether one or more collisions have occurred between the virtual objects. Figure 7 A process for generating collision data is discussed. The collision data may identify one or more collisions between virtual objects. For example, the collision data may identify that a virtual object (eg, a player character) and another virtual object (eg, a ball) are expected to collide within 8 frames.
[0108] At block 608, the system can filter the collision data. One or more filters can be applied to the collision data to remove some or all of the collision data, thereby preventing data from propagating to notify the action state. The collision data can be filtered. The collision filter can be a set of operations that signal and remove collision data that meets the filter conditions. In some embodiments, the filter conditions are applicable to the collision information. In some embodiments, the filter conditions are one or more locations of the collision. For example, the filter conditions can signal and remove the collision data associated with the expected collision between the arms of the two virtual objects. In some embodiments, the filter conditions are the threshold magnitude of the collision. For example, the filter conditions can signal and remove the collision data associated with the expected collision that falls below the value of the threshold magnitude. In some embodiments, the filter conditions are used to remove the collision data so that the collision data is not used to notify the action state of the agent. In some embodiments, accidental collisions, collisions that fall below the threshold magnitude and / or other collisions may not be expected to be used to notify the action state. For example, when a collision above the value of the threshold is also expected for the same agent, the collision that falls below the threshold magnitude may not help to notify the action state of the agent. Similarly, a collision that is predicted to occur on a portion of the agent may not contribute to informing the agent's action state. Although specific examples of filtering conditions and motivations are described above, any number of filtering conditions and motivations may be used to filter out collision data so that it does not inform the action state.
[0109] At block 610, the system outputs the collision data to the character controller to update the action state. For example, the filtered collision data may predict that the virtual object will collide with another virtual object within 8 frames. In this embodiment, the action state data associated with the virtual object is updated so that the virtual object controller can take into account the collision.
[0110] Collision Module
[0111] Figure 7 Example for generating Figure 6606 of the block 700. The process 700 can be computer-implemented. The process 700 can be implemented by any system that can process the data of the game application. For example, the process 700 can be implemented in whole or in part by the game application 110, the game engine 112, the world prediction module 140, the interactive computing system 130, the application host system 132 and / or other systems. Although any number of systems can implement the process 700 in whole or in part, in order to simplify the discussion, the process 700 will be described with respect to a specific system. In addition, although the embodiment of the process 700 can be performed with respect to a variant of a system including multiple game application environments, in order to simplify the discussion, the process 700 will be described with respect to the user computing system 102. In addition, although the specific examples of the number of instances and / or the number of frames between instances can be used when describing the process 700, any number of instances and / or the number of frames between instances can be used in the process 700.
[0112] At block 702, a first predictive instance of a plurality of predictive instances is loaded. The first predictive instance refers to a placement of an instance that is temporally related to the other instances. For example, an instance of a simulated virtual object that is 8 frames from an initial frame is temporally considered to be earlier than an instance of a simulated virtual object that is 16 frames from the initial frame. The predictive instances may be generated concurrently in real time in the user computing system 102. For example, by multithreading. This may be done as follows: Figure 6 Generate predictive instances as discussed in block 604 of .
[0113] At block 704, far-field elements are generated for the virtual objects within the corresponding predictive instances. The far-field bounding box may include a set of bounds for each axis of the virtual environment (e.g., for a three-dimensional environment, the bounding box may have two bounding coordinates on the x-axis, two bounding coordinates on the y-axis, and two bounding coordinates on the z-axis). The size of the bounding box may be determined by the range of motion of the associated virtual object within the time frame between the predictive instances. Each far-field element is associated with a virtual object within the virtual environment.
[0114] At decision block 706, each far-field element is parsed to determine whether the far-field element collides with another far-field element. In some embodiments, far-field elements collide when two far-field bounding boxes overlap, such as Figure 3A If at least two far-field elements are determined to collide, process 700 proceeds to block 708. Alternatively, if no far-field elements collide, process 700 proceeds to block 716. In some embodiments, for each far-field element that is determined not to collide with another far-field element, the associated virtual object is removed from the instance.
[0115] At block 708, each far-field element that was determined to have a collision with another element in block 706 is marked. For example, data indicating a potential collision between two virtual objects of the loaded instance may be stored. The virtual objects may be marked for further processing using near-field elements.
[0116] At block 710, near-field elements are generated for virtual objects associated with the labeled far-field elements of the loaded instance. The near-field elements may be, for example, Figure 3C Each virtual object associated with a labeled far-field element may have one or more near-field elements generated based on pose information associated with the virtual object.
[0117] At decision block 712, each near-field element associated with a virtual object is parsed to determine whether the near-field element collides with a near-field element associated with a corresponding virtual object that is marked for far-field collision. In some embodiments, near-field elements collide when two near-field bounding boxes associated with different virtual objects overlap, such as Figure 3C If it is determined that at least two near-field elements of different virtual objects collide, process 700 proceeds to block 714. Alternatively, if none of the near-field elements of different virtual objects collide, process 700 proceeds to block 716.
[0118] At block 714, collision information related to each near-field collision determined in block 712 is generated. The collision information may include the location where the collision occurred on each associated virtual object. For example, the collision information may include a collision between a foot of a virtual object and a leg of another virtual object. The collision information may include a calculated and / or estimated magnitude of the collision. For example, based on stored information (e.g., a movement vector) associated with the virtual objects of the near-field collision, the magnitude of the collision between the virtual objects may be calculated or estimated. This information may be stored in a set of collision data. The process then proceeds to block 716.
[0119] At decision block 716, the system determines whether there are still any instances that need to be resolved for collision. For example, if the instance loaded in block 702 or block 718 of the current cycle is the second instance of eight created instances, there is still at least one instance that needs to be resolved for collision. Alternatively, if the instance loaded in block 702 or block 718 of the current cycle is the last instance (e.g., the eighth instance of eight created instances), there is no instance that needs to be resolved for collision. If it is determined that there is still at least one instance that needs to be resolved for collision, process 700 proceeds to block 718. Alternatively, if it is determined that no instance needs to be resolved for collision, process 700 ends.
[0120] At block 718, the next instance is loaded. In some embodiments, the next instance in time is loaded. For example, if the previous resolved instance is 8 frames away from the initial frame, and the number of frames between instances is 4, then the instance occurring 12 frames away from the initial frame may be loaded.
[0121] Computing Equipment Overview
[0122] Figure 8 An embodiment of a computing device 10 according to the present disclosure is illustrated. Other variations of the computing device 10 may replace the examples explicitly set forth herein, such as removing components or adding components to the computing device 10. The computing device 10 may include a gaming device, a smart phone, a tablet computer, a personal computer, a laptop computer, a smart TV, a car console display, a server, and the like. As shown, the computing device 10 includes a processing unit 20 that interacts with other components of the computing device 10 and components external to the computing device 10. A gaming media reader 22 that communicates with the gaming medium 12 is also included. The gaming media reader 22 may be an optical disc reader capable of reading an optical disc (e.g., a CD-ROM or DVD), or may be any other type of reader capable of receiving and reading data from the gaming medium 12. One or more of the computing devices may be used to implement one or more of the systems disclosed herein.
[0123] The computing device 10 may include a separate graphics processor 24. In some cases, the graphics processor 24 may be built into the processing unit 20. In some such cases, the graphics processor 24 may share random access memory (RAM) with the processing unit 20. Alternatively or additionally, the computing device 10 may also include a discrete graphics processor 24 that is separate from the processing unit 20. In some such cases, the graphics processor 24 may have a separate RAM from the processing unit 20. The computing device 10 may be a handheld video game device, a dedicated game console computing system, a general-purpose laptop or desktop computer, a smart phone, a tablet computer, an automobile console, or other suitable system.
[0124] The computing device 10 also includes various components for enabling input / output, such as input / output (I / O) 32, user I / O 34, display I / O 36, and network I / O 38. The I / O 32 interacts with a storage element 40 and, through the device 42, with a removable storage medium 44 to provide storage for the computing device 10. The processing unit 20 can communicate through the I / O 32 to store data, such as game state data and any shared data files. In addition to the storage device 40 and the removable storage medium 44, the computing device 10 is also shown to include a read-only memory (ROM) 46 and a RAM 48. The RAM 48 can be used for data that is frequently accessed (e.g., when a game is being played or when fraud detection is performed).
[0125] The user I / O 34 is used to send and receive commands between the processing unit 20 and a user device (e.g., a game controller). In some embodiments, the user I / O 34 may include a touch screen input. The touch screen may be a capacitive touch screen, a resistive touch screen, or other types of touch screen technology configured to receive user input through tactile input from the user. The display I / O 36 provides input / output functions for displaying images from the game being played. The network I / O 38 is used for input / output functions for the network. The network I / O 38 can be used during the execution of the game (e.g., when playing the game online or accessing the game online and / or applying fraud detection and / or generating a fraud detection model).
[0126] Display output signals are generated by display I / O 36 and include signals for displaying visual content generated by computing device 10 on a display device, such as graphics, user interfaces, videos, and / or other visual content. Computing device 10 may include one or more integrated displays configured to receive display output signals generated by display I / O 36. According to some embodiments, display output signals generated by display I / O 36 may also be output to one or more display devices external to computing device 10.
[0127] Computing device 10 may also include other features that may be used with games, such as clock 50, flash memory 52, and other components. Audio / video player 56 may also be used to play video sequences, such as movies. It should be understood that other components may be provided in computing device 10, and other variations of computing device 10 will be understood by those skilled in the art.
[0128] The program code may be stored in ROM 46, RAM 48, or storage device 40 (which may include a hard disk, other magnetic storage device, optical storage device, other non-volatile storage device, or combinations or variations of these). Portions of the program code may be stored in a programmable ROM (ROM, PROM, EPROM, EEPROM, etc.), portions of the program code may be stored in storage device 40 and / or stored on removable media such as game media 12 (which may be a CD-ROM, cassette tape, memory chip, etc., or may be obtained over a network or other electronic channel as desired). Typically, the program code may be found contained in a tangible, non-transitory signal-bearing medium.
[0129] Random access memory (RAM) 48 (and possibly other storage devices) may be used to store variables and other game and processor data as needed. RAM is used and holds data generated during the execution of applications, and portions of RAM may also be reserved for frame buffers, application state information, and / or other data required or available for interpreting user input and generating display output. Typically, RAM 48 is a volatile storage device, and data stored in RAM 48 may be lost when computing device 10 is turned off or loses power.
[0130] When computing device 10 reads medium 12 and renders an application, information may be read from gaming medium 12 and stored in a memory device, such as RAM 48. Additionally, data from storage device 40, ROM 46, a server (not shown) accessed via a network, or removable storage medium 44 may be read and loaded into RAM 48. Although data is described as being found in RAM 48, it will be understood that data need not necessarily be stored in RAM 48, but may be stored in other memory accessible to processing unit 20, or distributed between several media, such as medium 12 and storage device 40.
[0131] It should be understood that not all objects or advantages may be achieved according to any specific embodiment described herein. Thus, for example, those skilled in the art will recognize that certain embodiments may be configured to operate in a manner that achieves or optimizes one advantage or a group of advantages as taught herein without necessarily achieving other objects or advantages as may be taught or suggested herein.
[0132] All processes described herein may be embodied in and fully automated via software code modules that are executed by a computing system including one or more computers or processors. The code modules may be stored in any type of non-transitory computer-readable medium or other computer storage device. Some or all of the methods may be embodied in dedicated computer hardware.
[0133] According to the present disclosure, many other variants other than those described herein will be apparent. For example, according to the embodiment, some actions, events or functions of any of the algorithms described herein may be performed in different orders, may be added, merged or omitted completely (e.g., for the practice of the algorithm, not all described actions or events are necessary). In addition, in certain embodiments, actions or events may be performed simultaneously (e.g., by multithreading, interrupt handling or multiple processors or processor cores or on other parallel architectures), rather than being performed sequentially. In addition, different tasks or processes may be performed by different machines and / or computing systems that may run together.
[0134] The various exemplary logic blocks and modules described in conjunction with the embodiments disclosed herein may be implemented or executed by a machine, such as a processing unit or processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic circuit, a discrete hardware component, or any combination thereof designed to perform the functions described herein. The processor may be a microprocessor, but in an alternative, the processor may be a controller, a microcontroller or a state machine, a combination thereof, or the like. The processor may include a circuit configured to process computer executable instructions. In another embodiment, the processor includes an FPGA or other programmable device that performs logical operations without processing computer executable instructions. The processor may also be implemented as a combination of computing devices (e.g., a combination of a DSP and a microprocessor), a plurality of microprocessors, one or more microprocessors together with a DSP core, or any other such configuration. Although the processor is described herein primarily with respect to digital technology, the processor may also primarily include analog components. For example, some or all of the signal processing algorithms described herein may be implemented with analog circuits or mixed analog and digital circuits. The computing environment may include any type of computer system, including but not limited to: a microprocessor-based computer system, a mainframe computer, a digital signal processor, a portable computing device, a device controller, or a computing engine within an appliance, to name a few.
[0135] Unless otherwise specifically stated, conditional terms, such as, among others, "can," "could," "might," or "may," should be understood in context as commonly used to express that certain embodiments include certain features, elements, and / or steps, while other embodiments do not include the certain features, elements, and / or steps. Thus, such conditional terms are generally not intended to imply that features, elements, and / or steps are in any way required by one or more embodiments, or that one or more embodiments must include logic for determining, with or without user input or prompting, whether such features, elements, and / or steps are included in or are to be performed in any particular embodiment.
[0136] Unless specifically stated otherwise, disjunctive terms, such as the phrase "at least one of X, Y, or Z," should be understood as commonly used in the context to mean that an item, term, etc. may be X, Y, or Z, or any combination thereof (e.g., X, Y, and / or Z). Thus, such disjunctive terms are generally not intended to, and should not, imply that certain embodiments require that at least one X, at least one Y, or at least one Z be present.
[0137] Any process description, element or block in the flow chart described herein and / or depicted in the accompanying drawings should be understood to potentially represent a code module, code segment or code portion including one or more executable instructions for implementing a specific logical function or element in the process. Alternative implementations are included within the scope of the embodiments described herein, in which the elements or functions can be deleted, executed out of the order shown or discussed, including substantially simultaneously or in a reversed order, depending on the functions involved, as will be understood by those skilled in the art.
[0138] Unless expressly stated otherwise, articles such as "a" or "an" should generally be interpreted as including one or more of the described items. Accordingly, phrases such as "a device configured to..." are intended to include one or more of the recited devices. Such one or more recited devices may also be collectively configured to perform the stated recitations. For example, "a processor configured to perform recitations A, B, and C" may include a first processor configured to perform recitation A working in conjunction with a second processor configured to perform recitations B and C.
[0139] It should be emphasized that many variations and modifications may be made to the above-described embodiments, the elements of which should be understood to be among other acceptable embodiments. All such modifications and variations are intended to be included herein within the scope of the present disclosure.
Claims
1. A computer-implemented method for world prediction within a gaming application, the method comprising: Through a hardware processor configured with computer executable instructions: executing a gaming application including a gaming environment, the gaming environment including a plurality of virtual objects, wherein each virtual object of the plurality of virtual objects is associated with position data; generating a plurality of instances, wherein each instance comprises a future projection of the plurality of virtual objects of the first group at a set number of frames; determining, in each of the plurality of instances, a position of a bounding box associated with each of the plurality of virtual objects in the first set based at least in part on the position data corresponding to the respective virtual objects in the first set; Predicting a collision between two or more virtual objects in the first group of virtual objects, wherein predicting the collision comprises: determining whether respective bounding boxes of the two or more virtual objects overlap, In response to determining that the respective bounding boxes of the two or more virtual objects overlap, generating at least one near-field bounding box for each of the two or more virtual objects, and determining whether overlap occurs between the at least one near-field bounding box of the two or more virtual objects; In response to determining that respective near-field bounding boxes of the two or more virtual objects overlap, generating collision data based on the predicted collision; as well as Based on the collision data, an action is generated for at least one virtual object of the plurality of virtual objects.
2. The computer-implemented method of claim 1 , wherein: Predicting the collision further includes: determining that there is no overlap between respective bounding boxes of a first virtual object in the first set of multiple virtual objects and any other virtual objects in the first set of multiple virtual objects, and The first virtual object is deleted from the first group.
3. The computer-implemented method of claim 1 , wherein: The size of the bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of the associated virtual object, and wherein a center of mass of the bounding box is aligned with a center of mass of the associated virtual object.
4. The computer-implemented method of claim 1 , wherein: The size of the at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of a subcomponent of the associated virtual object, and wherein a center of mass of the near-field bounding box is aligned with a center of mass of the subcomponent of the associated virtual object.
5. The computer-implemented method of claim 1 , wherein: The collision data includes information regarding a magnitude of a force of the predicted collision and a location of the predicted collision on the two or more objects.
6. The computer-implemented method of claim 5, further comprising: The collision data is filtered to remove collision data having a force magnitude below a threshold value.
7. The computer-implemented method of claim 5, further comprising: The collision data is filtered to remove collision data having a position matching a specified position.
8. A server computing system for world prediction within a gaming application, comprising: At least one hardware processor configured with computer executable instructions, wherein the computer executable instructions configure the at least one hardware processor to: executing a gaming application including a gaming environment, the gaming environment including a plurality of virtual objects, wherein each virtual object of the plurality of virtual objects is associated with position data; generating a plurality of instances, wherein each instance comprises a future projection of the plurality of virtual objects of the first group at a set number of frames; determining, in each of the plurality of instances, a position of a bounding box associated with each of the plurality of virtual objects in the first set based at least in part on the position data corresponding to the respective virtual objects in the first set; Predicting a collision between two or more virtual objects in the first group of virtual objects by performing the following operations: determining whether respective bounding boxes of the two or more virtual objects overlap, In response to determining that the respective bounding boxes of the two or more virtual objects overlap, generating at least one near-field bounding box for each of the two or more virtual objects, and determining whether overlap occurs between the at least one near-field bounding box of the two or more virtual objects; In response to determining that respective near-field bounding boxes of the two or more virtual objects overlap, generating collision data based on the predicted collision; as well as Based on the collision data, an action is generated for at least one virtual object of the plurality of virtual objects.
9. The server computing system according to claim 8, wherein: The at least one hardware processor is further configured to predict a collision between two or more virtual objects by: determining that there is no overlap between respective bounding boxes of a first virtual object in the first set of multiple virtual objects and any other virtual objects in the first set of multiple virtual objects, and The first virtual object is deleted from the first group.
10. The server computing system according to claim 8, wherein: The size of the bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of the associated virtual object, and wherein a center of mass of the bounding box is aligned with a center of mass of the associated virtual object.
11. The server computing system according to claim 8, wherein: The size of the at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of a subcomponent of the associated virtual object, and wherein a center of mass of the near-field bounding box is aligned with a center of mass of the subcomponent of the associated virtual object.
12. The server computing system of claim 8, wherein: The collision data includes information regarding a magnitude of a force of the predicted collision and a location of the predicted collision on the two or more objects.
13. The server computing system of claim 12, wherein: The at least one hardware processor is further configured to filter the collision data to remove collision data having a force magnitude below a threshold value.
14. The server computing system of claim 12, wherein: The at least one hardware processor is further configured to filter the collision data to remove collision data having a location matching a specified location.
15. A non-transitory computer-readable medium comprising computer-executable instructions for world prediction within a gaming application, the computer-executable instructions, when executed by at least one processor of a computing system, causing the computing system to: executing a gaming application including a gaming environment, the gaming environment including a plurality of virtual objects, wherein each virtual object of the plurality of virtual objects is associated with position data; generating a plurality of instances, wherein each instance comprises a future projection of the plurality of virtual objects of the first group at a set number of frames; determining, in each of the plurality of instances, a position of a bounding box associated with each of the plurality of virtual objects in the first set based at least in part on the position data corresponding to the respective virtual objects in the first set; Predicting a collision between two or more virtual objects in the first group of virtual objects by performing the following operations: determining whether respective bounding boxes of the two or more virtual objects overlap, In response to determining that the respective bounding boxes of the two or more virtual objects overlap, generating at least one near-field bounding box for each of the two or more virtual objects, and determining whether overlap occurs between the at least one near-field bounding box of the two or more virtual objects; In response to determining that respective near-field bounding boxes of the two or more virtual objects overlap, generating collision data based on the predicted collision; as well as Based on the collision data, an action is generated for at least one virtual object of the plurality of virtual objects.
16. The non-transitory computer readable medium of claim 15, wherein: The computing system is further configured to predict a collision between two or more virtual objects by performing the following operations: determining that there is no overlap between respective bounding boxes of a first virtual object in the first set of multiple virtual objects and any other virtual objects in the first set of multiple virtual objects, and The first virtual object is deleted from the first group.
17. The non-transitory computer readable medium of claim 15, wherein: The size of the bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of the associated virtual object, and wherein a center of mass of the bounding box is aligned with a center of mass of the associated virtual object.
18. The non-transitory computer readable medium of claim 15, wherein: The size of the at least one near-field bounding box is a fixed value, wherein the fixed value is determined based on a range of motion of a subcomponent of the associated virtual object, and wherein a center of mass of the near-field bounding box is aligned with a center of mass of the subcomponent of the associated virtual object.
19. The non-transitory computer readable medium of claim 15, wherein: The collision data includes information regarding a magnitude of a force of the predicted collision and a location of the predicted collision on the two or more objects.
20. The non-transitory computer readable medium of claim 19, wherein: The computing system is further configured to filter the collision data to remove collision data having a location matching a specified location.
