CN112370786A - Method and device for drawing makeup in game and electronic equipment - Google Patents

Method and device for drawing makeup in game and electronic equipment Download PDF

Info

Publication number
CN112370786A
CN112370786A CN202011275447.1A CN202011275447A CN112370786A CN 112370786 A CN112370786 A CN 112370786A CN 202011275447 A CN202011275447 A CN 202011275447A CN 112370786 A CN112370786 A CN 112370786A
Authority
CN
China
Prior art keywords
tool
target
map
makeup
color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011275447.1A
Other languages
Chinese (zh)
Inventor
高骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202011275447.1A priority Critical patent/CN112370786A/en
Publication of CN112370786A publication Critical patent/CN112370786A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress
    • A63F13/56Computing the motion of game characters with respect to other game characters, game objects or elements of the game scene, e.g. for simulating the behaviour of a group of virtual soldiers or for path finding
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/66Methods for processing data by generating or executing the game program for rendering three dimensional images

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a method, a device and electronic equipment for drawing makeup in games, wherein the method comprises the following steps: responding to makeup drawing triggering operation aiming at the virtual character, determining a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup; the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; determining a target drawing area in response to movement of a drawing tool on the virtual character; and updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup. The invention performs makeup drawing on the virtual character of the three-dimensional character model through the drawing tool, and the drawing tool can freely move on the virtual character according to the requirement of a player, thereby improving the degree of freedom of the player in custom drawing of the virtual character and also improving the drawing precision.

Description

