Virtual object appearance control method and apparatus, device, medium, and program product

Through the disguise skills of virtual objects, replacing the appearance materials in different virtual environments, so that they integrate with the environment, solving the problem that virtual objects only hide effective in grass environments in the existing technology, and achieving effectiveness in multiple environments Hide and attack advantages.

WO2024244671A1PCT designated stage expired Publication Date: 2024-12-05TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/085165
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-30
Filing Date
2024-04-01
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

The existing virtual object hiding technology is limited to effective in grass environments, and it is impossible to effectively hide virtual objects in different virtual environments, resulting in the inability to effectively hide in scenarios such as cities, deserts or snow.

Method used

The virtual object has a disguise skill. After receiving the skill release operation, the first appearance material of the virtual object is replaced with the second appearance material. The second appearance material is determined based on the virtual environment in which the virtual object is located, so that the virtual object and the surrounding environment are integrated into Integrate to achieve hidden effect.

Benefits of technology

Implement effective hiding of virtual objects in any virtual environment, confuse enemy virtual objects, avoid attacks or ambush enemy virtual objects, and improve the attack success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024085165_05122024_PF_FP_ABST
    Figure CN2024085165_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present application discloses a virtual object appearance control method and apparatus, a device, a medium, and a program product. The method comprises: displaying a virtual object located in a virtual environment, the virtual object having a camouflage skill (301); receiving a skill release operation for triggering the release of the camouflage skill (302); and in response to the skill release operation, replacing a first appearance material of the virtual object with a second appearance material, the second appearance material being determined on the basis of the virtual environment of the virtual object (303). The method can achieve the hiding of a virtual object in various virtual environments.
Need to check novelty before this filing date? Find Prior Art

Description

Virtual object appearance control method, device, equipment, medium and program product

[0001] This application claims priority to Chinese patent application No. 202310628581.2, filed on May 30, 2023, entitled “Method, device, equipment, medium and program product for controlling the appearance of virtual objects”, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present application relates to the field of application technology, and in particular to a method, apparatus, device, medium, and program product for controlling the appearance of a virtual object. Background Art

[0003] In some game applications, users can control virtual objects to attack enemy virtual objects by shooting, throwing virtual grenades, throwing virtual bombs, etc. in a virtual environment.

[0004] When controlling a virtual object in a virtual battle, the virtual object can be moved around, using trees, rocks, and houses as cover to avoid attacks from enemy virtual objects. In particular, there is a virtual costume with the same color and pattern as green grass, which can be worn to hide in the grass, making it difficult to be identified.

[0005] However, the above method of controlling the virtual object to hide is only effective when hiding in the grass.

[0006] Summary of the Invention

[0007] The present invention provides a method, apparatus, device, medium, and program product for controlling the appearance of a virtual object, which can make it difficult for a virtual object to be discovered even when it is hiding in different virtual environments. The technical solution is as follows:

[0008] According to one aspect of the present application, a method for controlling the appearance of a virtual object is provided, the method being executed by a terminal, the method comprising:

[0009] displaying a virtual object in a virtual environment, wherein the virtual object has a disguise skill;

[0010] receiving a skill release operation for triggering the release of the camouflage skill;

[0011] In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material, where the second appearance material is determined based on the virtual environment in which the virtual object is located.

[0012] According to another aspect of the present application, a device for controlling the appearance of a virtual object is provided, the device comprising:

[0013] A display module, configured to display a virtual object in a virtual environment, wherein the virtual object has a camouflage skill;

[0014] A receiving module, configured to receive a skill release operation for triggering the release of the camouflage skill;

[0015] A processing module is configured to replace a first appearance material of the virtual object with a second appearance material in response to the skill release operation, where the second appearance material is determined based on a virtual environment in which the virtual object is located.

[0016] According to another aspect of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the appearance control method of a virtual object provided in various aspects of the present application.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to implement the appearance control method of a virtual object provided in various aspects of the present application.

[0018] According to another aspect of the present application, a computer program product or a computer program is provided, wherein the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, the appearance control method of a virtual object provided in various aspects of the present application is implemented.

[0019] According to another aspect of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions. When the chip is running, it is used to implement the appearance control method of the virtual object provided in various aspects of the present application.

[0020] The beneficial effects of the technical solutions provided in the embodiments of the present application include at least:

[0021] The present application provides a method for controlling the appearance of a virtual object. When the virtual object has a camouflage skill, the method receives a skill release operation for triggering the release of the camouflage skill. In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material. The second appearance material is determined based on the virtual environment in which the virtual object is located, so that the virtual object after the appearance material is replaced is integrated with the surrounding virtual environment, thereby achieving the effect of hiding the virtual object. In this way, the virtual object is not easily discovered, and can confuse enemy virtual objects, thereby avoiding attacks from enemy virtual objects, or more easily and successfully ambush enemy virtual objects, thereby achieving accurate and effective attacks on enemy virtual objects. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a schematic diagram of an interface showing appearance changes of a virtual object provided by an exemplary embodiment of the present application;

[0023] FIG2 is a schematic diagram of the structure of a computer system provided by an exemplary embodiment of the present application;

[0024] FIG3 is a flowchart of a method for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application;

[0025] FIG4 is a schematic diagram of an interface showing changes in the appearance of a virtual object provided by another exemplary embodiment of the present application;

[0026] FIG5 is a flowchart of a method for controlling the appearance of a virtual object provided by another exemplary embodiment of the present application;

[0027] FIG6 is a schematic diagram of a camera model corresponding to the perspective of a virtual object provided by an exemplary embodiment of the present application;

[0028] FIG7 is a schematic diagram of an imaging plane provided by an exemplary embodiment of the present application;

[0029] FIG8 is a schematic diagram of an interface showing changes in the appearance of a virtual object provided by another exemplary embodiment of the present application;

[0030] FIG9 is a schematic diagram of an interface showing changes in the appearance of a virtual object provided by another exemplary embodiment of the present application;

[0031] FIG10 is a flowchart of a method for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application;

[0032] FIG11 is a flowchart of a process for releasing a disguise skill provided by an exemplary embodiment of the present application;

[0033] FIG12 is a flow chart of a process for replacing an appearance material according to an exemplary embodiment of the present application;

[0034] FIG13 is a flowchart of a process for releasing a disguise skill provided by another exemplary embodiment of the present application;

[0035] FIG14 is a block diagram of a device for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application;

[0036] FIG15 is a schematic diagram of the device structure of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0037] First, the nouns involved in the embodiments of this application are introduced:

[0038] A virtual environment is a virtual environment displayed (or provided) when an application is running on a terminal. This virtual environment can be a simulation of the real world, a semi-simulated and semi-imaginary environment, or a purely imaginary environment. This application does not limit this to any of the following: a two-dimensional virtual environment, a 2.5-dimensional virtual environment, or a three-dimensional virtual environment. The following embodiments illustrate a three-dimensional virtual environment.

[0039] Virtual objects are movable objects in a virtual environment. These movable objects can be virtual people, virtual animals, or animated characters, for example, people, animals, plants, oil drums, walls, and rocks displayed in a 3D virtual environment. Alternatively, virtual objects can be 3D models created using animation skeletal technology. Each virtual object has its own unique shape and volume within the 3D virtual environment and occupies a portion of the space within the 3D virtual environment.

[0040] Virtual props: These are props used by virtual objects to perform certain actions in a virtual environment, such as virtual vehicles and virtual equipment. For example, virtual explosives are virtual objects that can explode in a virtual environment and are a type of virtual equipment used by virtual objects in that environment. When a virtual explosive is activated (or explodes), it reduces the health of virtual objects within the explosion range. For another example, shooting virtual props can be used for shooting in a virtual environment and are another type of virtual equipment used by virtual objects in that environment. When shooting with shooting virtual props (such as a bow and arrow), the health of enemy virtual objects within range is reduced. For example, virtual props "equipped, carried, or equipped" by a virtual object include virtual props currently in use. A virtual object has a virtual backpack with slots in it, and virtual props not currently in use can be stored in the virtual backpack. Virtual props "equipped, carried, or equipped" by a virtual object may also include virtual props stored in the virtual backpack.

[0041] Shooting games: refers to games in which virtual objects are controlled to fight in a virtual environment using virtual equipment. Exemplary shooting games include: First-Person Shooting (FPS) games and Third-Person Shooting (TPS) games. Among them, FPS games refer to shooting games that users can play from a first-person perspective, and the virtual environment in the game is a picture of the virtual environment observed from the perspective of the virtual object. TPS games refer to shooting games that users can play from a third-person perspective, and the virtual environment in the game is a picture of the virtual environment observed from the perspective of the virtual object. The third-person perspective can observe the movements of the virtual object.

[0042] In the game, at least two virtual objects engage in a single-game battle mode in a virtual environment. The virtual objects survive in the virtual environment by avoiding attacks launched by other virtual objects and dangers in the virtual environment (such as poison gas circles, swamps, etc.). When the life value of the virtual object in the virtual environment is zero, the life of the virtual object in the virtual environment ends, and the virtual object that survives in the virtual environment is the winner. Among them, the life value refers to the life length of the virtual object in the virtual environment. When the life value of the virtual object is zero, the life of the virtual object in the virtual environment ends. Optionally, the battle starts at the moment when the first client joins the battle and ends at the moment when the last client exits the battle. Each client can control one or more virtual objects in the virtual environment. Optionally, the competitive mode of the battle can include a single-player battle mode, a two-player team battle mode, or a multi-player group battle mode. The embodiment of the present application does not limit the battle mode.

