Virtual character modeling method and device
By using damage maps and weight maps in video games to simulate the specific parts and extent of damage to virtual characters, the problem of lack of detail and strategy in virtual character health value simulation methods in the existing technology is solved, and more accurate status recording is achieved. and presentation, adding depth and variety to the combat experience.
Patent Information
- Application Number
- CN202410290685.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-28
- Filing Date
- 2024-03-14
- Publication Date
- 2024-10-01
AI Technical Summary
The simulation methods of virtual character health in existing video games lack meticulousness and strategy, resulting in a lack of depth and diversity in the combat experience.
Damage maps and weight maps are used to record and calculate the specific parts and extent of damage to the virtual character. By interacting with the character texture and mesh, an accurate model of the character's cumulative damage and healing is achieved.
It improves the accuracy of character status recording and display in the game, provides richer strategic choices and in-depth combat experience, and enhances players' sense of participation.
Smart Images

Figure CN118736071A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a device and a method for virtual role modeling. Background Art
[0002] In video games, some antagonists are known to have virtual health values that can be depleted by one or more attacks of the user in order to defeat them. Different attacks can have different effects on health values, with so-called "head shots" doing more damage than other shots in some games, or "critical" attacks with a predetermined chance doing more damage. Meanwhile, in other cases, the type of attack may affect health values more or less, in order to simulate a certain weakness / resistance of the antagonist and reward or punish the user for adopting or not adopting a responsive strategy to confront them.
[0003] In this way, the battles within the game can be varied and more interesting to the players.
[0004] However, there is room for further improvement of this approach.
[0005] Embodiments of the present invention may solve or alleviate this problem. Summary of the invention
[0006] Various aspects and features of the present invention are defined in the accompanying claims and within the text of the accompanying description.
[0007] In a first aspect, a method for modeling a virtual character is provided according to claim 1 .
[0008] In another aspect, according to claim 12, an entertainment device is provided. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] A more complete appreciation of the present disclosure and its many attendant advantages will be readily obtained as it will be better understood by reference to the following detailed description when considered in conjunction with the accompanying drawings, in which:
[0010] - Figure 1 is a schematic diagram of an entertainment system according to an embodiment of the present specification.
[0011] - Figure 2 is a schematic diagram of an example virtual character and environment.
[0012] - Figure 3 is a schematic diagram of a role model according to an embodiment of the present specification.
[0013] - Figure 4 is a flowchart of a method for modeling a virtual character according to an embodiment of the present specification. DETAILED DESCRIPTION
[0014] A device and method for modeling a virtual character are disclosed. In the following description, many specific details are presented in order to provide a thorough understanding of the embodiments of the present invention. However, it is obvious to those skilled in the art that these specific details do not need to be adopted to practice the present invention. On the contrary, for the sake of clarity, specific details known to those skilled in the art are omitted where appropriate.
[0015] Referring now to the drawings, in which like reference numerals designate identical or corresponding parts throughout the several views, Figure 1 An example of entertainment system 10 is shown as a computer or console, such as PlayStation (PS5).
[0016] The entertainment system 10 includes a central processor 20. This can be a single core or multi-core processor, for example including eight cores as in the PS5. The entertainment system also includes a graphics processing unit or GPU 30. The GPU can be physically separate from the CPU, or integrated with the CPU as a system on a chip (SoC), as in the PS5.
[0017] The entertainment device also includes RAM 40, and may have separate RAM for each of the CPU and GPU, or shared RAM as in the PS5. The or each RAM may be physically separate, or integrated as part of the SoC as in the PS5. Further storage is provided by a disk 50, either as an external or internal hard drive, or as an external solid state drive, or as an internal solid state drive as in the PS5.
[0018] The entertainment device may be suitably connected via one or more data ports 60 (such as a USB port, port, port, It can also optionally receive data via an optical drive 70.
[0019] Audio / video output from the entertainment device is typically provided through one or more A / V ports 90 or through one or more of the wired or wireless data ports 60 .
[0020] An example of a device for displaying images output by the entertainment system is a head mounted display “HMD” 120 worn by the user 1 , such as a PlayStation VR 2 “PSVR2”.
[0021] Where components are not integrated, they may be connected by dedicated data links or via bus 100 as appropriate.
[0022] One or more handheld controllers (130, 130A) are typically used to provide interaction with the system, such as in the case of the PS5. Controller (130), and / or one or more VR controllers (130A-L, R) in the case of an HMD.
[0023] Reference now Figure 2 Typically in games, a user controls a protagonist (such as the player character depicted on the left) who may occasionally need to fight an antagonist (such as a robot depicted on the right). As previously mentioned, the antagonist may have a total health value, which may be reduced by one or more attacks on a portion of the protagonist, such as using a ranged weapon (such as a gun, arrows, or spells) or a melee weapon (such as a sword or fists), as a non-limiting example.
[0024] As also mentioned before, such an attack may have different effects on different adversaries; for example, in the game shown (Horizon Zero ), different types of arrows have a greater or lesser effect on the health of different types of robots. Also as mentioned previously, some attacks may have a predetermined chance of so-called critical hits or attack multipliers, which are used to affect the opponent's health generally to a greater degree than normal for the same attack.
[0025] Again as mentioned before, some attacks may affect health to a greater extent than others, depending on where the attack hits the opponent; for example, a head shot may cause more damage than a body shot.
[0026] Finally, if Figure 2 As shown, specific parts of the antagonist can have their own health values; in the figure, specific parts of the robot (such as those circled in the figure) can be attacked and damaged individually, which in turn disables the robot's functionality (such as the ability to use specific attacks or moves).
[0027] Each of these requirements for a basic concept of antagonist health values allows for greater strategy and depth to be incorporated into the specific game rules of a given game.
[0028] However, there is scope for further improvement or provision of additional capabilities in this regard.
[0029] Therefore, we now also refer to Figure 3 In an embodiment of the present specification, a video game character (whether an antagonist, protagonist, or neutral non-player character) is provided with a damage map that allows for spatial recording of accumulated damage and optional character healing during gameplay.
[0030] The damage map could, for example, take the form of a texture map similar to that of the character, and be updated in response to in-game events. The map itself need not be a texture, but by having a similar layout to the textures mapped onto the character, a similar mapping could be used to associate points on the character with points on the damage map, and vice versa, thereby enabling efficient reuse of shaders and similar code for loading and mapping textures onto the character model.
[0031] Taking an arbitrary example value of 100 to represent the maximum health corresponding to each point on the damage map for the character (although, for example, values of 8, 16, 32, 64, 128, or 256 may be more convenient to implement for a grayscale damage map), then in this arrangement the overall health of the character may optionally be considered to be the sum of the values on the damage map. Alternatively, each point may represent damage, and the overall health of the character is the sum of the selected initial value minus the value on the map. Thus, in this specification, references to subtracting or adding values may be interpreted in reverse, depending on whether the map records a loss of health or, equivalently, an increase in damage.
[0032] Corresponding points on the damage map may correspond to pixels, texture elements or mesh vertices, or may correspond to sub-regions, such as some or all of the corresponding polygons to which the damage map may theoretically apply.
[0033] The damage map thus provides a spatial record of the damage to the character. Figure 3 , there is a diagonal mark on the character's chest to indicate damage, and one leg also shows more damage than the other.
[0034] In this case, for example, damage across the chest could be caused by a diagonal blow from a flaming sword, while damage to the legs could be caused by stepping into a trap.
[0035] More generally, damage is recorded by the spatial interaction of the damage proxy with points on a damage map applied to the character - in other words, damage is recorded by the spatial interaction of the damage proxy with points on the character that correspond to points on the damage map, for example, according to how the damage map is applied if it is a texture.
[0036] The damage proxy can be a virtual object, such as a sword swung at a character, or it can be a conceptual object (e.g., a bullet may not exist in the virtual world, but may simply be a conceptual projection of a target from a gun to the point of firing), or it may be environmental, such as a surface treated as lava. The damage proxy may also have an area effect, such as for a fireball, and / or may have its own damage pattern, which may be a function of an animation sequence or a procedural / physical simulation. For example, splash damage in a "paintball" game may be applied as one of a series of predetermined "splash" patterns selected sequentially or randomly, or may be based on a simulation of paint hitting the character (or hitting a nearby surface and splashing onto them). This may also apply, for example, to explosions hitting the character or near the character.
[0037] Thus, optionally, the spatial interaction can be precise, such as damaging the intersection of the proxy mesh and the character mesh, e.g. to register a clean cut from a sword; or can include regional effects, such that the intersection (or closest point) of damage corresponds to peak damage, with less damage radiating out, and / or damage patterns (e.g. Figure 3 The trajectory of the fire damage pattern shown in the figure) or similarly, the spatial interaction is calculated based on the conceptual trajectory of the damage agent (e.g., point trajectory) and the associated area effect and / or pattern, for example, when the volume of the area effect of the fireball moves past the character (potentially when the character itself is also moving), a fireball passing close to the character may cause a cumulative effect. It should be understood that the resulting damage pattern can accurately reflect the dynamic interaction of the character and the damage agent in this way.
[0038] Different damage proxies can be more or less persistent in time (such as a fireball or a sword), or can be instantaneous (like a bullet); or can be a combination of both (for example, a sword may only be able to cause damage during a specific attack animation, but not when held passively or used to block). Similarly, the sampling of damage can vary for different damage proxies; for bullets, the damage can be a single update to the damage map. Meanwhile, for fireballs, the update can be based on every image frame during the interaction, or every Nth frame, or can be a function of the relative speed between the damage agent and the character, for example to model the rate at which damage transfers over time. Likewise, some damage proxies may adopt a hybrid of these approaches; for example, a sword that intersects a character may record damage whenever it intersects the character, but only record new intersection points when the sword moves.
[0039] Thus, damage may be applied to the damage map based on any suitable interactions (intersections, area effects, and / or patterns) associated with one or more damage agents, either on a predetermined (e.g., fixed, cyclical, random, or selected) basis, or using a physics simulation or other procedural scheme, typically as the damage agent interacts with the character itself, which is then mapped back to the damage map, as described elsewhere herein. These interactions may be thought of in some sense as being similar to paintbrushes, sprays, and stamps applying color to a canvas, with the difference being that the application subtracts values from the damage map's canvas at the relevant points.
[0040] In this way, an accurate model of character damage can be achieved, and further an accurate model of cumulative damage can be achieved, since successively applied damage is subtracted from existing values on the damage map. Thus, for example, two different sword swings will result in greater cumulative damage at the point of intersection of the target character.
[0041] Optionally, the deduction of values from the graph need not be linear. Thus, for example, a weighting scheme could be applied to the damage received to model different attributes of the character.
[0042] For example, if the character is a rhino, the weights may take the form of 0.2 for values 95 and above, 1 for values 10 to 95, and 0.2 for values 1 to 10. This would model tough skin (requiring 5x initial damage), then regular damage, then a critical vitality bonus for very low health (like tough bones), which may also give the user more time to flee or take restorative potions. It should be understood that this weighting scheme may have different weights for each damage value.
[0043] Alternatively, a weight map may be used. Such a map may, for example, use RGB values to specify three different weights at a predetermined critical damage value, or specify three different critical damage values for predetermined weights, or may use a grayscale map to set the total weight of corresponding points on the damage map, for example to indicate a vulnerable point. Other implementations of the weight map will also be apparent to those skilled in the art, such as a map value (e.g., from 0 to 100) being used as a pointer to up to 100 different weight values or even 100 different weighting schemes, which in turn apply a weight value based on the damage map value.
[0044] In this way, any combination of health and damage resistance can be simply and accurately modeled for a character.
[0045] Furthermore, the graph does not need to be initialized with uniform values; the areas of high health / vitality and low health / vitality can be different for different in-game character classes, skill levels, etc.
[0046] Likewise, different clothing, armor, or equipment can have different damage maps and / or weight maps. For example, equipping an armor set can add a damage map value specific to the armor to the existing value in the damage map of the relevant area, or can replace the existing value in the damage map of the relevant area with a damage map value specific to the armor. For example, a damage map corresponding to the armor texture can be used to replace the current damage map to reflect the different physical model of the character in the game when wearing the armor. At the same time, some or all of the damage values of the replacement map can be copied to the armor map (or distorted / mapped using a space transform). Alternatively, the armor map can be separate, and for example, it means that when the armor damage map is reduced to a critical value (e.g., zero), the damage only reaches the character damage map. Likewise, damage and / or weight maps allow precise definition of strengths and weaknesses, such as allowing a skilled opponent to target specific points in the armor to cause greater damage based on the map layout.
[0047] As mentioned above, damage maps may change layout with new models. In this case, optionally, the original map (or part of it) can be stored if it is not still in use, and returned to if the relevant item is re-equipped. In this way, the damage to different armors, etc. can be preserved even when not equipped.
[0048] In the case where a game allows equipping one type of armor for protection and another type of armor for aesthetics (e.g. the user likes the look of one piece of armor but is allowed to use the stats of another, stronger piece of armor), then optionally a space transform could be used to distort / map the map of the stronger armor to conform to the shape of the visible armor so that the damage appears consistent with what is displayed to the user.
[0049] Health may optionally be similarly granted in a manner corresponding to damage inflicted. As with conventional methods, health potions or medkits may apply a global boost to values on a health map, but as a non-limiting example, bandages or healing spells may optionally be applied to specific areas in a manner similar to damage, e.g., with a precision, regional, or patterned effect.
[0050] The damage map can also be used to effectively modify the appearance of a character. The map can be used, for example, to drive or modify or as a deformation or displacement map to show dents or other physical damage in armor, or similarly for a bump map or normal map; it can be used as a map of alpha or transparency values to control the visibility of a damaged version of a character's texture, or similarly as a map of blend values to show the degree to which two textures or models are blended, such as from full health to full damage.
[0051] So, for example, a map could be used simultaneously to show slash wounds or shotgun blasts as grooves or dents in a character depending on the values on the map, and also blended in a flesh / blood texture depending on the level of the value, so that the character automatically appears to have wounds that perfectly reflect the damage inflicted, and does so in a very computationally efficient way - which is beneficial in video games where maintaining a (high) frame rate is generally considered important.
[0052] It should be understood that different textures or models can be used for different sub-ranges of damage map values so that, for example, a damage value reflected in the deformation depth can use pixels / texture elements from different textures to first expose muscle and then bone in response to the damage value at a corresponding point on the damage map.
[0053] Thus, more generally, at least a first aspect of a game element (e.g., a character) (e.g., mesh deformation or equivalent bump mapping or any other suitable deformation process, and / or mesh transparency, blending and / or selection) can be modified in response to the value of a damage map, with the value at a given location on the damage map affecting at least the first aspect at a corresponding location on at least a first portion of the game element.
[0054] The general mechanism described above provides a means for accurately measuring the state of an in-game element (such as a character), particularly for recording accumulated damage and optionally recovery, and also optionally for accurately and efficiently displaying that state through optional deformation and texture blending and / or selection.
[0055] However, it should be understood that this mechanism itself is not a rule for playing the game; recording injuries and optionally effectively displaying them is independent of how this information is used in a particular game.
[0056] In contrast, rules that can take advantage of this capability can include how a character responds to damage; for example, a character's animations, abilities, and conceptual life can be altered based on local, regional, or global totals.
[0057] The precise nature of damage allows for new strategies; for example, if a player avatar holds a shield in their left hand and a sword in their right hand, they might deal damage on their right side; to avoid reaching a critical level of damage, they could swap the shield to their right hand, but then lose some hit points for swinging the sword in their left hand, to reflect the character's conceptual handedness. Similarly, in a multiplayer game, for example, different play styles may result in characteristic patterns of damage to opponents, which skilled players can learn to exploit.
[0058] Likewise, users may be able to apply scarce healing materials more strategically, prioritizing critical areas or areas of high damage. Meanwhile, materials for dealing with boosts or weaknesses may similarly be applied in a more targeted manner by modifying the damage map (e.g., maximum value) and / or weights in a similar manner to damage or healing.
[0059] Likewise, how damage or healing is dealt is often a game choice - such as the level of damage from a given sword, or whether a potion provides instant healing or increases (heals) damage values over a period of time.
[0060] The effects of localized damage can range from simple command limitations (e.g. slower walking or inability to raise an arm if the corresponding limb is affected) to more complex effects such as amnesia or longer reaction times to the player's commands when a critical level of damage is sustained or when specific areas (such as the head) are damaged.
[0061] It should be understood that multiple damage maps may be used simultaneously to reflect different types of damage if desired, and that these damage maps may drive separate responses in the character and / or different graphical modifications, or be combined in any suitable manner to produce an overall effect.
[0062] For example, a first damage map may model physical damage as previously described herein, while another map may model endurance; for example, a user's arm may lose endurance when striking with a sword or receiving a blow, etc. The endurance map may then be used to influence the amount of damage obtained on the damage map (e.g., the endurance map is used to drive the weights of the damage map)-obviously, the opposite effect may be envisioned, where damage reduces endurance. Another map may involve magic damage (or magic potency) and interact with one or more of the other two in a similar manner. Alternatively, different aspects of the character's physiology may be mapped separately, such as mapping bones, muscles, and nerves with different health values, strengths, and / or weaknesses. For example, a loud noise or other adverse environmental element may damage the nerve map, and this may affect the character's response time or accuracy. At the same time, the muscle map may be a function of endurance, and the bone map may be a function of melee damage.
[0063] Optionally, in this case, the map may be combined, for example as an RGB texture type dataset with corresponding maps in corresponding color channels for efficient manipulation by memory, CPU and / or GPU where applicable. Similarly, a single map may occupy one color channel of such a dataset.
[0064] The general mechanisms described herein may optionally interact with traditional damage models, such as so-called hitboxes and hurt boxes, which are conceptual volumes of space around a character or parts of it that serve as proxies for the character when determining whether a hit damages the character. Essentially, if a hitbox intersects a hurtbox, it is considered a hit that causes some form of damage.
[0065] In conjunction with the techniques herein, a hitbox can be used as a damage proxy, and can intersect the character directly in a similar manner to the sword described above, or have an associated area or pattern effect. Alternatively, a hitbox can be used to define an area effect associated with an object. At the same time, if (e.g. for compatibility reasons) the character also has a damagebox, the damage taken by the damagebox can be applied uniformly to the damage map (or the portion of the damage map that corresponds to the damagebox).
[0066] However, it should be appreciated that, advantageously, the present technique does not require damage boxes, and typically does not use hit boxes either, thereby providing a much more accurate record of current damage or other effects (e.g., stamina, mana, etc. as described elsewhere herein). In particular, because a damage map can be associated with a character in a manner similar to a texture, the precise locations of points on the character corresponding to points on the damage map can be calculated, for example, during complex animations or physics simulations, and for arbitrary interactions with other objects or characters in or around the environment, so that precise damage (and optionally healing) can be recorded in a manner not possible with traditional damage boxes.
[0067] Now go to Figure 4 In an overview embodiment of the present specification, a method of modeling a virtual character (eg, within a virtual environment) includes the following steps.
[0068] In a first step s410, a damage map is defined for all or part of a virtual character, the damage map having a form corresponding to a texture map applied to all or part of the virtual character, wherein points on the damage map correspond to points on the virtual character, as described elsewhere herein.
[0069] In a second step s420, an initial damage value is assigned to each point on the damage map, as described elsewhere herein. It will be appreciated that this step may be intrinsic to the damage map itself (e.g. the map will typically be pre-initialized with values, just as a texture includes associated values).
[0070] In a third step s430, recording on the impairment map the impairment caused by the spatial interaction of the virtual impairment agent at one or more points on the virtual character corresponding to said points on the impairment map by changing the impairment values of the points on the impairment map, as described elsewhere herein; and
[0071] In a fourth step s440, aspects of the virtual character are modified in response to the recorded impairment, as described elsewhere herein.
[0072] It will be apparent to those skilled in the art that variations of the above methods corresponding to the operation of the various embodiments of the apparatus described and claimed herein are considered to be within the scope of the present invention, including but not limited to:
[0073] - the spatial interaction comprises one or more selected from the list consisting of:
[0074] intersection of the virtual character with at least a portion of the virtual damage agent; intersection of the virtual character with at least a portion of an area effect associated with the virtual damage agent; intersection of the virtual character with at least a portion of an damage pattern associated with the virtual damage agent; and intersection of the virtual character with at least a portion of a hitbox associated with the virtual damage agent, as described elsewhere herein;
[0075] - the spatial interaction comprises one or more items selected from the list consisting of:
[0076] a predefined interaction, one of a series of interactions, and a simulated interaction, as described elsewhere herein;
[0077] - a point on the damage map corresponds to an item selected from the list consisting of:
[0078] i. all or part of the corresponding pixels of the virtual character, the corresponding texture elements of the virtual character, the corresponding vertices of the mesh of the virtual character, and the corresponding polygons of the mesh of the virtual character, as described elsewhere herein;
[0079] - the step of recording the damage on the damage map comprises: modifying the damage value at a point on the damage map to a degree responsive to a weight, the weight in turn being responsive to the current damage value at that point, as described elsewhere herein;
[0080] - the method comprises: the step of defining a weight map for all or part of the virtual character, the weight map having a form corresponding to a texture map applied to all or part of the virtual character, wherein points on the weight map correspond to points on the damage map; and the step of recording damage on the damage map comprises: modifying the damage value at the corresponding point on the damage map to a degree in response to the corresponding weight indicated by the weight map, as described elsewhere herein;
[0081] - the method comprises the step of changing the damage map in response to a change in the shape of the character model, as described elsewhere herein;
[0082] - The method comprises the steps of: recording a repair on said damage map by changing the damage value of one or more of said points on said virtual character corresponding to said points on said damage map, as described elsewhere herein;
[0083] - the step of modifying aspects of the virtual character in response to the recorded damage comprises one or more selected from the list consisting of: modifying a displacement map, modifying a bump map, modifying a normal map, modifying a transparency map, and modifying a blend map for the character in response to values of the damage map, as described elsewhere herein; and
[0084] -As described elsewhere herein, two or more damage maps for a character may be defined in corresponding color channels of a data structure corresponding to a texture map applied to all or a portion of the virtual character (optionally, these maps may track other attributes of the character, such as stamina, or track different types of damage).
[0085] It should be understood that the above-described methods may be performed on conventional hardware appropriately adapted to the application by software instructions or by the inclusion or replacement of dedicated hardware.
[0086] Thus, the required adaptation of existing parts of conventional equivalent devices can be implemented in the form of a computer program product comprising processor-implementable instructions stored on a non-transitory machine-readable medium (such as a floppy disk, optical disk, hard disk, solid-state disk, PROM, RAM, flash memory, or any combination of these or other storage media), or implemented in hardware as an ASIC (application-specific integrated circuit) or FPGA (field programmable gate array) or other configurable circuit suitable for adapting conventional equivalent devices. Separately, such a computer program can be transmitted via a data signal on a network such as an Ethernet, a wireless network, the Internet, or any combination of these or other networks.
[0087] Therefore, in another overview embodiment of the present specification, an entertainment device 10 (such as a PlayStation 4 or 5, or a PC, tablet, phone, HMD, smart TV, or any suitable device) includes the following.
[0088] a graphics processor (e.g., GPU 30, optionally in combination with CPU 20) configured (e.g., by suitable software instructions) for use in generating virtual characters in a virtual environment, as described elsewhere herein;
[0089] a damage processor (e.g., CPU 20, optionally in combination with GPU 30) configured (e.g., by suitable software instructions) to define a damage map for all or part of the virtual character, the damage map having a form corresponding to a texture map applied to all or part of the virtual character, wherein points on the damage map correspond to points on the virtual character, as described elsewhere herein;
[0090] the impairment processor being configured (e.g., by suitable software instructions) to assign initial impairment values to each point on said impairment map, as described elsewhere herein (again, note that these values may be pre-assigned as provided values for the map, so that in this sense the impairment processing either merely loads the map values or makes them available for access);
[0091] the impairment processor being configured to record (e.g., via suitable software instructions) on the impairment map impairments caused by spatial interactions of the virtual impairment agent at one or more points on the virtual character corresponding to said points on the impairment map by changing impairment values for said points on the impairment map, as described elsewhere herein; and
[0092] A modification processor (eg, GPU 30, optionally in combination with CPU 20) configured (eg, via suitable software instructions) to modify aspects of the virtual character in response to the recorded injury.
[0093] Examples of embodiments of the present disclosure that implement the methods and techniques described herein (e.g., by using appropriate software instructions) are contemplated within the scope of this application and include, but are not limited to:
[0094] - the spatial interaction comprises one or more selected from the list consisting of:
[0095] intersection of the virtual character with at least a portion of the virtual impairment agent, intersection of the virtual character with at least a portion of an area effect associated with the virtual impairment agent, intersection of the virtual character with at least a portion of an impairment pattern associated with the virtual impairment agent, and intersection of the virtual character with at least a portion of a hitbox associated with the virtual impairment agent, as described elsewhere herein;
[0096] - the modification processor is configured to modify for the character one or more selected from a list consisting of:
[0097] displacement maps, bump maps, normal maps, transparency maps, and blend maps, as described elsewhere herein; and
[0098] - Two or more damage maps for a character may be defined in respective color channels of a data structure corresponding to a texture map applied to all or part of the virtual character, as described elsewhere herein.
[0099] The foregoing discussion discloses and describes only exemplary embodiments of the present invention. As will be appreciated by those skilled in the art, the present invention may be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the disclosure of the present invention is intended to be illustrative, rather than limiting, the scope of the present invention and other claims. The present disclosure, including any readily discernible variations taught herein, defines in part the scope of the preceding claim terms so that no inventive subject matter is dedicated to the public.
Claims
1. A method for modeling a virtual character, comprising the following steps: defining a damage map for all or part of an avatar, the damage map having a form corresponding to a texture map applied to all or part of the avatar, wherein points on the damage map correspond to points on the avatar; assigning an initial damage value to each point on the damage map; recording on the impairment map impairments caused by spatial interactions of the virtual impairment agent at one or more points on the virtual character corresponding to the points on the impairment map by changing impairment values for the points on the impairment map; and Aspects of the virtual character are modified in response to the recorded impairment.
2. The method according to claim 1, wherein the spatial interaction comprises one or more items selected from the list consisting of: i. intersection of the virtual character with at least a portion of the virtual impairment agent; ii. intersection of the virtual character and at least a portion of an area effect associated with the virtual impairment agent; iii. intersection of the virtual character with at least a portion of an impairment pattern associated with the virtual impairment agent; and iv. intersection of the virtual character and at least a portion of a hitbox associated with the virtual damage agent.
3. The method according to claim 1 or 2, wherein: The spatial interaction comprises one or more items selected from the list consisting of: i. Predefined interactions; ii. one in a series of interactions; and iii. Simulated interaction.
4. A method according to any one of the preceding claims, wherein: A point on the damage map corresponds to an item selected from the list consisting of: i. the corresponding pixels of the virtual character; ii. the corresponding texture elements of the virtual character; iii. the corresponding vertices of the mesh of the avatar; and iv. All or part of the corresponding polygons of the mesh of the avatar.
5. A method according to any one of the preceding claims, wherein: The step of recording impairments on the impairment map comprises modifying the impairment value at a point on the impairment map to a degree in response to a weight, the weight in turn being responsive to the current impairment value at the point.
6. The method according to any one of the preceding claims, comprising the steps of: defining a weight map for all or part of the avatar, the weight map having a form corresponding to a texture map applied to all or part of the avatar, wherein points on the weight map correspond to points on the damage map; and The step of recording impairments on the impairment map includes modifying impairment values at corresponding points on the impairment map to a degree in response to corresponding weights indicated by the weight map.
7. The method according to any one of the preceding claims, comprising the steps of: The damage map is changed in response to a change in the shape of the character model.
8. The method according to any one of the preceding claims, comprising the steps of: Repairs are recorded on the damage map by changing damage values of one or more of the points on the avatar that correspond to the points on the damage map.
9. A method according to any one of the preceding claims, wherein: The step of modifying aspects of the virtual character in response to the recorded impairment comprises one or more selected from the list consisting of: In response to the value of the damage map, for the role: i. Modify the displacement map; ii. Modify the bump map; iii. Modify the normal map; iv. modify the transparency map; and v. Modify the hybrid diagram.
10. A method according to any one of the preceding claims, wherein: Two or more damage maps for the character are defined in respective color channels of a data structure corresponding to a texture map applied to all or a portion of the virtual character.
11. A computer program comprising computer executable instructions adapted to cause a computer system to perform the method of any preceding claim.
12. An entertainment device comprising: A graphics processor for generating virtual characters in a virtual environment; a damage processor configured to define a damage map for all or part of the avatar, the damage map having a form corresponding to a texture map applied to all or part of the avatar, wherein points on the damage map correspond to points on the avatar; The damage processor is configured to assign an initial damage value to each point on the damage map; The damage processor is configured to record on the damage map damage caused by spatial interaction of the virtual damage agent at one or more points on the virtual character corresponding to the points on the damage map by changing damage values of the points on the damage map; as well as A modification processor is configured to modify an aspect of the virtual character in response to the recorded impairment.
13. The entertainment device of claim 12, wherein the spatial interaction comprises one or more selected from the list consisting of: i. intersection of the virtual character with at least a portion of the virtual impairment agent; ii. intersection of the virtual character and at least a portion of an area effect associated with the virtual impairment agent; iii. intersection of the virtual character with at least a portion of an impairment pattern associated with the virtual impairment agent; and iv. intersection of the virtual character and at least a portion of a hitbox associated with the virtual damage agent.
14. An entertainment device according to claim 12 or claim 13, wherein the modification processor is configured to modify for the character one or more selected from a list consisting of: i. Displacement map; ii. Bump graph; iii. Normal map; iv. transparency map; and v. Mixed graph.
15. An entertainment device according to any one of claims 12 to 14, wherein two or more damage maps for a character are defined in respective color channels of a data structure corresponding to a texture map applied to all or part of the virtual character.