Method and device for drawing makeup in game and electronic equipment
Technical Field
The invention relates to the technical field of game interaction, in particular to a makeup drawing method and device in a game and electronic equipment.
Background
In the related art, a method for drawing a makeup of a character in a game generally requires a player to select a chartlet corresponding to a region to be drawn in the chartlet of a virtual character according to needs, and then dynamically draw content on a model of a skeletal skin animation (skinned mesh) according to the content pre-stored in the chartlet, but the method has low drawing precision on the makeup of the character, and the player has poor freedom in custom drawing of the virtual character.
Disclosure of Invention
The invention aims to provide a method, a device and electronic equipment for drawing makeup in a game, which are used for improving drawing precision and the freedom degree of a player for performing custom drawing on a virtual character.
In a first aspect, an embodiment of the present invention provides a method for drawing makeup in a game, in which a terminal device provides a graphical user interface, the graphical user interface at least includes a virtual character, and the virtual character includes a three-dimensional character model and a map covering the surface of the three-dimensional character model; the method comprises the following steps: responding to makeup drawing triggering operation aiming at the virtual character, determining a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup; determining a target drawing area in response to movement of a drawing tool on the virtual character; and updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
In an alternative embodiment, the step of determining the target rendering area in response to the movement of the rendering tool on the virtual character includes: responding to touch starting operation acting on the drawing tool, and recording the current position of the drawing tool on the virtual character; responding to the movement operation acted on the drawing tool, controlling the drawing tool to move from the current position, and recording the position of the drawing tool on the virtual character in the moving process; and in response to the touch ending operation acting on the drawing tool, stopping the movement of the drawing tool, and determining the position where the drawing tool passes from the current position as a target drawing area.
In an optional embodiment, the step of recording the position of the drawing tool on the virtual character during the moving includes: and recording the position of the drawing tool on the virtual character through a preset virtual camera in the moving process of the drawing tool.
In an optional embodiment, the step of updating the map of the target drawing area according to the tool parameter of the drawing tool to obtain the drawing result of the makeup includes: sending the tool parameters of the target drawing area and the drawing tool to a GPU; coloring the mapping of the target drawing area by the GPU based on the tool parameters of the drawing tool to obtain a colored mapping of the target drawing area; and determining the overlapping area of the map of the target makeup and the coloring map, and updating the overlapping area in the map of the target makeup into the overlapping area of the coloring map to obtain the drawing result of the target makeup.
In an optional embodiment, the tool parameter of the drawing tool includes a type of the drawing tool; the rendering map of the target rendering area is obtained by the GPU in the following manner: determining a mapping of the drawing tool based on the category of the drawing tool; mixing the mapping of the drawing tool with preset blue noise to obtain the coloring intensity of the drawing tool; and coloring the mapping of the target drawing area based on the coloring intensity.
In an optional embodiment, after the step of mixing the map of the drawing tool with the preset blue noise to obtain the coloring intensity of the drawing tool, the method further includes: and performing Gaussian blur treatment on the coloring intensity to obtain the final coloring intensity.
In an alternative embodiment, the step of coloring the map of the target rendering area based on the coloring intensity includes: determining a color drawing range of the drawing tool according to the coloring intensity, the color of the chartlet of the target drawing area before drawing, the image mask corresponding to the target makeup and the preset color of the final chartlet; and coloring the mapping of the target drawing area according to the coloring intensity and the color drawing range of the drawing tool.
In an alternative embodiment, the step of determining the color drawing range of the drawing tool according to the coloring intensity, the color of the map of the target drawing area before drawing, the image mask corresponding to the target makeup, and the preset color of the final map includes: determining the color of the chartlet of the target drawing area before drawing as the minimum value of the color drawing range of the drawing tool; subtracting the color of the mapping of the target drawing area before drawing from the color of the final mapping to obtain a color difference value; and determining the product of the color difference value and the image mask and the coloring intensity as well as the sum of the colors of the maps of the target drawing areas before drawing as the maximum value of the color drawing range of the drawing tool.
In an alternative embodiment, the color of the map of the target rendering area before rendering is obtained by: responding to a touch starting instruction of a drawing tool, and recording a current map of the virtual character; and determining the current color of the map of the target drawing area from the current map, and determining the current color as the color of the map of the target drawing area before drawing.
In an alternative embodiment, the tool parameter of the drawing tool includes a color of the drawing tool; the color of the final map is determined by: determining the color of the drawing tool as the color of the final map; or determining a final map from a plurality of preset maps according to the tool parameters to determine the color of the final map; wherein each preset map corresponds to a tool parameter.
In an alternative embodiment, after the step of determining the overlapping area between the map of the target makeup and the color map, and updating the overlapping area in the map of the target makeup to the overlapping area in the color map to obtain the drawing result of the target makeup, the method further includes: amplifying the overlapped area in the drawing result; and performing Gaussian blur processing on the color of the amplified overlapping area to obtain a final drawing result.
In an optional embodiment, before the step of updating the map of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup, the method further includes: setting the resolution of a target makeup picture in the pictures of the virtual character to a preset first resolution; setting the resolution of the maps of the virtual character, except the map of the target makeup, as a preset second resolution; wherein the first resolution is higher than the second resolution.
In a second aspect, an embodiment of the present invention provides a makeup drawing device in a game, which provides a graphical user interface through a terminal device, where the graphical user interface includes at least one virtual character, and the virtual character includes a three-dimensional character model and a map covering the surface of the three-dimensional character model; the device includes: the drawing triggering module is used for responding to the makeup drawing triggering operation aiming at the virtual character, determining a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup; a drawing region determination module for determining a target drawing region in response to movement of a drawing tool on the virtual character; and the map updating module is used for updating the map of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the method for drawing makeup in a game according to any one of the foregoing embodiments.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium having stored thereon computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement a method of in-game makeup drawing as described in any of the preceding embodiments.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method, a device and electronic equipment for drawing makeup in games, which are characterized in that firstly, a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup are determined in response to a makeup drawing trigger operation aiming at a virtual character, wherein the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; further responding to the movement of the drawing tool on the virtual character, and determining a target drawing area; and then updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup. In the method, the virtual character of the three-dimensional character model is drawn by the drawing tool, and the drawing tool can freely move on the virtual character according to the requirement of a player, so that the freedom degree of the player for custom drawing of the virtual character is improved, and the drawing precision can also be improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention as set forth above.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a makeup drawing method in a game according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for creating makeup in a game according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for creating makeup in a game according to an embodiment of the present invention;
fig. 4 is a schematic structural view of a makeup drawing device in a game according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, three methods for drawing the makeup of the character exist, the first method is to adopt Skinned dacal as a bottom layer technology, and dynamically draw contents on a model of the bone skin animation through contents stored in a chartlet, namely, adding the chartlet to the model of the bone skin animation, but the method does not achieve the effect of mixing multiple layers of graphs and has low drawing precision. The second is a common makeup drawing mode in online games, which synthesizes a map or directly switches maps during operation, but the degree of freedom for a player to perform custom drawing on a virtual character is poor. The third is to use the function of a cosmetic pen of the figure correcting software to draw, but the function can only correct the makeup in a two-dimensional space, and cannot be directly applied to a three-dimensional model in a game, so that the function is difficult to be applied to a three-dimensional virtual character in the game.
Based on the above problems, embodiments of the present invention provide a method, an apparatus, and an electronic device for drawing makeup in games, which can be applied to scenes for drawing makeup of characters in games, especially scenes for drawing makeup of characters in hand games.
In order to facilitate understanding of the embodiment of the present invention, a method for drawing makeup in a game disclosed in the embodiment of the present invention is first described in detail, and the method is applied to a terminal device, which may be a mobile terminal (e.g., a mobile phone, a tablet computer, a notebook computer, etc.) or a computer; providing a graphical user interface through terminal equipment, wherein the graphical user interface at least comprises a virtual character, and the virtual character comprises a three-dimensional character model and a map covered on the surface of the three-dimensional character model; as shown in fig. 1, the method comprises the steps of:
and step S102, responding to the makeup drawing triggering operation aiming at the virtual character, and determining the target makeup to be drawn and the tool parameters of the drawing tool required for drawing the target makeup.
In the game, the virtual character is a three-dimensional character model, the surface of the three-dimensional character model is covered with maps, and each map is corresponding to a corresponding color. The target makeup comprises eye makeup, eyebrows, eye shadows, blush, a beauty pupil, lipstick and the like, wherein each target makeup is provided with a corresponding button in a graphical user interface, and a player can trigger the button corresponding to the target makeup to be drawn so as to draw the target makeup to be drawn.
The tool parameters of the drawing tool required for drawing the target makeup comprise one or more of color, size, shape and hardness of the target tool; the drawing tool may be displayed in a graphical user interface as a virtual brush or a virtual pointer, etc. In a specific implementation, when a player triggers a button of a target makeup to be drawn in a graphical user interface, a plurality of selection buttons of tool parameters of a tool for drawing the target makeup corresponding to the button can be displayed in the graphical user interface, the drawing color corresponding to each selection button is different, and the player can trigger the selection button corresponding to the color to be drawn according to requirements to complete setting of the tool parameters of the tool for drawing, namely, the tool parameters are set to the color corresponding to the triggered button.
In step S104, a target drawing area is determined in response to movement of the drawing tool on the virtual character.
The player can select the drawing tool and drag the drawing tool to move on the virtual character, at this time, a preset script at a Central Processing Unit (CPU) in the electronic device records an input operation of the player and converts the input operation of the player into a drawing instruction, so that the drawing tool is controlled to move on the virtual character through the drawing instruction, the position of the drawing tool in the map of the virtual character is recorded in the moving process, and the target drawing area is generated according to the position where the drawing tool passes.
And step S106, updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
In specific implementation, the map of the target drawing area can be updated according to the tool parameters of the drawing tool, and the updated map of the target drawing area is used for adjusting the map of the target makeup to obtain the drawing result of the target makeup. For example, when the tool parameter of the drawing tool is the designated color, the color of the map of the target drawing area is updated to the designated color, and the overlapping area of the map of the target makeup look and the map of the target drawing area is replaced by the overlapping area of the map of the target makeup look and the target makeup look in the target drawing area after the color update, so that the map of the target makeup look after the color update, that is, the drawing result of the target makeup look is obtained.
After the drawing result of the target makeup is obtained, the drawing result is displayed in a chartlet area of the target makeup in the graphical user interface so as to be convenient for a player to watch, whether the drawing result is the effect wanted by the player or not is confirmed, and if the drawing result is not the effect wanted by the player, the target makeup can be drawn continuously through the drawing tool.
The dressing drawing method in the game provided by the embodiment of the invention comprises the steps of firstly responding to a dressing drawing trigger operation aiming at a virtual character, determining a target dressing to be drawn and drawing tool parameters of a drawing tool required by the target dressing, wherein the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; further responding to the movement of the drawing tool on the virtual character, and determining a target drawing area; and then updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup. In the method, the virtual character of the three-dimensional character model is drawn by the drawing tool, and the drawing tool can freely move on the virtual character according to the requirement of a player, so that the freedom degree of the player for custom drawing of the virtual character is improved, and the drawing precision can also be improved.
The embodiment of the invention also provides another makeup drawing method in a game, which is realized on the basis of the embodiment, and the method mainly describes a specific process of determining a target drawing area in response to the movement of a drawing tool on a virtual character (specifically realized by the following steps S204-S208); as shown in fig. 2, the method comprises the steps of:
step S202, responding to the makeup drawing triggering operation aiming at the virtual character, determining the target makeup needing to be drawn and the tool parameters of the drawing tool needed for drawing the target makeup.
And step S204, responding to the touch starting operation acted on the drawing tool, and recording the current position of the drawing tool on the virtual character.
The touch start operation of the drawing tool may be an operation in which the player starts to trigger the drawing tool, and the touch start operation of the drawing tool may also be understood as an operation in which the drawing tool is dropped. In a specific implementation, when a player is at a PC (Personal Computer), the touch start operation of the drawing tool may be an operation in which the player clicks the drawing tool in a graphical user interface through a mouse; when a player is at a mobile terminal (e.g., a mobile phone, a tablet computer, etc.) with a touch function, the touch start operation of the drawing tool may be an operation in which the player presses the drawing tool displayed on the screen with a finger or a stylus.
When a trigger starting operation acting on the drawing tool is received, the current position of the drawing tool in the virtual role needs to be recorded immediately so as to conveniently record the passing position of the drawing tool on the virtual role and determine a target drawing area.
And step S206, responding to the movement operation acted on the drawing tool, controlling the drawing tool to move from the current position, and recording the position of the drawing tool on the virtual character in the moving process.
The above-described moving operation on the drawing tool may be an operation in which the player draws on the virtual character, and the moving operation of the drawing tool may also be understood as an operation in which the drawing tool is in a state of being drawn. In a specific implementation, when a player is at the PC, the moving operation of the drawing tool may be an operation in which the player drags the drawing tool to move on a virtual character after clicking the drawing tool in the graphical user interface through a mouse; when the player is at the moving end having the touch function, the moving operation of the drawing tool may be an operation in which the player presses the drawing tool with a mobile phone or by touch longer than the moving end and drags the drawing tool to move on the virtual character.
According to the moving operation, the position of the drawing tool on the virtual character can be adjusted, that is, the drawing tool is controlled to move from the current position, and each time the drawing tool moves one position, the position of one drawing tool on the virtual character is recorded, so that each position passed by the drawing tool in the drawing is obtained.
In a specific implementation, the step of recording the position of the drawing tool on the virtual character during the moving process includes: and recording the position of the drawing tool on the virtual character through a preset virtual camera in the moving process of the drawing tool. The virtual camera is set in the electronic device in advance, when the drawing tool starts to move or after the drawing tool moves for a certain distance, the virtual camera is called through a preset script, and each position which the drawing tool passes through in the moving process is recorded (or shot) through the virtual camera, so that each position is colored subsequently.
The certain distance of the movement of the drawing tool is set by research personnel in advance, and the certain distance can be set to be a smaller numerical value, such as a few pixel points or a few tenths of millimeters. After the drawing tool moves for a certain distance, the position of the drawing tool on the virtual character is recorded, and some invalid operations can be filtered out, for example, a player clicks the drawing tool carelessly and triggers the movement operation, but the movement distance is short, so that the drawing tool is regarded as invalid operation, and the position is not recorded, so that some unnecessary memories can be saved.
In step S208, in response to the touch end operation applied to the drawing tool, the movement of the drawing tool is stopped, and the position where the drawing tool passes from the current position is determined as the target drawing area.
The touch end operation of the drawing tool may be an operation in which the player ends the touch of the drawing tool, and the touch end operation of the drawing tool may also be understood as an operation in which the drawing tool is lifted. In a specific implementation, when the player is at the PC, the touch termination operation of the drawing tool may be an operation in which the player stops clicking the drawing tool in the graphical user interface through a mouse; when the player is at the moving end having the touch function, the touch termination operation of the drawing tool may be an operation in which the player lifts and presses a finger or a stylus pen in the drawing tool.
When receiving a trigger end operation acting on the drawing tool, ending the movement of the drawing tool in the virtual character, and obtaining a target drawing area, wherein the target drawing area comprises a position through which the drawing tool passes from the current position to the end of the movement.
And step S210, updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
Before the step S210, the resolution of the target makeup picture in the virtual character map may be set to a preset first resolution; setting the resolution of the maps of the virtual character, except the map of the target makeup, as a preset second resolution; wherein the first resolution is higher than the second resolution.
In a specific implementation, the resolution of the target makeup map in the virtual character map is set to a first higher resolution, and the resolution of the maps except the target makeup map in the virtual character map is set to a second lower resolution, so that the virtual character map can achieve high local precision by using a smaller map, for example, the resolution of the global map of the virtual character is 1024, and in order to achieve high detail, 128 × 128 or 256 × 256 maps can be separately assigned to the target makeup map (eyebrow, lip, etc.), and another set of texture coordinates is used for separate mapping, so that the local map (the target makeup map) achieves an effect which can be achieved only when the resolution of the global map is close to 4096.
The detail map may also be referred to as a detail map or a second level map, i.e. to allow overlaying of a second set of textures on top of the original map. In particular implementations, the resolution of the target makeup tile is set to a first resolution, which is equivalent to overlaying a second texture on the virtual character's tile, such that the target makeup tile has clear details when viewed at close range and normal levels of detail when viewed at distance, without the need to use a very tall virtual character's global tile to accomplish both goals. Therefore, different areas are set to different resolutions, and high mapping precision can be achieved under the condition that less memory is used.
The makeup drawing method in the game comprises the steps of firstly responding to makeup drawing triggering operation aiming at a virtual character, determining a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup; further responding to touch starting operation acted on the drawing tool, and recording the current position of the drawing tool on the virtual character; then responding to the moving operation acted on the drawing tool, controlling the drawing tool to move from the current position, and recording the position of the drawing tool on the virtual role in the moving process; responding to touch control ending operation acting on the drawing tool, stopping the movement of the drawing tool, and determining the position where the drawing tool passes from the current position as a target drawing area; and then updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup. According to the method, the drawing tool can be controlled to freely move on the virtual character according to the requirements of the player, and the player can freely draw the target makeup, so that highly personalized custom drawing can be realized, the makeup experience in reality can be more approximate, and the game immersion and game experience of the player are increased.
The embodiment of the invention also provides another makeup drawing method in a game, which is realized on the basis of the embodiment, and the method mainly describes a specific process of updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup (specifically realized by the following steps S306-S310); as shown in fig. 3, the method comprises the steps of:
step S302, responding to the makeup drawing triggering operation aiming at the virtual character, determining the target makeup needing to be drawn and the tool parameters of the drawing tool needed for drawing the target makeup.
In step S304, a target drawing area is determined in response to movement of the drawing tool on the virtual character.
Step S306, sending the target rendering region and the tool parameters of the rendering tool to the GPU.
The GPU (graphics Processing Unit) may also be called a display core, a visual processor, and a display chip, and is generally a microprocessor specially used for performing operations related to images and graphics on a terminal device.
And step S308, coloring the map of the target drawing area through the GPU based on the tool parameters of the drawing tool to obtain the colored map of the target drawing area.
After receiving the target rendering area and the tool parameters of the rendering tool, the GPU renders the target rendering area in a rendering Texture (Render Texture, abbreviated as RT) according to the tool parameters of the rendering tool, that is, performs shading processing on the target rendering area by using a shader (shader) in the Render Texture to obtain a shading map of the target rendering area, where the Render Texture is usually a special type Texture created and updated during runtime, and can Render a three-dimensional model in a game.
The GPU can be used for improving the image processing speed of the CPU, coloring a target drawing area in the GPU and rendering a drawing tool, so that the drawing speed can be improved; and when the number of the surfaces of the three-dimensional character model of the virtual character is large, the CPU running in the mobile terminal such as a mobile phone and the like is difficult to support a large amount of calculation, so that the performance overhead of the CPU can be reduced by using the GPU, the mobile terminal can be ensured to run in real time, and the drawing efficiency is improved. In a specific implementation, the three-dimensional character model is generally composed of one small triangle, and each small triangle is used for running one surface in the party feather three-dimensional character model, so that the number of the surfaces of the three-dimensional character model is large, and the number of the small triangles is also large.
In a specific implementation, the tool parameters of the drawing tool include the type of the drawing tool; the rendering map of the target rendering area is obtained by the GPU through the following steps 10-12:
and step 10, determining a map of the drawing tool based on the type of the drawing tool.
The drawing tool may be one or more of a color, a size, a hardness, and a shape, and is set according to development requirements, and is not particularly limited herein. Specifically, different mapping of the drawing tool can be obtained according to different combinations of colors, sizes, hardness and shapes and different setting contents corresponding to various types in each combination. For example, the color of the drawing tool is red, the size of the drawing tool is 10 × 10, and the shape of the drawing tool is circular, and a map with the color of red, the size of 10 × 10, and the shape of circle can be automatically obtained according to the settings, and the map is the map of the drawing tool.
And 11, mixing the mapping of the drawing tool with preset blue noise to obtain the coloring intensity of the drawing tool.
The above blue noise is generally referred to as uniformly distributed random unbiased noise. And mixing a blue noise with the mapping of the drawing tool to obtain the coloring intensity of the drawing tool, and avoiding the phenomenon of generating a hard edge when the coloring intensity is used for drawing the target drawing area. Meanwhile, the blue noise can reduce color bands (color banding) in the map and can also make the edge of the map softer.
And step 12, coloring the map of the target drawing area based on the coloring intensity.
In some embodiments, in order to achieve the effect of image softening, after the map of the drawing tool is mixed with the preset blue noise to obtain the coloring intensity of the drawing tool, the coloring intensity of the drawing tool needs to be subjected to gaussian blurring to obtain a final coloring intensity, and then the map of the target drawing area is colored by the final coloring intensity. The gaussian blur processing may be implemented by a shader.
The above gaussian blurring process, which may also be referred to as a gaussian smoothing process, can reduce image noise and reduce the level of detail. The visual effect of the image generated by the blurring technique is like observing the image through a frosted glass, which is obviously different from the out-of-focus imaging effect of a lens and the effect in a common lighting shadow.
In a specific implementation, the step 12 can be implemented by the following steps 20 to 21:
and step 20, determining the color drawing range of the drawing tool according to the coloring intensity, the color of the chartlet of the target drawing area before drawing, the image mask corresponding to the target makeup and the preset color of the final chartlet.
The color of the map of the target rendering region before the rendering is obtained by: responding to a touch starting instruction of a drawing tool, and recording a current map of the virtual character; and determining the current color of the map of the target drawing area from the current map, and determining the current color as the color of the map of the target drawing area before drawing. It is also understood that when the player starts drawing, the map of the virtual character at the present time (corresponding to the above-described present map) is recorded, and then the map of the target drawing area, and the color thereof, are determined from the present map. Specifically, the color of the map of the target rendering region includes the color of each pixel point in the map of the target rendering region.
The tool parameters of the drawing tool at least comprise the color of the drawing tool; the color of the final map is determined by: determining the color of the drawing tool as the color of the final map; or determining a final map from a plurality of preset maps according to the tool parameters to determine the color of the final map; wherein each preset map corresponds to a tool parameter.
The tool parameters of the drawing tool can include hardness, size or shape and the like besides color, the drawing tools with different types of tool parameters correspond to different preset maps, and the corresponding relation between each preset map and the tool parameters is set in advance, so that the final map and the color of the final map can be determined from a plurality of preset maps according to the tool parameters. In some embodiments, the color of the drawing tool may also be determined directly as the color of the final map. The color of the final map includes the color of each pixel in the final map.
The image Mask corresponding to the target makeup is also the Mask of the drawable area corresponding to the target makeup to be drawn, the Mask is provided by the art and used for calibrating the drawable area, for example, when blush is drawn, the art provides a Mask for marking the drawable blush area, and under the condition that the mobile phone is not easy to operate and control, for example, a mobile phone platform screen is small and difficult to accurately operate and control, the Mask provided by the art can control and limit the drawn boundary, the maximum color depth and the like, so that the final drawing quality of a player is ensured.
And step 21, coloring the mapping of the target drawing area according to the coloring intensity and the color drawing range of the drawing tool.
In the process of drawing, the obtained drawing intensity and the obtained color drawing range of the drawing tool are used for coloring the chartlet of the target drawing area, so that the colored chartlet with better visual viewing effect can be obtained.
The color drawing range of the drawing tool is set, so that the phenomenon that the drawing tool draws too deep color at one stroke in the drawing process can be prevented, and the drawing effect can be improved. In a specific implementation, the step 20 can be implemented by the following steps 30 to 32:
and step 30, determining the color of the mapping of the target drawing area before drawing as the minimum value of the color drawing range of the drawing tool.
And step 31, subtracting the color of the map of the target drawing area before drawing from the color of the final map to obtain a color difference value.
And step 32, determining the product of the color difference value and the image mask and the coloring intensity as well as the sum of the colors of the mapping of the target drawing area before drawing as the maximum value of the color drawing range of the drawing tool.
Specifically, assuming that the color of the map of the target drawing area before drawing is O, the color of the final map is T, the image mask corresponding to the target makeup is M, and the coloring intensity of the drawing tool is I, the color drawing range of the drawing tool is [ O, O + M (T-O) × I ].
Step S310, determining the overlapping area of the map of the target makeup and the coloring map, and updating the overlapping area in the map of the target makeup into the overlapping area of the coloring map to obtain the drawing result of the target makeup.
After the overlapping area of the overlay of the target makeup and the coloring overlay is determined, the coloring parameters in the overlapping area of the coloring overlay can be interpolated into the overlapping area of the overlay of the target makeup to update the overlay of the target makeup to obtain the drawing result of the target makeup.
Step S312, performing an enlargement process on the overlapping area in the drawing result, and performing a gaussian blur process on the color of the enlarged overlapping area to obtain a final drawing result.
In order to achieve the softening effect and better viewing effect of the drawing result of the target makeup, after step S310, the preset script of the CPU sends an instruction, and the instruction performs an amplification process on the overlapping area in the drawing result, that is, the drawing area of the map of the current target makeup, and then performs a gaussian blur process on the color of the amplified area, and a final drawing result is obtained after the process is completed. The gaussian blur processing is also implemented by a shader.
The makeup drawing method in the game comprises the steps of firstly responding to makeup drawing triggering operation aiming at a virtual character, determining a target makeup to be drawn and tool parameters of a drawing tool required for drawing the target makeup; further responding to the movement of the drawing tool on the virtual character, and determining a target drawing area; then sending the tool parameters of the target drawing area and the drawing tool to the GPU, and coloring the chartlet of the target drawing area through the GPU based on the tool parameters of the drawing tool to obtain a colored chartlet of the target drawing area; then determining the overlapping area of the chartlet of the target makeup and the coloring chartlet, updating the overlapping area in the chartlet of the target makeup into the overlapping area of the coloring chartlet to obtain the drawing result of the target makeup, finally amplifying the overlapping area in the drawing result, and carrying out Gaussian blur treatment on the color of the amplified overlapping area to obtain the final drawing result. The mode can realize the GPU-based role makeup drawing on the mobile equipment, the freedom degree of a player for the self definition of roles is improved in the affordable performance overhead, meanwhile, the difficulty of the player in drawing the self-defined makeup is reduced through some auxiliary technologies under the condition that the mobile terminal is difficult to control, the unique makeup experience is brought to the player, and the game experience of the player is improved.
Corresponding to the method embodiment, the embodiment of the invention provides a makeup drawing device in a game, which provides a graphical user interface through terminal equipment, wherein the graphical user interface at least comprises a virtual character, and the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; as shown in fig. 4, the apparatus includes:
and the drawing triggering module 40 is used for responding to the makeup drawing triggering operation aiming at the virtual character, determining the target makeup to be drawn and the tool parameters of the drawing tool required for drawing the target makeup.
A drawing region determining module 41 for determining a target drawing region in response to movement of the drawing tool on the virtual character.
And the map updating module 42 is used for updating the map of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
The makeup drawing device in the game firstly responds to the makeup drawing triggering operation aiming at the virtual character, determines the target makeup to be drawn and the tool parameters of the drawing tool required for drawing the target makeup, wherein the virtual character comprises a three-dimensional character model and a chartlet covered on the surface of the three-dimensional character model; further responding to the movement of the drawing tool on the virtual character, and determining a target drawing area; and then updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup. In the method, the virtual character of the three-dimensional character model is drawn by the drawing tool, and the drawing tool can freely move on the virtual character according to the requirement of a player, so that the freedom degree of the player for custom drawing of the virtual character is improved, and the drawing precision can also be improved.
Further, the drawing area determining module 41 is configured to: responding to touch starting operation acting on the drawing tool, and recording the current position of the drawing tool on the virtual character; responding to the movement operation acted on the drawing tool, controlling the drawing tool to move from the current position, and recording the position of the drawing tool on the virtual character in the moving process; and in response to the touch ending operation acting on the drawing tool, stopping the movement of the drawing tool, and determining the position where the drawing tool passes from the current position as a target drawing area.
Specifically, the drawing area determining module 41 is further configured to: and recording the position of the drawing tool on the virtual character through a preset virtual camera in the moving process of the drawing tool.
Further, the map updating module 42 is configured to: sending the tool parameters of the target drawing area and the drawing tool to a GPU; coloring the mapping of the target drawing area by the GPU based on the tool parameters of the drawing tool to obtain a colored mapping of the target drawing area; and determining the overlapping area of the map of the target makeup and the coloring map, and updating the overlapping area in the map of the target makeup into the overlapping area of the coloring map to obtain the drawing result of the target makeup.
Specifically, the tool parameters of the drawing tool include the type of the drawing tool; the rendering map of the target rendering area is obtained by the GPU in the following manner: determining a mapping of the drawing tool based on the category of the drawing tool; mixing the mapping of the drawing tool with preset blue noise to obtain the coloring intensity of the drawing tool; and coloring the mapping of the target drawing area based on the coloring intensity.
In a specific implementation, the apparatus further includes a first blur processing module, configured to: and performing Gaussian blur treatment on the coloring intensity to obtain the final coloring intensity.
Further, the map updating module 42 includes: the color range determining unit is used for determining the color drawing range of the drawing tool according to the coloring intensity, the color of the chartlet of the target drawing area before drawing, the image mask corresponding to the target makeup and the preset color of the final chartlet; and the coloring unit is used for coloring the mapping of the target drawing area according to the coloring intensity and the color drawing range of the drawing tool.
Specifically, the color range determination unit is configured to: determining the color of the chartlet of the target drawing area before drawing as the minimum value of the color drawing range of the drawing tool; subtracting the color of the mapping of the target drawing area before drawing from the color of the final mapping to obtain a color difference value; and determining the product of the color difference value and the image mask and the coloring intensity as well as the sum of the colors of the maps of the target drawing areas before drawing as the maximum value of the color drawing range of the drawing tool.
In a specific implementation, the apparatus further includes a pre-drawing color determination module, configured to: responding to a touch starting instruction of a drawing tool, and recording a current map of the virtual character; and determining the current color of the map of the target drawing area from the current map, and determining the current color as the color of the map of the target drawing area before drawing.
In a specific implementation, the tool parameter of the drawing tool includes a color of the drawing tool; the apparatus further comprises a final map color determination module configured to: determining the color of the drawing tool as the color of the final map; or determining a final map from a plurality of preset maps according to the tool parameters to determine the color of the final map; wherein each preset map corresponds to a tool parameter.
Further, the apparatus further includes a second blurring processing module, configured to: amplifying the overlapped area in the drawing result; and performing Gaussian blur processing on the color of the amplified overlapping area to obtain a final drawing result.
Further, the apparatus further includes a resolution setting module, configured to: setting the resolution of a target makeup picture in the pictures of the virtual character to a preset first resolution; setting the resolution of the maps of the virtual character, except the map of the target makeup, as a preset second resolution; wherein the first resolution is higher than the second resolution.
The implementation principle and the generated technical effects of the makeup drawing device in the game provided by the embodiment of the invention are the same as those of the method embodiment, and for the sake of brief description, the corresponding contents in the method embodiment can be referred to where the embodiment of the device is not mentioned.
An embodiment of the present invention further provides an electronic device, as shown in fig. 5, where the electronic device includes a processor 101 and a memory 100, the memory 100 stores machine executable instructions capable of being executed by the processor 101, and the processor 101 executes the machine executable instructions to implement the method for drawing makeup in a game.
Further, the electronic device shown in fig. 5 further includes a bus 102 and a communication interface 103, and the processor 101, the communication interface 103, and the memory 100 are connected through the bus 102.
The memory 100 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The processor 101 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 101. The processor 101 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 100, and the processor 101 reads the information in the memory 100, and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to realize the makeup drawing method in the game.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (15)