[0043] Controls: Any visible control or element on an application's user interface (UI), such as images, input boxes, text boxes, buttons, and labels. Some UI controls can respond to user actions. For example, when a user triggers a skill release control for a camouflage skill, the control can control the appearance and material of a virtual object, thereby creating a camouflage effect within the virtual environment.

[0044] The virtual object appearance control method provided in this application can be applied to virtual reality (VR) applications, augmented reality (AR) applications, FPS games, TPS games, multiplayer online battle arena (MOBA) games, tactical competitive games, strategy games (SLG), etc. The following embodiments are illustrated by using applications in games as examples.

[0045] Games based on virtual environments often consist of one or more game world maps. The virtual environments within the game simulate real-world scenes, allowing users to manipulate virtual objects in the game to perform actions such as walking, running, jumping, shooting, fighting, driving, switching between virtual tools, and using virtual tools to attack other virtual objects. These games are highly interactive, and multiple users can team up online for competitive gaming. User-controlled virtual objects can attack other virtual objects in the virtual environment, such as enemy virtual objects and non-player characters (NPCs); user-controlled virtual objects can also be attacked by other virtual objects in the virtual environment, such as enemy virtual objects and NPCs.

[0046] When a user controls a virtual object to evade an attack or ambush an enemy, they can hide it. Some games offer a virtual costume with the same color and texture as grass. This allows the virtual object wearing the costume to hide in the grass, making it difficult to identify. However, this only works in grass; hiding in a city, desert, or snowy terrain doesn't work.

[0047] The virtual object appearance control method provided by this application changes the appearance material of the virtual object according to the virtual environment in which the virtual object is located, and can achieve an effective hiding effect regardless of the virtual environment the virtual object is in. As shown in Figure 1, it shows a schematic interface diagram of the appearance change of the virtual object provided by an exemplary embodiment of this application.

[0048] A virtual environment screen 102 is displayed in a virtual environment interface 101. The virtual environment screen 102 includes a lawn 103 within the virtual environment, with a virtual object 104 standing on the lawn 103. Movement controls are also displayed in the virtual environment interface 101. Virtual environment screen 102 is a view of the virtual environment from the perspective of the virtual object 104. A user can control the movement of the virtual object 104 within the virtual environment by triggering the movement controls. As the user controls the movement of the virtual object 104 within the virtual environment, the perspective from which the virtual object 104 observes the virtual environment changes. The virtual environment interface 101 also includes a perspective adjustment control, which the user can use to control the movement of the virtual object 104's perspective of the virtual environment.

[0049] A virtual object 104 in a virtual environment screen 102 is wearing a combat uniform 105. The virtual environment interface 101 also includes a skill release control 106 for the camouflage skill. When a user triggers the skill release operation on skill release control 106, an animation of the virtual object 104's appearance material changing process plays, as shown in the second interface diagram of FIG. 1 , along with a special effect 107 of the appearance material change. Then, the first appearance material of the combat uniform 105 is replaced with a second appearance material having the color and texture of grass, as shown in the third interface diagram of FIG. 1 , depicting the virtual object's combat uniform 108. This effectively hides the virtual object 104 in the grass, allowing it to avoid attacks and ambush enemy virtual objects.

[0050] The virtual object appearance control method provided in this application can be applied to a computer system. As shown in Figure 2, it shows a block diagram of a computer system provided by an exemplary embodiment of this application. The computer system 200 includes: a first terminal 220, a server 240, and a second terminal 260.

[0051] The first terminal 220 has an application installed and running that supports a virtual environment. This application can be any of a virtual reality application, an augmented reality application, an FPS game, a TPS game, a MOBA game, or a multiplayer survival game. The first terminal 220 is used by a first user, who uses the first terminal 220 to control a first virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, shooting, throwing virtual smoke bombs, and throwing virtual explosives. Exemplarily, the first virtual object is a first virtual character, such as a simulated or animated character.

[0052] The first terminal 220 is connected to the server 240 via a wireless network or a wired network. The server 240 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Exemplarily, the server 240 includes a memory 242 and a processor 244, and the memory 242 further includes a display module 2421, a control module 2422, and a receiving module 2423. The server 240 is used to provide background services for applications that support three-dimensional virtual environments. Optionally, the server 240 undertakes the primary computing work, and the first terminal 220 and the second terminal 260 undertake the secondary computing work; alternatively, the server 240 undertakes the secondary computing work, and the first terminal 220 and the second terminal 260 undertake the primary computing work; alternatively, the server 240, the first terminal 220, and the second terminal 260 adopt a distributed computing architecture to perform collaborative computing.

[0053] Second terminal 260 has an application installed and running that supports a virtual environment. This application can be any of a virtual reality application, an augmented reality application, an FPS game, a TPS game, a MOBA game, or a multiplayer survival game. Second terminal 260 is used by a second user, who uses it to control a second virtual object in the virtual environment to perform activities, including but not limited to: adjusting body posture, crawling, walking, running, riding, jumping, driving, shooting, throwing virtual smoke bombs, and throwing virtual explosives. Exemplarily, the second virtual object is a second virtual character, such as a realistic or animated character.

[0054] Optionally, the first virtual object and the second virtual object are in the same virtual environment. Optionally, the first virtual object and the second virtual object may belong to the same team, the same organization, have a friendship relationship, or have temporary communication permissions. Alternatively, the first virtual object and the second virtual object may belong to different teams, different organizations, or have a hostile relationship.

[0055] Optionally, the applications installed on the first terminal 220 and the second terminal 260 are the same, or the applications installed on the two terminals are the same type of applications on different control system platforms. The first terminal 220 can generally refer to one of a plurality of terminals, and the second terminal 260 can generally refer to one of a plurality of terminals. This embodiment only uses the first terminal 220 and the second terminal 260 as an example. The device types of the first terminal 220 and the second terminal 260 are the same or different, and the device types include: at least one of a smartphone, a tablet computer, a laptop computer, a wearable device, an AR smart device, a VR smart device, an e-book reader, a Moving Picture Experts Group Audio Layer III (MP3) player, a Moving Picture Experts Group IV (MP4) player, a laptop computer, and a desktop computer. The following embodiments are illustrated by taking the terminal including a smartphone as an example.

[0056] Those skilled in the art will appreciate that the number of the above-mentioned terminals may be more or less. For example, the above-mentioned terminal may be only one, or the above-mentioned terminals may be dozens or hundreds, or a larger number. The embodiments of the present application do not limit the number of terminals and device types.

[0057] FIG3 shows a flowchart of a method for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application. The method can be applied to a terminal of a computer system as shown in FIG2 . The method includes the following steps:

[0058] Step 301: Display a virtual object in a virtual environment, where the virtual object has a camouflage skill.

[0059] An application program is running on the terminal, and the application program supports a virtual environment in which virtual objects exist. A virtual environment interface is displayed on the terminal, and the virtual environment interface includes a virtual environment screen, which is a screen obtained by observing the virtual environment from the perspective of the virtual objects.

[0060] Optionally, the viewing angle refers to the angle of observation when observing a virtual object in a virtual environment from a first-person perspective or a third-person perspective. Exemplarily, in an embodiment of the present application, the viewing angle refers to the angle at which a virtual object is observed in a virtual environment through a camera model. The camera model automatically follows the virtual object in the virtual environment, i.e., when the position of the virtual object in the virtual environment changes, the camera model changes simultaneously with the position of the virtual object in the virtual environment, and the camera model always remains within a preset distance range of the virtual object in the virtual environment. Optionally, during the automatic following process, the relative position of the camera model and the virtual object does not change.

[0061] Exemplarily, the virtual environment displayed on the virtual environment screen includes at least one of the following elements: mountains, plains, rivers, lakes, oceans, deserts, sky, clouds, sun, moon, stars, plants, animals, buildings, and vehicles. For example, as shown in FIG1 , the virtual environment screen displays elements such as lawns, hills, rocks, and houses.

[0062] In the embodiments of this application, camouflage is achieved by changing the appearance and material of a virtual object, blending the virtual object's appearance into the virtual environment it is in, thereby masking the virtual object within the virtual environment. For example, as shown in FIG1 , after the appearance and material of the virtual object are changed, the virtual object's combat uniform changes from combat uniform 105 to combat uniform 108. It should be noted that when the virtual object is constructed based on a three-dimensional model, changing the appearance and material will not affect the virtual object's three-dimensional model. For example, the combat uniform in FIG1 changes its material, but does not change its model; the three-dimensional structure of the combat uniform in FIG1 remains unchanged.

[0063] Optionally, the disguised skills possessed by a virtual object are skills inherent to the virtual object. Alternatively, they are skills acquired through the use of virtual props; methods for acquiring such virtual props include, but are not limited to, picking them up, purchasing them, sharing them with other virtual objects, or receiving them as rewards for completing tasks. Alternatively, they are skills acquired through completing tasks; for example, a disguised skill is a reward earned by controlling a virtual object to complete a task.

[0064] Materials simulate the physical properties of objects in a virtual environment; for example, materials can include color, reflectivity, transparency, and textures. Material properties are collectively referred to as shaders. Exemplary shader properties include, but are not limited to, ambient occlusion, diffuse reflectance, metallic / specular properties, glossiness, self-illumination, opacity, normals, and environment. Among them, ambient occlusion (AO) refers to the artificial control of the intensity and distribution of ambient light on an object; diffuse reflection refers to the inherent color of an object and is a material property that directly expresses the object's color; the specular property preserves the highlight color of an object without being affected by the environment; the metallic property simulates the specular effect in a real environment based on ambient light; glossiness refers to the reflection intensity of an object; emissive refers to the intensity of the object's inherent luminescence; opacity refers to the transparency of an object; normal is used to achieve a concave and convex effect on a plane, used to preserve and enrich details; environment is a secondary operation on the reflection intensity of an object, mainly for highly reflective materials such as glass and mirrors; others can be switches for processing object lighting, double-sidedness, and transparent front-to-back relationships to handle special effects. Optionally, the appearance material of a virtual object refers to the material of the clothing worn by the virtual object; or, the appearance material of a virtual object refers to the observable surface material of the virtual object.

[0065] Step 302: Receive a skill release operation for triggering the release of a disguise skill.

[0066] Optionally, the skill release operation for triggering the release of the disguise skill may be a pre-set gesture operation. For example, in response to triggering a gesture operation on the interactive area of ​​the virtual environment interface, the release of the disguise skill is triggered.

[0067] Optionally, the virtual environment interface includes a skill release control for a disguised skill. The terminal receives a skill release operation triggered by the skill release control for the disguised skill. Exemplarily, the triggering operation includes, but is not limited to, at least one of the following: a single-click operation, a double-click operation, a long-press operation, a drag operation, and a slide operation.

[0068] As shown in FIG1 , a skill release control 106 for a disguise skill is displayed on the virtual environment interface, which is used to trigger the release of the disguise skill possessed by the virtual object. Optionally, if the virtual object possesses a disguise skill, a skill release control for the disguise skill is displayed on the virtual environment interface. For example, if the virtual object acquires a disguise skill through the use of a virtual item, a skill release control for the disguise skill is displayed on the virtual environment interface.

[0069] Optionally, the skill release control for the disguised skill can be located anywhere on the virtual environment interface. For example, the skill release control can be located at the edge of the virtual environment interface. As shown in Figure 1 , the skill release control is located at the right edge of the virtual environment interface. Alternatively, the placement of the skill release control on the virtual environment interface can be customized by the user; for example, the skill release control can be dragged from a first position to a second position to change its placement.

[0070] Optionally, the disguise skill requires the accumulation of virtual energy. When the virtual energy accumulation of the disguise skill reaches a preset threshold, the skill release of the disguise skill can be triggered. Exemplarily, when the virtual energy accumulation of the disguise skill reaches the preset threshold, the skill release control is in a touchable state; when the skill release control is in a touchable state, the terminal can receive the skill release operation triggered on the skill release control. For example, in the initial stage or after completing a skill release, the terminal switches the state of the skill release control from a touchable state to a non-touchable state; after the virtual energy accumulation of the disguise skill reaches the preset threshold, the state of the skill release control is switched from a non-touchable state to a touchable state, at which time the terminal can receive the skill release operation on the skill release control.

[0071] For example, during the initial phase or after a skill is released, after a cooldown period, the virtual energy accumulated reaches a preset threshold, and the skill release control is switched to a touchable state. For example, after a skill is released, the skill release control switches to an inaccessible state, and after a 30-second cooldown, the skill release control switches back to a touchable state. During the initial phase or after a skill is released, the virtual energy required to release a disguised skill can be obtained by completing tasks, such as picking up and using virtual energy crystals to accumulate the virtual energy required to release a disguised skill.

[0072] Step 303: In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material, where the second appearance material is determined based on the virtual environment in which the virtual object is located.

[0073] In response to the skill release operation, the terminal determines a second appearance operation based on the virtual environment in which the virtual object is located; and replaces the first appearance material of the virtual object with the second appearance material. Optionally, based on the skill release operation, the terminal determines the position of the virtual object in the virtual environment; determines the second appearance material based on the appearance material at the position of the virtual object in the virtual environment; and replaces the first appearance material of the virtual object with the second appearance material.

[0074] Optionally, when the state of the virtual object meets the skill release condition, the terminal executes a step of replacing the first appearance material of the virtual object with a second appearance material in response to the skill release operation.

[0075] Exemplarily, the skill release conditions include but are not limited to at least one of the following: the virtual object is in a moving state, the virtual object is in a shooting state, the virtual object is in a jumping state, the virtual object is in a sprinting state, the virtual object is in a sliding state, the virtual object is in a crouching state, the virtual object is in a lying state, the virtual object is in a stationary state, and the virtual object is in a skill release area of ​​a camouflage skill. The skill release area of ​​a camouflage skill can be any area in the virtual environment, or a partial area in the virtual environment.

[0076] In some embodiments, if the state of the virtual object satisfies the conditions for not being able to release the skill, the skill release operation of the disguise skill will not be responded to; wherein, the conditions for not being able to release the skill include but are not limited to at least one of the following: the virtual object is knocked down, the virtual object is climbing, the virtual object is rescuing or being rescued, the virtual object is driving or riding a virtual vehicle, and the virtual object is in a restricted area for releasing the disguise skill, and the restricted area for releasing the disguise skill may be part of the virtual environment.

[0077] It should be noted that the skill release conditions and the conditions for not being able to release skills corresponding to the disguise skill are pre-set according to application requirements.

[0078] Optionally, the terminal switches the entire appearance material of the virtual object from the first appearance material to the second appearance material. Alternatively, the terminal switches the appearance material of a portion of the virtual object exposed in the virtual environment from the first appearance material to the second appearance material.

[0079] Switching appearance materials can be done by changing the parameters of the virtual object's appearance material. A first appearance material corresponds to one set of material parameters, while a second appearance material corresponds to another set of material parameters. By changing the material parameters of the first appearance material used by the virtual object to those of the second appearance material, the appearance material is replaced.

[0080] Optionally, the terminal controls the process of switching from the first appearance material to the second appearance material by an instantaneous change, that is, directly transitioning from the first appearance material to the second appearance material; or by a gradual change, that is, gradually changing from the first appearance material to the second appearance material.

[0081] Optionally, in response to the skill release operation, the terminal first plays an effect animation for changing the appearance material of the virtual object. During the playback of the effect animation, the terminal gradually switches the first appearance material to the second appearance material, and the playback of the effect animation and the switching of the appearance materials are completed simultaneously. Alternatively, after playing the effect animation for changing the appearance material of the virtual object, the terminal directly switches the first appearance material to the second appearance material.

[0082] For example, as shown in FIG4 , a virtual environment interface 501 displays a virtual environment screen 502. Virtual environment screen 502 includes floor tiles 503 within the virtual environment, with a virtual object 504 standing on the floor tiles 503. Virtual environment interface 501 also displays movement controls. Virtual environment screen 502 shows the virtual environment from the perspective of virtual object 504. A user can control the movement of virtual object 504 within the virtual environment by triggering the movement controls. As the user controls the movement of virtual object 504 within the virtual environment, the perspective from which virtual object 504 observes the virtual environment changes. Virtual environment interface 501 also includes perspective adjustment controls, which the user can use to control the movement of virtual object 504's perspective of the virtual environment.

[0083] Virtual object 504 in virtual environment screen 502 is wearing combat uniform 505. Virtual environment interface 501 also includes a skill release control 506 for the camouflage skill. When a user triggers the skill release operation on skill release control 506, an animation of the virtual object 504's appearance material changing is first played, as shown in the second interface diagram of FIG. 4 , displaying a special effect 507 of the appearance material change. Then, the first appearance material of combat uniform 505 is replaced with a second appearance material having the color and texture of floor tiles 503, as shown in the third interface diagram of FIG. 4 , representing the virtual object's combat uniform 508. This effectively hides virtual object 504 in the bushes, allowing it to avoid attacks and ambush enemy virtual objects.

[0084] Optionally, the camouflage skill is persistent and can be terminated later by terminating the skill release. Alternatively, a duration threshold is set for the camouflage skill, which indicates how long the camouflage skill remains active. Upon reaching the duration threshold, the virtual object's second appearance material is replaced with the first. The duration refers to the duration of time the virtual object remains in the second appearance material, starting from the moment the virtual object replaces the second appearance material. For example, the camouflage skill can last for 60 seconds after release, and after 60 seconds, the second appearance material switches back to the first.

[0085] Optionally, while the camouflage skill is active, the terminal controls the virtual object to continue moving within the virtual environment. During this movement, the appearance material of the virtual object changes as the virtual environment surrounding the virtual object changes. For example, after replacing the first appearance material of the virtual object with the second appearance material, the terminal controls the virtual object to continue moving within the virtual environment; based on the position of the virtual object after movement, the terminal re-determines the appearance material that needs to be replaced for the virtual object to obtain a third appearance material; and then replaces the second appearance material of the virtual object with the third appearance material.