1. A makeup drawing method in a game is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface at least comprises a virtual character, and the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; the method comprises the following steps:
responding to makeup drawing triggering operation aiming at the virtual character, determining a target makeup to be drawn and tool parameters of drawing tools required for drawing the target makeup;
determining a target drawing area in response to movement of the drawing tool on the virtual character;
and updating the chartlet of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
2. The method of claim 1, wherein the step of determining a target drawing area in response to movement of the drawing tool on the virtual character comprises:
responding to touch starting operation acting on the drawing tool, and recording the current position of the drawing tool on the virtual character;
controlling the drawing tool to move from the current position in response to the movement operation acting on the drawing tool, and recording the position of the drawing tool on the virtual character in the moving process;
and responding to touch ending operation acting on the drawing tool, stopping the movement of the drawing tool, and determining the position where the drawing tool passes from the current position as a target drawing area.
3. The method of claim 2, wherein the step of recording the position of the drawing tool on the virtual character during the moving comprises:
and recording the position of the drawing tool on the virtual role through a preset virtual camera in the moving process of the drawing tool.
4. The method as claimed in claim 1, wherein the step of updating the map of the target drawing area to obtain the drawing result of the target makeup based on the tool parameters of the drawing tool comprises:
sending the target drawing area and the tool parameters of the drawing tool to a GPU;
coloring the mapping of the target drawing area by the GPU based on the tool parameters of the drawing tool to obtain a colored mapping of the target drawing area;
and determining the overlapping area of the map of the target makeup and the coloring map, and updating the overlapping area in the map of the target makeup into the overlapping area of the coloring map to obtain the drawing result of the target makeup.
5. The method of claim 4, wherein the tool parameters of the drawing tool include a category of the drawing tool;
the rendering map of the target rendering area is obtained by the GPU in the following manner:
determining a mapping of the drawing tool based on the category of the drawing tool;
mixing the mapping of the drawing tool with preset blue noise to obtain the coloring intensity of the drawing tool;
coloring a map of the target rendering area based on the coloring intensity.
6. The method of claim 5, wherein after the step of blending the map of the drawing tool with a predetermined blue noise to obtain the coloring intensity of the drawing tool, the method further comprises:
and carrying out Gaussian blur treatment on the coloring strength to obtain the final coloring strength.
7. The method of claim 5, wherein the step of coloring the map of the target rendering area based on the coloring intensity comprises:
determining the color drawing range of the drawing tool according to the coloring intensity, the color of the chartlet of the target drawing area before drawing, the image mask corresponding to the target makeup and the preset color of the final chartlet;
and coloring the mapping of the target drawing area according to the coloring intensity of the drawing tool and the color drawing range.
8. The method as claimed in claim 7, wherein the step of determining a color drawing range of the drawing tool based on the coloring intensity, the color of the map of the target drawing area before drawing, the image mask corresponding to the target makeup, and the color of a preset final map comprises:
determining the color of the mapping of the target drawing area before drawing as the minimum value of the color drawing range of the drawing tool;
subtracting the color of the mapping of the target drawing area before drawing from the color of the final mapping to obtain a color difference value;
and determining the product of the color difference value and the image mask and the coloring intensity as well as the sum of the colors of the maps of the target drawing area before drawing as the maximum value of the color drawing range of the drawing tool.
9. The method according to claim 7, wherein the color of the map of the target rendering area before rendering is obtained by:
responding to a touch starting instruction of the drawing tool, and recording a current map of the virtual character;
and determining the current color of the map of the target drawing area from the current map, and determining the current color as the color of the map of the target drawing area before drawing.
10. The method of claim 7, wherein the tool parameters of the drawing tool include a color of the drawing tool; the color of the final map is determined by:
determining the color of the drawing tool as the color of the final map;
or determining a final map from a plurality of preset maps according to the tool parameters to determine the color of the final map; wherein each preset map corresponds to a tool parameter.
11. The method as set forth in claim 4, wherein after the step of determining an overlapping area of the target makeup map and the color map, updating the overlapping area in the target makeup map to the overlapping area of the color map, and obtaining a drawing result of the target makeup, the method further comprises:
amplifying the overlapping area in the drawing result;
and performing Gaussian blur processing on the color of the amplified overlapping area to obtain a final drawing result.
12. The method as claimed in claim 1, wherein before the step of updating the map of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup, the method further comprises:
setting the resolution of a map of a target makeup in the map of the virtual character to a preset first resolution;
setting the resolution of the pictures of the virtual character, except the picture of the target makeup, as a preset second resolution; wherein the first resolution is higher than the second resolution.
13. A makeup drawing device in a game is characterized in that a graphical user interface is provided through a terminal device, the graphical user interface at least comprises a virtual character, and the virtual character comprises a three-dimensional character model and a map covering the surface of the three-dimensional character model; the device comprises:
the drawing triggering module is used for responding to the makeup drawing triggering operation aiming at the virtual character, determining a target makeup to be drawn and tool parameters of drawing tools required for drawing the target makeup;
a drawing region determination module for determining a target drawing region in response to movement of the drawing tool on the virtual character;
and the map updating module is used for updating the map of the target drawing area according to the tool parameters of the drawing tool to obtain the drawing result of the target makeup.
14. An electronic device comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the in-game makeup drawing method of any of claims 1 to 12.
15. A computer-readable storage medium, characterized in that it stores computer-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of in-game makeup drawing as claimed in any one of claims 1 to 12.
CN202011275447.1A 2020-11-13 2020-11-13 Method and device for drawing makeup in game and electronic equipment Pending CN112370786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011275447.1A CN112370786A (en) 2020-11-13 2020-11-13 Method and device for drawing makeup in game and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011275447.1A CN112370786A (en) 2020-11-13 2020-11-13 Method and device for drawing makeup in game and electronic equipment