[0086] Optionally, while the camouflage skill is active, the virtual object's appearance material is updated in real time as the virtual object moves within the virtual environment. Alternatively, while the camouflage skill is active, the virtual object is controlled to move from a first position to a second position in the virtual environment. In response to the virtual object's stationary duration at the second position reaching an inactivity duration threshold, the virtual object's appearance material to be replaced is re-determined based on the virtual object's second position after movement, resulting in a third appearance material. The second appearance material of the virtual object is then replaced with the third appearance material. It should be noted that the determination of the third appearance material can refer to the determination of the second appearance material and will not be further elaborated here.

[0087] Optionally, during the effective period of the disguise skill, in response to an event that meets the termination condition of the disguise skill, the second appearance material of the virtual object is replaced with the first appearance material.

[0088] Optionally, the above-mentioned termination conditions include but are not limited to at least one of the following: being hit by an enemy virtual object, the health value of the virtual object is reduced to below the health value threshold, the energy value of the virtual object is reduced to below the energy value threshold, entering the release restricted area of ​​the camouflage skill (for example, the virtual object falls into or enters the water), and performing a first type of action. Among them, the first type of action includes but is not limited to: climbing, driving a virtual vehicle, and riding a virtual vehicle. Exemplarily, after the first appearance material of the virtual object is replaced with the second appearance material, in response to the virtual object being hit by an enemy virtual object, the second appearance material of the virtual object is replaced with the first appearance material. For another example, after the first appearance material of the virtual object is replaced with the second appearance material, in response to controlling the virtual object to perform the first type of action, the second appearance material of the virtual object is replaced with the first appearance material.

[0089] Optionally, while the camouflage skill is active, the release effect of a second type of action is enhanced, where the second type of action is different from the first type of action. Exemplarily, in response to controlling a virtual object to perform a second type of action, the release effect of the second type of action is enhanced, where the second type of action is different from the first type of action. Exemplarily, the second type of action may be an attack action and / or an action that replenishes virtual energy. For example, while the camouflage skill is active, controlling the virtual object to shoot increases the damage and range of the shot by a first preset ratio, such as increasing the damage to 120% of the original damage value and increasing the range to 110% of the original range. Another example is that while the camouflage skill is active, controlling the virtual object to perform a virtual energy replenishment action reduces the time required to replenish virtual energy by a second preset ratio, such as reducing the original time by 5 seconds; and / or increases the virtual energy value of a virtual item used to replenish virtual energy, such as increasing the virtual energy value of the virtual item used to replenish virtual energy to 110% of the original value. For example, during the effective time of the camouflage skill, the virtual object is controlled to throw a virtual explosive, and the damage range and damage value after the virtual explosive is activated are increased according to a third preset ratio, such as increasing it to 120% of the original damage value and increasing it to 120% of the original damage range.

[0090] Optionally, the virtual object is also equipped with a virtual item; in response to a skill release operation, the first appearance material of the virtual object is replaced with the second appearance material, and the fourth appearance material of the virtual item is replaced with the first appearance material. For example, if the virtual object uses a virtual explosive while the camouflage skill is active, the fourth appearance material of the virtual explosive is replaced with the first appearance material. For another example, if the virtual object is equipped with a virtual shooting item, the fourth appearance material of the virtual shooting item is replaced with the first appearance material, and the appearance material of the shot item can also be replaced with the first appearance material.

[0091] In summary, the appearance control method of a virtual object provided in this embodiment receives a skill release operation for triggering the release of the camouflage skill when the virtual object has a camouflage skill. In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material. The second appearance material is determined based on the virtual environment in which the virtual object is located, so that the virtual object after the appearance material is replaced is integrated with the surrounding virtual environment, thereby achieving the effect of hiding the virtual object. In this way, the virtual object is not easy to be discovered, and can confuse enemy virtual objects, thereby avoiding the attack of enemy virtual objects, or it is easier to successfully ambush the enemy virtual object, thereby achieving accurate and effective attack on the enemy virtual object.

[0092] Secondly, while the camouflage skill is active, as the virtual object moves within the virtual environment, its appearance and material change according to the surrounding virtual environment, allowing it to better hide within the surrounding virtual environment and improving its concealment. Furthermore, the camouflage skill can enhance the release effect of certain actions, combining it with the camouflage effect to better ambush enemies.

[0093] FIG5 shows a flow chart of a method for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application. This method can be applied to a terminal of the computer system shown in FIG2 . As shown in FIG5 , step 303 described above can be implemented through steps 3031 to 3033 , thereby determining a second appearance material that is more harmonious with the virtual object's surrounding virtual environment based on the position of the virtual object in the virtual environment. The method includes the following steps:

[0094] Step 3031: Determine the position of the virtual object in the virtual environment based on the skill release operation.

[0095] In response to the skill release operation, the terminal determines the position of the virtual object in the virtual environment. Exemplarily, the position of the virtual object refers to the position of the virtual object on the virtual map.

[0096] Step 3032: Determine a second appearance material according to the appearance material at the position of the virtual object in the virtual environment.

[0097] The terminal determines a contact object located at the position of the virtual object in the virtual environment, and determines a second appearance material based on the appearance material of the contact object. In some embodiments, the terminal determines a contact object in contact with a body part of the virtual object in the virtual environment based on the position of the virtual object; and determines the second appearance material based on the appearance material of the contact object. Exemplarily, the terminal determines the three-dimensional space in which the virtual object is located in the virtual environment based on the position of the virtual object, where the three-dimensional space in which the virtual object is located is larger than the space occupied by the three-dimensional model of the virtual object; in the three-dimensional space in which the virtual object is located, the terminal determines a contact object in contact with a body part of the virtual object; and determines the second appearance material based on the appearance material of the contact object. For example, the grass in contact with the foot of the virtual object is used as the contact object, and the second appearance material is determined based on the appearance material of the grass.

[0098] Optionally, the terminal may determine the appearance material of the contact object as the second appearance material. Alternatively, the terminal may determine some parameters of the appearance material of the contact object as parameters of the second appearance material.

[0099] Optionally, the object contacted by the virtual object may be one or more objects. If a body part of the virtual object contacts multiple objects in the virtual environment, at least one of the following methods may be used to determine the contacting object from the multiple objects;

[0100] (1) The terminal determines a first group of candidate objects based on the position of the virtual object, wherein at least two body parts of the virtual object are in one-to-one contact with at least two candidate objects in the first group of candidate objects; based on pre-set body part priorities, determines a first body part with the highest priority from the at least two body parts; and determines the candidate object corresponding to the first body part in the at least two candidate objects as the contact object. For example, if the back of the virtual object is in contact with a wall and the feet of the virtual object are in contact with the ground, and the priority of the back is higher than the priority of the feet, the wall contacted by the back of the virtual object is determined as the contact object.

[0101] (2) The terminal determines a first group of candidate objects based on the position of the virtual object, and at least two body parts of the virtual object are in one-to-one contact with at least two candidate objects in the first group of candidate objects; calculates the contact area between each candidate object in the first group of candidate objects and the body part corresponding to the virtual object one by one, to obtain at least two contact areas corresponding to at least two candidate objects; and determines the contact object corresponding to the largest contact area among the at least two contact areas.

[0102] In other embodiments, the terminal determines the three-dimensional space where the virtual object is located in the virtual environment based on the position of the virtual object; determines the contact object from the three-dimensional space; and determines the second appearance material according to the appearance material of the contact object.

[0103] Optionally, the three-dimensional space contains one or more candidate objects that are in contact with the virtual object. In the case where the three-dimensional space contains one candidate object, the candidate object is determined as the contact object.

[0104] In a case where a first group of candidate objects is included in the three-dimensional space and multiple candidate objects in the first group of candidate objects are in contact with the virtual object, for the multiple candidate objects in the three-dimensional space, the overlapping area between each object in the first group of candidate objects and the projection of the virtual object on the imaging plane of the camera model is calculated one by one to obtain at least two overlapping areas corresponding to at least two candidate objects; and the contact object corresponding to the largest overlapping area among the at least two overlapping areas is determined.

[0105] A camera model refers to a three-dimensional model located around a virtual object in a virtual environment. When a first-person perspective is used, the camera model is located near or at the head of the virtual object. When a third-person perspective is used, the camera model can be located behind the virtual object and bound to the virtual object, or it can be located at any position at a preset distance from the virtual object. The camera model can be used to observe the virtual object in the virtual environment from different angles. For example, when the third-person perspective is a first-person over-the-shoulder perspective, the camera model is located behind the virtual object (e.g., the head and shoulders of the virtual character). In addition to the first-person and third-person perspectives, perspectives also include other perspectives, such as a bird's-eye view. When a bird's-eye view is used, the camera model can be located above the virtual object's head. A bird's-eye view is a perspective from which the virtual environment is viewed from an aerial perspective. The camera model is not actually displayed in the virtual environment, i.e., it is not displayed in the virtual environment displayed on the virtual environment interface, i.e., it is not displayed in the aforementioned virtual environment screen.

[0106] Taking the case where the camera model is located at any position at a preset distance from the virtual object as an example, one virtual object corresponds to one camera model, and the camera model can be rotated with the virtual object as the rotation center, such as rotating the camera model with any point of the virtual object as the rotation center. During the rotation, the camera model not only rotates in angle but also shifts in displacement. During the rotation, the distance between the camera model and the rotation center remains unchanged, that is, the camera model is rotated on the surface of a sphere with the rotation center as the center of the sphere, wherein any point of the virtual object can be the head, torso, or any point around the virtual object, and this embodiment of the present application does not limit this. Optionally, when the camera model observes the virtual object, the center of the camera model's viewing angle points in the direction of the point on the sphere where the camera model is located pointing to the center of the sphere.

[0107] Optionally, the camera model can also observe the virtual object from different directions and at preset angles. For example, as shown in FIG6 , a point is determined within the virtual object 41 as a rotation center 42, and the camera model rotates around this rotation center 42. The camera model is configured with an initial position 43, which can be located above and behind the virtual object (e.g., behind the head). When the camera model rotates to position 44 or 45, the camera model's viewing direction changes as the camera model rotates.

[0108] Regarding the imaging plane of the camera model, as shown in Figure 7, it illustrates the process of mapping an object in three-dimensional space 701 onto the imaging plane 703 of the camera model. Camera plane 702 is determined by the posture of the camera model. Camera plane 702 is a plane perpendicular to the shooting direction of the camera model, and imaging plane 703 is parallel to camera plane 702. Imaging plane 703 is the plane on which the virtual environment within the field of view is imaged by the camera model when observing the virtual environment. The sphere represents the virtual object, and the cylinder represents the object in contact with the body part of the virtual object. The overlapping area between the image of the sphere and the image of the cylinder on imaging plane 703 is the overlapping area of ​​the object and the projection of the virtual object on the imaging plane of the camera model.

[0109] Exemplarily, the terminal calculates the overlapping area between each object and the image of the virtual object on the imaging plane of the camera model to obtain the corresponding overlapping area of ​​each object.

[0110] Exemplarily, the size of the three-dimensional space is set based on application requirements and is larger than the model size of the virtual object. Exemplarily, the distance between each position in the three-dimensional space and the virtual object is less than a preset threshold. The preset threshold may be the height of the virtual object, or 1.5 times or 2 times the height.

[0111] In other embodiments, the terminal determines a viewing frustum of a camera model based on the position of the virtual object, the camera model being used to track and observe the virtual object, the viewing frustum of the camera model containing the virtual object; determines a first group of candidate objects in the viewing frustum of the camera model, the first group of candidate objects including at least two candidate objects, the at least two candidate objects being in contact with a body part of the virtual object; calculates one by one the overlapping area between each object in the first group of candidate objects and the virtual object as projected on the imaging plane of the camera model, obtaining at least two overlapping areas corresponding to the at least two candidate objects; determines the contact object corresponding to the largest overlapping area of ​​the at least two overlapping areas; and determines the second appearance material based on the appearance material of the contact object. In other embodiments, the terminal determines at least two candidate objects in the viewing frustum of the camera model; calculates one by one the overlapping area between each candidate object and the virtual object as projected on the imaging plane of the camera model, obtaining at least two overlapping areas corresponding to the at least two candidate objects; determines the contact object corresponding to the largest overlapping area of ​​the at least two overlapping areas; and determines the second appearance material based on the appearance material of the contact object.

[0112] In other embodiments, the terminal determines M objects in a viewing cone of a camera model; for each of the M objects, calculates a vertical distance between the object and a central axis of the viewing cone, and obtains M vertical distances corresponding to the M objects; sorts the M objects in order from near to far, and obtains sorted M objects; for each of the first R objects in the sorted M objects, calculates an overlapping area between the object and the virtual object projected on an imaging plane of the camera model, and obtains R overlapping areas corresponding to the first R objects, where R is an integer greater than 1 and less than or equal to M; determines a contact object corresponding to a maximum overlapping area among the R overlapping areas; and determines a second appearance material based on the appearance material of the contact object. In other embodiments, the terminal determines M objects in the viewing frustum of the camera model, where M is an integer greater than 1; determines the distance between each of the M objects and the virtual object based on the position of the virtual object; sorts the M objects in order of distance from the virtual object from closest to farthest to obtain sorted M objects; for each of the first R objects in the sorted M objects, calculates the overlapping area between the object and the virtual object as projected on the imaging plane of the camera model, obtaining R overlapping areas corresponding to the first R objects, where R is an integer greater than 1 and less than or equal to M; determines the contact object corresponding to the largest overlapping area among the R overlapping areas; and determines the second appearance material based on the appearance material of the contact object. Optionally, the contact object includes at least one of a building, a vehicle, a plant, an animal, and an object in the virtual environment. For example, the contact object can be a wall, door, window, roof, pillar, etc. of a house in the virtual environment. The contact object can also be a tree, flower, bucket, stone, box, etc. in the virtual environment.

[0113] Optionally, the contact objects include objects that cannot be moved in the virtual environment, such as houses, objects, plants, stationary vehicles, stationary airplanes, moored ships and other transportation vehicles in the virtual environment.

[0114] Step 3033: Replace the first appearance material of the virtual object with the second appearance material.

[0115] For example, as shown in FIG8 , a virtual environment interface 801 displays a virtual environment screen 802, which includes sand 803 within the virtual environment. A virtual object 804 in the virtual environment screen 802 is wearing a combat uniform 805 and standing on the sand 803, with the virtual object 804's feet in contact with the sand 803. Virtual environment interface 801 also includes a skill release control 806 for a camouflage skill. When a user triggers a skill release operation on skill release control 806, the sand 803 is identified as the contact object. After playing an animation 807 showing the appearance material change of virtual object 804, as shown in the second interface diagram of FIG8 , the first appearance material of combat uniform 805 is replaced with the second appearance material corresponding to the sand 803, as shown in the third interface diagram of FIG8 . This effectively hides virtual object 804 in the sand 803, allowing it to avoid attacks and ambush enemy virtual objects.

[0116] After the terminal replaces the first appearance material of the virtual object with the second appearance material, it switches the appearance material of the virtual object back to the first appearance material under certain conditions. For example, as shown in FIG9 , while the camouflage skill is active, the virtual object 804 wears combat uniform 808. After the camouflage skill expires, an animation 809 indicating the camouflage skill has expired plays, and then the second appearance material of combat uniform 808 is replaced with the first appearance material, displaying the virtual object wearing combat uniform 805. The first appearance material is the original appearance material of the virtual clothing worn by the virtual object.

[0117] In summary, the virtual object appearance control method provided in this embodiment, when a virtual object possesses a camouflage skill, receives a skill release operation for triggering the release of the camouflage skill, and in response to the skill release operation, replaces the virtual object's first appearance material with a second appearance material. The second appearance material is determined based on the virtual environment in which the virtual object resides. This allows the virtual object, after the appearance material is changed, to blend in with the surrounding virtual environment, achieving the effect of hiding the virtual object. This makes the virtual object less easily discovered, can confuse enemy virtual objects, thereby avoiding their attacks, or more easily and successfully ambush them, achieving accurate and effective attacks on them. Furthermore, the contact object in the virtual environment is determined by contact with the virtual object, allowing the virtual object's changed appearance to better blend in with the virtual environment, thereby achieving a better hiding effect.

[0118] FIG10 shows a flowchart of a method for controlling the appearance of a virtual object provided by an exemplary embodiment of the present application. The method can be applied to a terminal of the computer system shown in FIG2 . As shown in FIG5 , step 303 can be implemented through steps 3034 to 3036, thereby determining a second appearance material that is more harmonious with the virtual object's surrounding virtual environment based on the dimension of the observed object's observation of the virtual object. The method includes the following steps:

[0119] Step 3034: In response to the skill release operation, determine the position of the virtual object in the observation screen.

[0120] In response to the skill release operation, the terminal determines the position of the virtual object in the observation screen. Exemplarily, the observation screen is a screen in which the observation object in the virtual environment observes the virtual environment; the observation screen includes the virtual object.

[0121] For example, the observed object and the virtual object typically belong to different virtual factions, and the observed object can also be referred to as an enemy virtual object of the virtual object. By releasing a skill, the appearance of the virtual object is masked in the virtual environment, preventing the observed object from distinguishing the virtual object in the virtual environment, or making it more difficult for the observed object to distinguish the virtual object in the virtual environment (e.g., taking longer or distinguishing the virtual object at a closer distance).

[0122] Step 3035: Determine a second appearance material based on the appearance material of the virtual object's surrounding position in the observation picture.

[0123] Exemplarily, the lateral position is the position of a pixel point adjacent to the edge of a virtual object in the observation plane, or the position of an area whose distance from the edge of a virtual object is less than a preset threshold. Exemplarily, similar to the introduction above, the observation screen is an imaging plane observed by a camera model, which is a two-dimensional plane obtained by observing virtual items, virtual objects, etc. in the virtual environment. The lateral position of a virtual object belongs to a virtual object in the virtual environment. The virtual object to which it belongs can be a virtual sky, a virtual earth, or virtual objects such as stones, trees, and buildings placed on the virtual earth, without limitation.

[0124] In an optional implementation, step 3035 may be implemented as follows: determining an overlapping object in the observation picture based on the position of the virtual object in the observation picture; and determining a second appearance material according to the appearance material of the overlapping object.

[0125] For example, the virtual object blocks the overlapping object in the observation picture. For example, when a camera model observes a virtual environment, the virtual object is located between the overlapping object and the camera model, thereby blocking the camera model from observing the overlapping object.

[0126] Exemplarily, the overlapping objects are usually virtual objects such as stones, trees, buildings, etc. in the virtual environment, but it does not exclude the case where the overlapping objects are virtual sky, virtual earth, etc.

[0127] In another example, a camera model for observing a virtual environment is introduced; step 3035 may be implemented as follows:

[0128] Based on the position of the observed object, the viewing frustum of the camera model is determined;

[0129] Among them, the camera model is used to follow and observe the observed object, and the visual cone of the camera model contains the virtual object; illustratively, the camera model of the observed object can observe the virtual object. In order to achieve masking of the virtual object in the virtual environment, so as to avoid the observed object from distinguishing the virtual object in the virtual environment, or to increase the difficulty for the observed object to distinguish the virtual object in the virtual environment, it is necessary to determine the second appearance material based on the observed picture to improve the masking effect of the virtual object in the observed picture.

[0130] Determining a second set of candidate objects in the viewing frustum of the camera model;

[0131] Among them, the second group of candidate objects includes at least two candidate objects, and the virtual object blocks at least two candidate objects on the imaging plane of the camera model; referring to the introduction above, the virtual object is located between the overlapping object and the camera model, blocking the camera model's observation of the overlapping object.

[0132] Calculate the overlapping area between each candidate object in the second group of candidate objects and the projection of the virtual object on the imaging plane one by one to obtain at least two overlapping areas corresponding to at least two candidate objects; determine the overlapping object corresponding to the largest overlapping area among the at least two overlapping areas; and determine the second appearance material based on the appearance material of the overlapping object.

[0133] Step 3036: Replace the first appearance material of the virtual object with the second appearance material.

[0134] A second appearance material is determined based on the appearance material surrounding the virtual object in the virtual environment; and the first appearance material of the virtual object is replaced with the second appearance material. By replacing the second appearance material, the edge of the virtual object and the surrounding environment of the virtual object in the observation image of the observation subject have the same appearance material, thereby preventing or increasing the difficulty for the observation subject to distinguish the virtual object in the virtual environment.

[0135] To sum up, the appearance control method of a virtual object provided in this embodiment receives a skill release operation for triggering the release of the camouflage skill when the virtual object has a camouflage skill. In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material. The second appearance material is determined based on the appearance material of the surrounding position of the virtual object in the observation screen, so that the virtual object after the appearance material is replaced is integrated with the surrounding virtual environment in the observation screen, thereby achieving the effect of hiding the virtual object. In this way, the virtual object is not easily discovered, and can confuse the enemy virtual object to achieve a better hiding effect.

[0136] As described above, the terminal switches the entire appearance material of the virtual object from the first appearance material to the second appearance material, or switches the appearance material of a portion of the virtual object exposed in the virtual environment from the first appearance material to the second appearance material.

[0137] In one example, a virtual environment interface includes two skill release controls for a disguise skill. In response to a triggering operation on the first skill release control, the entire appearance material of the virtual object is changed to the second appearance material; in response to a triggering operation on the second skill release control, the appearance material of the virtual object is partially changed to the second appearance material. Furthermore, the triggering operation on the first skill release control consumes more virtual energy than the triggering operation on the second skill release control, or the effective duration of the second appearance material corresponding to the first skill release control is shorter than the effective duration of the second appearance material corresponding to the second skill release control.

[0138] In another example, a virtual environment interface includes a skill release control for a disguise skill. In response to a triggering operation on the skill release control, the entire appearance material of the virtual object is changed to the second appearance material; the skill release control is switched to a skill conversion control. If no triggering operation is performed on the skill conversion control, the second appearance material remains in effect for the first duration.

[0139] In response to the triggering operation of the skill conversion control, part of the appearance material of the virtual object is switched from the second appearance material to the first appearance material, and part of the appearance of the virtual object is retained as the second appearance material; the effective duration of the above-mentioned retained second appearance material is the second duration, and the second duration is greater than the first duration.

[0140] By switching the triggered skill release control to a skill conversion control, a functional entry is provided for personalizing the camouflage skill, and a functional entry is provided for setting the coverage area and effective duration of the second appearance material with a masking effect. In one example, a virtual object triggers a camouflage skill to prevent an enemy virtual object from distinguishing its position in the virtual environment. The virtual object uses the masking effect to launch a virtual attack on the enemy virtual object and eliminates the enemy virtual object. After eliminating the enemy virtual object, there are no other objects posing a threat around the virtual object, but the risk of other enemy virtual objects existing in areas farther away from the virtual object is not ruled out. By triggering the skill conversion control, part of the appearance material of the virtual object is switched from the second appearance material to the first appearance material, while retaining part of the virtual object's appearance as the second appearance material, reducing the masking effect in the virtual environment while increasing the effective duration of the second appearance material; this can meet the needs of masking virtual objects in different virtual environments.

[0141] Let's take the above-mentioned disguise skill in the game as an example to illustrate. Disguise skills include active skills and passive skills.

[0142] Active Skill: After using the Camouflage skill, the virtual object's first appearance material will change to the material of the contact surface under the virtual object's feet (i.e., the second appearance material), thereby hiding the virtual object in the virtual environment.

[0143] Passive skill: Taking the virtual item equipped by the virtual object as a virtual shooting item as an example, the shooting speed and range of the virtual shooting item are increased.

[0144] The release process of the camouflage skill is as follows: 1. The virtual energy of the camouflage skill has reached the preset threshold; 2. The virtual object's action is in a state where the camouflage skill can be released (for example, climbing, wingsuit, falling, riding a virtual vehicle, etc., cannot be released); 3. Release the camouflage skill. During the effective time of the camouflage skill, the virtual object can perform actions such as moving, shooting, jumping, sprinting, sliding, etc.; 4. The effective duration of the camouflage skill is T; 5. It takes effect on the virtual object that is the releaser.

[0145] The camouflage skill can be canceled. The cancellation mechanism is as follows: automatically canceled when hit or slashed, and the recovery effect plays. Automatically canceled after riding a virtual vehicle, and the recovery effect plays. Automatically canceled after falling into water, and the recovery effect plays.

[0146] Situations where the camouflage skill cannot be released include: the virtual object is in a knocked-down state and cannot be released; the virtual object is riding a virtual vehicle and cannot be released; the virtual object is in a climbing state and cannot be released; the virtual object is in a rescuing state or a rescued state and cannot be released.

[0147] Resources required for switching appearance materials: hidden materials (i.e., second appearance materials) on various virtual objects, such as hidden materials when on grass, on stones, inside buildings, etc.; special effects used to change the material on the body when releasing the camouflage skill; special effects used to restore the original appearance material when the camouflage skill disappears.

[0148] FIG11 shows a flowchart of a process for releasing a disguise skill provided by an exemplary embodiment of the present application. The method includes:

[0149] Step 901: Wait for the virtual energy of the disguise skill to reach a preset threshold. This process is pre-configured by the planner, and the server updates the value and sends it to the client. This is reflected by the virtual energy bar of the disguise skill slowly growing until it reaches the preset threshold.

[0150] Step 902: Click the skill release control of the disguise skill.

[0151] When the virtual energy of the disguise skill reaches a preset threshold, the skill release control of the disguise skill can be clicked to release the disguise skill.

[0152] Step 903: Provide a hidden material for the virtual object. After the skill is released, the virtual object will obtain the hidden material, changing the appearance material of the virtual object to achieve a hidden effect.

[0153] Step 904 , providing the added shooting speed and range of the virtual object when shooting.

[0154] After the camouflage skill is released, the shooting speed and range of the virtual object will be increased, that is, the shooting speed and range will be increased, the character's attack power will be improved, and the enemy virtual object will be killed quickly.

[0155] Step 905: The disguise skill ends.

[0156] The virtual object returns to the state before the skill was released, and the original appearance and material of the virtual object are restored.

[0157] FIG12 shows a flow chart of a process for changing an appearance material according to an exemplary embodiment of the present application. The method includes:

[0158] Step 1001, dynamically load various hidden material files.

[0159] Hidden materials are appearance materials created in advance by art students based on the materials of objects in the virtual scene. The loading of these material files is changed to dynamic loading, which makes it easy to replace various materials without changing the code, and only needs to update this file when updating.

[0160] Step 1002 , detecting the material of the object under the feet of the virtual object and selecting to hide the material.

[0161] Extend a spherical ray downward through the heel of the virtual object to determine the collision point, then determine the material of the collision point, determine the object under the foot through the material of the collision point, and then determine the hidden material for the virtual object based on the object under the foot.

[0162] Step 1003: Send the hidden material and effective duration to the material management system.

[0163] The material management system is a system used to add, search, delete, replace, and present materials. After the disguise skill is triggered, the relevant material resource identifier and effective duration are passed into the material management system as parameters to realize the display of hidden materials on the character.

[0164] Step 1004: Replace the appearance material of the virtual object with a hidden material through the material management system.

[0165] The parameters of the hidden material are passed into the material management system, and the original appearance material of the virtual object is replaced with the hidden material.

[0166] Step 1005, play the display and disappearance of the hidden material in chronological order.

[0167] If the playback time of this hidden material in the material management system does not reach the effective duration, the hidden material will be displayed on the virtual object. When the playback time of the hidden material reaches the effective duration, the hidden material on the virtual object will be restored to the previous original appearance material, such as the first appearance material.

[0168] FIG13 shows a flowchart of a process for releasing a disguise skill provided by an exemplary embodiment of the present application. The method includes:

[0169] In step 1101, the client receives a skill release operation of a disguise skill triggered by a user and sends a network request packet to the server. The network request packet includes user information, virtual object information, and disguise skill information.

[0170] The client is a client of an application that supports a virtual environment and runs on a terminal.

[0171] In step 1102, the server verifies the information in the network request packet, and if the information is legal, sends the first network packet indicating that the disguise skill is successfully released.

[0172] In step 1103 , the server continues to send a second network packet, where the second network packet is used to provide hidden material for the virtual object.

[0173] Step 1104 : The client receives the second network packet and replaces the appearance material of the virtual object with a hidden material through the material management system.

[0174] Step 1105: The server continues to send a third network packet, which is used to provide the increased firing rate and range.

[0175] Step 1106: The client controls the hidden virtual object to shoot, and sends a movement packet, a prop status packet, etc. to the server.

[0176] Step 1107: The server indicates to the client that the disguise skill has ended.

[0177] In step 1108 , the client switches the hidden material of the virtual object back to the original material (ie, the first appearance material).

[0178] The following is an embodiment of the device of the present application. For details not described in detail in the embodiment of the device, reference can be made to the corresponding records in the above method embodiment, and no further details will be given herein.

[0179] FIG14 shows a schematic diagram of a virtual object appearance control device provided by an exemplary embodiment of the present application. The device can be implemented as all or part of a terminal through software, hardware, or a combination of both. The device includes:

[0180] Display module 1201, configured to execute step 301 in the embodiment of FIG3;

[0181] Receiving module 1202, configured to execute step 302 in the embodiment of FIG3;

[0182] The processing module 1203 is configured to execute step 303 in the embodiment of FIG. 3 .

[0183] In some embodiments, the processing module 1203 is configured to execute steps 3031 to 3033 in the embodiment of FIG. 5 .

[0184] In some embodiments, the processing module 1203 is configured to: determine, in the virtual environment, a contact object that is in contact with a body part of the virtual object based on the position of the virtual object;

[0185] The second appearance material is determined according to the appearance material of the contact object.

[0186] In some embodiments, the processing module 1203 is configured to:

[0187] determining, based on the position of the virtual object, a first group of candidate objects, wherein at least two body parts of the virtual object are in one-to-one contact with at least two candidate objects in the first group of candidate objects;

[0188] Calculating contact areas between each candidate object in the first group of candidate objects and the body part corresponding to the virtual object one by one, to obtain at least two contact areas corresponding to the at least two candidate objects;

[0189] The contact object corresponding to the largest contact area among the at least two contact areas is determined.

[0190] In some embodiments, the processing module 1203 is configured to:

[0191] Determining a viewing frustum of a camera model based on the position of the virtual object, wherein the camera model is used to follow and observe the virtual object, and the viewing frustum of the camera model contains the virtual object;

[0192] determining a first group of candidate objects in a viewing frustum of the camera model, wherein the first group of candidate objects includes at least two candidate objects, and the at least two candidate objects are in contact with a body part of the virtual object;

[0193] Calculating one by one the overlapping areas between each object in the first group of candidate objects and the projection of the virtual object on the imaging plane of the camera model, to obtain at least two overlapping areas corresponding to the at least two candidate objects;

[0194] Determining a contact object corresponding to a maximum overlapping area among the at least two overlapping areas;

[0195] The second appearance material is determined according to the appearance material of the contact object.

[0196] In some embodiments, the processing module 1203 is configured to execute steps 3034 to 3036 in the embodiment of FIG. 10 .

[0197] In some embodiments, the processing module 1203 is used to: determine the overlapping object in the observation screen based on the position of the virtual object in the observation screen, and the virtual object causes occlusion of the overlapping object in the observation screen; determine the second appearance material according to the appearance material of the overlapping object.

[0198] In some embodiments, the processing module 1203 is configured to:

[0199] Determining a viewing frustum of a camera model based on the position of the observed object, wherein the camera model is used to follow and observe the observed object, and the viewing frustum of the camera model contains the virtual object;

[0200] Determine a second group of candidate objects in a viewing frustum of the camera model, where the second group of candidate objects includes at least two candidate objects, and the virtual object occludes the at least two candidate objects on an imaging plane of the camera model;

[0201] Calculating one by one the overlapping areas between each candidate object in the second group of candidate objects and the projection of the virtual object on the imaging plane, to obtain at least two overlapping areas corresponding to the at least two candidate objects;

[0202] Determining an overlapping object corresponding to a maximum overlapping area among the at least two overlapping areas;

[0203] The second appearance material is determined according to the appearance material of the overlapping object.

[0204] In some embodiments, the processing module 1203 is configured to, after replacing the first appearance material of the virtual object with the second appearance material, control the virtual object to continue moving in the virtual environment; and re-determine the appearance material that needs to be replaced for the virtual object based on the position of the virtual object after movement, to obtain a third appearance material;

[0205] Replace the dummy object's secondary appearance material with the tertiary appearance material.

[0206] In some embodiments, the processing module 1203 is configured to play an effect animation of the virtual object's appearance material change before replacing the first appearance material of the virtual object with the second appearance material.

[0207] In some embodiments, the processing module 1203 is used to replace the first appearance material of the virtual object with the second appearance material, and then, in response to the duration reaching a duration threshold, replace the second appearance material of the virtual object with the first appearance material. The duration refers to the duration of time that the virtual object wears the second appearance material starting from the moment when the virtual object replaces the second appearance material.

[0208] In some embodiments, the processing module 1203 is configured to, after replacing the first appearance material of the virtual object with the second appearance material, replace the second appearance material of the virtual object with the first appearance material in response to the virtual object being hit by the enemy virtual object.

[0209] In some embodiments, the processing module 1203 is configured to, after replacing the first appearance material of the virtual object with the second appearance material, replace the second appearance material of the virtual object with the first appearance material in response to controlling the virtual object to perform the first type of action;

[0210] Alternatively, the processing module 1203 is configured to, after replacing the first appearance material of the virtual object with a second appearance material, enhance the release effect of the second type of action in response to controlling the virtual object to perform a second type of action, where the second type of action is different from the first type of action.

[0211] In some embodiments, the virtual object is equipped with a virtual prop;

[0212] The processing module 1203 is configured to replace the fourth appearance material of the virtual prop with the first appearance material.

[0213] In some embodiments, the processing module 1203 is configured to execute a step of replacing a first appearance material of the virtual object with a second appearance material in response to a skill release operation when the state of the virtual object satisfies a skill release condition.

[0214] In some embodiments, the processing module 1203 is used to not respond to a skill release operation when the state of the virtual object meets the condition that the skill cannot be released; wherein the condition that the skill cannot be released includes at least one of the following: the virtual object is knocked down, the virtual object is climbing, the virtual object is rescuing or being rescued, and the virtual object is driving or riding a virtual vehicle.

[0215] FIG15 shows a block diagram of a computer device 1900 according to an exemplary embodiment of the present application. Computer device 1900 may be a portable mobile terminal, such as a smartphone, tablet computer, or MP3 (Moving Picture Experts Group Audio Layer III) or MP4 (Moving Picture Experts Group Audio Layer IV) player. Computer device 1900 may also be referred to as a user device, portable terminal, or other similar terminology.

[0216] Typically, computer device 1900 includes a processor 1901 and memory 1902. Processor 1901 may include one or more processing cores, such as a quad-core processor or an octa-core processor. Processor 1901 may be implemented in at least one of the following hardware forms: a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), or a PLA (Programmable Logic Array). Processor 1901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, processor 1901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed on the display screen. In some embodiments, processor 1901 may also include an AI (Artificial Intelligence) processor for handling computational operations related to machine learning.

[0217] Memory 1902 may include one or more computer-readable storage media, which may be tangible and non-transitory. Memory 1902 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in memory 1902 is used to store at least one instruction, which is executed by processor 1901 to implement the virtual object appearance control method provided in this application.

[0218] In some embodiments, the computer device 1900 may further optionally include a peripheral device interface 1903 and at least one peripheral device. Specifically, the peripheral device includes at least one of a radio frequency circuit 1904 , a touch screen display 1905 , a camera 1906 , an audio circuit 1907 , and a power supply 1909 .

[0219] The peripheral device interface 1903 can be used to connect at least one I / O (Input / Output)-related peripheral device to the processor 1901 and the memory 1902. In some embodiments, the processor 1901, the memory 1902, and the peripheral device interface 1903 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1901, the memory 1902, and the peripheral device interface 1903 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0220] The radio frequency circuit 1904 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1904 communicates with communication networks and other communication devices via electromagnetic signals. The touch screen display 1905 is used to display a user interface (UI). This UI may include graphics, text, icons, videos, or any combination thereof. The camera assembly 1906 is used to capture images or videos. Optionally, the camera assembly 1906 includes a front-facing camera and a rear-facing camera. The audio circuit 1907 is used to provide an audio interface between the user and the computer device 1900. The audio circuit 1907 may include a microphone and a speaker. The microphone is used to capture sound waves from the user and the environment and convert them into electrical signals that are input to the processor 1901 for processing, or to the radio frequency circuit 1904 for voice communication. The power supply 1909 is used to power the various components of the computer device 1900. The power supply 1909 may be AC, DC, a disposable battery, or a rechargeable battery. When the power source 1909 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery.

[0221] In some embodiments, the computer device 1900 also includes one or more sensors 1910. These sensors 1910 include, but are not limited to, an accelerometer 1911, a gyroscope 1912, a pressure sensor 1913, an optical sensor 1915, and a proximity sensor 1916. The accelerometer 1911 can detect the magnitude of acceleration along the three axes of the coordinate system established by the computer device 1900. The gyroscope 1912 can detect the orientation and rotation angle of the computer device 1900. The gyroscope 1912 can work in conjunction with the accelerometer 1911 to capture the user's 3D movements on the computer device 1900. The pressure sensor 1913 can be located on the side frame of the computer device 1900 and / or below the touchscreen display 1905. It detects signals indicating the user is gripping the computer device 1900 and / or controls operational controls on the user interface based on pressure applied to the touchscreen display 1905. The optical sensor 1915 is used to capture ambient light intensity. The proximity sensor 1916 , also known as a distance sensor, is typically provided on the front of the computer device 1900 . The proximity sensor 1916 is used to collect the distance between the user and the front of the computer device 1900 .

[0222] Those skilled in the art will appreciate that the structure shown in FIG. 15 does not limit the computer device 1900 , and may include more or fewer components than shown, or combine certain components, or adopt a different component arrangement.

[0223] The present application also provides a computer device, which includes: a processor and a memory, wherein the storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the virtual object appearance control method provided by the above-mentioned method embodiments.

[0224] The present application also provides a computer-readable storage medium, which stores at least one program. The at least one program is loaded and executed by a processor to implement the virtual object appearance control method provided by the above-mentioned method embodiments.

[0225] The present application also provides a computer program product. When the computer program product is run on a computer, the computer is enabled to execute the virtual object appearance control method provided by the above-mentioned method embodiments.

Claims

1. A method for controlling the appearance of a virtual object, the method being executed by a terminal, the method comprising: displaying a virtual object in a virtual environment, wherein the virtual object has a disguise skill; Receiving a skill release operation for triggering the release of the camouflage skill; In response to the skill release operation, the first appearance material of the virtual object is replaced with a second appearance material, where the second appearance material is determined based on the virtual environment where the virtual object is located.

2. The method according to claim 1, wherein: In response to the skill release operation, replacing the first appearance material of the virtual object with the second appearance material includes: Determining a position of the virtual object in the virtual environment according to the skill release operation; determining the second appearance material according to the appearance material at the position of the virtual object in the virtual environment; The first appearance material of the virtual object is replaced with the second appearance material.

3. The method according to claim 2, wherein: The determining the second appearance material according to the appearance material at the position of the virtual object in the virtual environment includes: Determining, in the virtual environment, a contact object that is in contact with a body part of the virtual object based on the position of the virtual object; The second appearance material is determined according to the appearance material of the contact object.

4. The method according to claim 3, wherein: The step of determining, in the virtual environment, a contact object that contacts a body part of the virtual object based on the position of the virtual object comprises: Based on the position of the virtual object, determining a first group of candidate objects, at least two body parts of the virtual object being in one-to-one contact with at least two candidate objects in the first group of candidate objects; Calculating contact areas between each candidate object in the first group of candidate objects and the body part corresponding to the virtual object one by one, to obtain at least two contact areas corresponding to the at least two candidate objects; The contact object corresponding to the largest contact area among the at least two contact areas is determined.

5. The method according to claim 2, wherein: The determining the second appearance material according to the appearance material at the position of the virtual object in the virtual environment includes: Based on the position of the virtual object, determining a viewing frustum of a camera model, wherein the camera model is used to follow and observe the virtual object, and the viewing frustum of the camera model contains the virtual object; Determine a first group of candidate objects in a viewing frustum of the camera model, wherein the first group of candidate objects includes at least two candidate objects, and the at least two candidate objects are in contact with a body part of the virtual object; Calculating one by one the overlapping areas between each object in the first group of candidate objects and the projection of the virtual object on the imaging plane of the camera model, to obtain at least two overlapping areas corresponding to the at least two candidate objects in a one-to-one manner; Determining a contact object corresponding to a maximum overlapping area among the at least two overlapping areas; The second appearance material is determined according to the appearance material of the contact object.

6. The method according to claim 1, wherein: In response to the skill release operation, replacing the first appearance material of the virtual object with the second appearance material includes: In response to the skill release operation, determining a position of the virtual object in an observation screen, the observation screen being a screen in which an observation object in the virtual environment observes the virtual environment; Determining the second appearance material according to the appearance material of the surrounding position of the virtual object in the observation picture; The first appearance material of the virtual object is replaced with the second appearance material.

7. The method according to claim 6, wherein: The determining the second appearance material according to the appearance material of the surrounding position of the virtual object in the observation picture includes: Based on the position of the virtual object in the observation picture, the overlapping object in the observation picture is determined. The simulated object blocks the overlapping object in the observation picture; The second appearance material is determined according to the appearance material of the overlapping object.

8. The method according to claim 6, wherein: The determining the second appearance material according to the appearance material of the surrounding position of the virtual object in the observation picture includes: Based on the position of the observed object, determining a viewing frustum of a camera model, wherein the camera model is used to follow and observe the observed object, and the viewing frustum of the camera model contains the virtual object; Determine a second group of candidate objects in the viewing frustum of the camera model, the second group of candidate objects includes at least two candidate objects, and the virtual object occludes the at least two candidate objects on the imaging plane of the camera model; Calculating the overlap area between each candidate object in the second group of candidate objects and the projection of the virtual object on the imaging plane one by one, to obtain at least two overlap areas corresponding to the at least two candidate objects in a one-to-one manner; Determining the overlapping object corresponding to the largest overlapping area among the at least two overlapping areas; The second appearance material is determined according to the appearance material of the overlapping object.

9. The method according to any one of claims 1 to 8, wherein: After replacing the first appearance material of the virtual object with the second appearance material, the method further includes: Controlling the virtual object to continue moving in the virtual environment; Re-determining the appearance material of the virtual object that needs to be replaced according to the position of the virtual object after the movement, to obtain a third appearance material; The second appearance material of the virtual object is replaced with the third appearance material.

10. The method according to any one of claims 1 to 8, wherein: Before replacing the first appearance material of the virtual object with the second appearance material, the method further includes: Play the effect animation of the appearance material change of the virtual object.

11. The method according to any one of claims 1 to 8, wherein: After replacing the first appearance material of the virtual object with the second appearance material, the method further includes: In response to the duration reaching a duration threshold, the second appearance material of the virtual object is replaced with the first appearance material, and the duration refers to the duration of the virtual object wearing the second appearance material starting from the moment when the virtual object is replaced with the second appearance material.

12. The method according to any one of claims 1 to 8, wherein: After replacing the first appearance material of the virtual object with the second appearance material, the method further includes: In response to the virtual object being hit by an enemy virtual object, the second appearance material of the virtual object is replaced with the first appearance material.

13. The method according to any one of claims 1 to 8, wherein: After replacing the first appearance material of the virtual object with the second appearance material, the method further includes: In response to controlling the virtual object to perform a first type of action, replacing the second appearance material of the virtual object with the first appearance material; Alternatively, in response to controlling the virtual object to perform a second type of action, a release effect of the second type of action is enhanced, and the second type of action and the first type of action are actions of different categories.

14. The method according to any one of claims 1 to 8, wherein: The virtual object is equipped with virtual props; The method further comprises: The fourth appearance material of the virtual prop is replaced with the first appearance material.

15. The method according to any one of claims 1 to 8, wherein: The step of replacing the first appearance material of the virtual object with the second appearance material in response to the skill release operation further includes: When the state of the virtual object satisfies a skill release condition, the step of replacing the first appearance material of the virtual object with a second appearance material in response to the skill release operation is performed.

16. The method according to any one of claims 1 to 8, wherein: The method further comprises: When the state of the virtual object satisfies the condition that the skill cannot be released, not responding to the skill release operation; The condition for being unable to release a skill includes at least one of the following: the virtual object is knocked down, the virtual object is climbing, the virtual object is rescuing or being rescued, and the virtual object is driving or riding a virtual vehicle.

17. A device for controlling the appearance of a virtual object, the device comprising: A display module, used for displaying a virtual object in a virtual environment, wherein the virtual object has a camouflage skill; A receiving module, used for receiving a skill release operation for triggering the release of the camouflage skill; A processing module is used to replace the first appearance material of the virtual object with a second appearance material in response to the skill release operation, where the second appearance material is determined based on the virtual environment where the virtual object is located.

18. A computer device, comprising a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the virtual object appearance control method according to any one of claims 1 to 16.

19. A computer-readable storage medium, wherein at least one program is stored in the computer-readable storage medium, and the at least one program is loaded and executed by a processor to implement the appearance control method of a virtual object according to any one of claims 1 to 16.

20. A computer program product, comprising computer instructions, wherein the computer instructions are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and when the processor executes the computer instructions, the method for controlling the appearance of a virtual object as described in any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Invisible robot

    CN106142098A

  • Device capable of realizing dynamic mimic camouflage and stealth

    CN110285712A

  • Virtual object display method and device, computer equipment and storage medium

    CN111659117A

  • Object form switching method and device, storage medium and electronic device

    CN112473139A

  • Virtual object control method and device, terminal, storage medium and program product

    CN114130010A