Publications (1)

Publication Number Publication Date
CN112370786A true CN112370786A (en) 2021-02-19

Family

ID=74584641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011275447.1A Pending CN112370786A (en) 2020-11-13 2020-11-13 Method and device for drawing makeup in game and electronic equipment

Country Status (1)

Country Link
CN (1) CN112370786A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093428A1 (en) * 2021-11-29 2023-06-01 北京字跳网络技术有限公司 Interaction method and apparatus, computer device, and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092588A (en) * 2003-09-18 2005-04-07 Hitachi Software Eng Co Ltd Composite image print device and image editing method
CN108664884A (en) * 2018-03-17 2018-10-16 广州帕克西软件开发有限公司 A kind of virtually examination cosmetic method and device
CN109157831A (en) * 2018-08-06 2019-01-08 光锐恒宇(北京)科技有限公司 Implementation method, device, intelligent terminal and the computer readable storage medium of game
CN110120053A (en) * 2019-05-15 2019-08-13 北京市商汤科技开发有限公司 Face's dressing processing method, device and equipment
CN110674350A (en) * 2019-09-23 2020-01-10 网易(杭州)网络有限公司 Video character retrieval method, medium, device and computing equipment
CN111408136A (en) * 2020-02-28 2020-07-14 苏州叠纸网络科技股份有限公司 Game interaction control method, device and storage medium
US20200242833A1 (en) * 2019-01-30 2020-07-30 Perfect Mobile Corp. Systems and methods for virtual application of makeup effects based on lighting conditions and surface properties of makeup effects
CN111729321A (en) * 2020-05-07 2020-10-02 完美世界(重庆)互动科技有限公司 Method, system, storage medium and computing device for constructing personalized character

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005092588A (en) * 2003-09-18 2005-04-07 Hitachi Software Eng Co Ltd Composite image print device and image editing method
CN108664884A (en) * 2018-03-17 2018-10-16 广州帕克西软件开发有限公司 A kind of virtually examination cosmetic method and device
CN109157831A (en) * 2018-08-06 2019-01-08 光锐恒宇(北京)科技有限公司 Implementation method, device, intelligent terminal and the computer readable storage medium of game
US20200242833A1 (en) * 2019-01-30 2020-07-30 Perfect Mobile Corp. Systems and methods for virtual application of makeup effects based on lighting conditions and surface properties of makeup effects
CN110120053A (en) * 2019-05-15 2019-08-13 北京市商汤科技开发有限公司 Face's dressing processing method, device and equipment
CN110674350A (en) * 2019-09-23 2020-01-10 网易(杭州)网络有限公司 Video character retrieval method, medium, device and computing equipment
CN111408136A (en) * 2020-02-28 2020-07-14 苏州叠纸网络科技股份有限公司 Game interaction control method, device and storage medium
CN111729321A (en) * 2020-05-07 2020-10-02 完美世界(重庆)互动科技有限公司 Method, system, storage medium and computing device for constructing personalized character

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
不造该取什么名: "【童年向】MM化妆师", Retrieved from the Internet <URL:https://www.bilibili.com/video/BV19A411t7AP/?spm_id_from=333.337.search-card.all.click> *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023093428A1 (en) * 2021-11-29 2023-06-01 北京字跳网络技术有限公司 Interaction method and apparatus, computer device, and storage medium

Similar Documents

Publication Publication Date Title
US11619989B2 (en) Gaze and saccade based graphical manipulation
US10353464B2 (en) Gaze and saccade based graphical manipulation
US20200020173A1 (en) Methods and systems for constructing an animated 3d facial model from a 2d facial image
CN111080780B (en) Edge processing method and device for virtual character model
CN112215934A (en) Rendering method and device of game model, storage medium and electronic device
US10895909B2 (en) Gaze and saccade based graphical manipulation
CN108765520B (en) Text information rendering method and device, storage medium and electronic device
CN112288665A (en) Image fusion method and device, storage medium and electronic equipment
CN106447756B (en) Method and system for generating user-customized computer-generated animations
US20220230375A1 (en) Three-dimensional avatar generation and customization
CN113469883B (en) Rendering method and device of dynamic resolution, electronic equipment and readable storage medium
KR102352092B1 (en) Image processing method and apparatus, storage medium and electronic device
CN112370786A (en) Method and device for drawing makeup in game and electronic equipment
JP6661780B2 (en) Face model editing method and apparatus
KR20180042359A (en) Method and apparatus for distinguishing objects
CN109859258B (en) Interface processing method and device and electronic equipment
WO2020036214A1 (en) Image generation device, and image generation method and program
CN116688492A (en) Special effect rendering method and device for virtual model, electronic equipment and storage medium
WO2023077965A1 (en) Appearance editing method and apparatus for virtual pet, and terminal and storage medium
CN106716500A (en) Program, information processing device, depth definition method, and recording medium
CN115619919A (en) Scene object highlighting method and device, electronic equipment and storage medium
CN111651031B (en) Virtual content display method and device, terminal equipment and storage medium
JP2011215724A (en) Program, information storage medium, and image generation system
CN113069759B (en) Scene processing method and device in game and electronic equipment
CN113821345B (en) Method and device for rendering moving track in game and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination