CN111080806B - Mapping processing method and device, electronic equipment and storage medium - Google Patents

Mapping processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111080806B
CN111080806B CN201911329507.0A CN201911329507A CN111080806B CN 111080806 B CN111080806 B CN 111080806B CN 201911329507 A CN201911329507 A CN 201911329507A CN 111080806 B CN111080806 B CN 111080806B
Authority
CN
China
Prior art keywords
map
color
fashion
target
original
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.)
Active
Application number
CN201911329507.0A
Other languages
Chinese (zh)
Other versions
CN111080806A (en
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 CN201911329507.0A priority Critical patent/CN111080806B/en
Publication of CN111080806A publication Critical patent/CN111080806A/en
Application granted granted Critical
Publication of CN111080806B publication Critical patent/CN111080806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • 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/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • 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/50Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
    • A63F2300/53Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
    • A63F2300/538Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing for performing operations on behalf of the game client, e.g. rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2210/00Indexing scheme for image generation or computer graphics
    • G06T2210/16Cloth
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Architecture (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

The invention provides a mapping processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers. The mapping processing method comprises the following steps: acquiring an original fashion map, and performing block processing on the original fashion map to determine a block map corresponding to the original fashion map; obtaining color-changing parameters corresponding to the block diagram; converting the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters; and rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map. According to the technical scheme provided by the embodiment of the invention, the color matching scheme of the original fashion map can be quickly changed according to the color changing parameters, and the color changing efficiency of the fashion map is improved.

Description

Mapping processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technology, and in particular, to a mapping processing method, a mapping processing apparatus, an electronic device, and a computer readable storage medium.
Background
With the development of internet technology, electronic games are becoming an integral part of people's lives. The game fashion is popular with many players as a prop capable of showing the style or characteristics of a game character in a game.
Currently, in the related art, when a color-changing fashion is made on a game fashion, the color of a map corresponding to an original fashion is changed, and then the color-changed fashion map is rendered on a game character model. On the one hand, when the color-changing fashion map is designed, different color-changing fashion maps are required to be manufactured, and then rendered on the game character model, so that the map manufacturing efficiency is low, and the whole color-changing fashion map is re-rendered on the game character model, so that the rendering efficiency is low; on the other hand, when the color-changing fashion map is directly manufactured, the usable color range of the picture format corresponding to the color-changing fashion map is less, the rendering effect is poor, and the game experience of a player is reduced.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a mapping processing method, a mapping processing apparatus, an electronic device, and a computer readable storage medium, so as to overcome the problems of low manufacturing efficiency and poor rendering effect when a fashion mapping changes color in the related art at least to a certain extent.
Other features and advantages of the invention will be apparent from the following detailed description, or may be learned by the practice of the invention.
According to a first aspect of an embodiment of the present invention, there is provided a mapping processing method, including: acquiring an original fashion map, and performing block processing on the original fashion map to determine a block map corresponding to the original fashion map; obtaining color-changing parameters corresponding to the block diagram; converting the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters; and rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map.
In some example embodiments of the present invention, based on the foregoing solution, the performing a blocking process on the original fashion map to determine a blocking map corresponding to the original fashion map includes: acquiring a color separation diagram corresponding to the original fashion map; and carrying out blocking processing on the original fashion map according to the color separation map so as to determine a blocking map corresponding to the original fashion map.
In some exemplary embodiments of the present invention, based on the foregoing solution, performing a blocking process on the original fashion map according to the color separation map to determine a blocking map corresponding to the original fashion map, including: acquiring a color value of the color separation map; determining a blocking area corresponding to a pixel in the original fashion map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area so as to determine a blocking map corresponding to the original fashion map.
In some example embodiments of the present invention, based on the foregoing, generating a target fashion map from the original fashion map, the block map, and the virtual color change map rendering includes: determining a target block area of a target pixel corresponding to the original fashion map in the block map; according to the target blocking area, target color changing parameters corresponding to the target pixels are called in the virtual color changing map; and performing color change treatment on the target pixels according to the target color change parameters so as to render the original fashion map to generate a target fashion map.
In some exemplary embodiments of the present invention, based on the foregoing solution, the performing a color change process on the target pixel according to the target color change parameter includes: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to change the color of the pixel color value according to the color conversion data.
In some example embodiments of the present invention, based on the foregoing solution, the performing a blocking process on the original fashion map to determine a blocking map corresponding to the original fashion map further includes: determining a position map corresponding to the original fashion map; and performing blocking processing on the part map to determine a blocking map corresponding to the part map.
In some example embodiments of the present invention, based on the foregoing solution, before obtaining the color change parameter corresponding to the block diagram, the method further includes: storing the input color-changing parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast variation data.
According to a second aspect of an embodiment of the present invention, there is provided a map processing apparatus including: the block diagram determining module is used for obtaining an original fashion map and carrying out block processing on the original fashion map so as to determine a block diagram corresponding to the original fashion map; the color-changing parameter acquisition module is used for acquiring color-changing parameters corresponding to the block diagram; the virtual color change map determining module is used for converting the color change parameters to determine virtual color change maps corresponding to the color change parameters; and the target fashion map rendering module is used for rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the block diagram determining module further includes: the color separation map acquisition unit is used for acquiring a color separation map corresponding to the original fashion map; and the blocking processing unit is used for blocking the original fashion map according to the color separation map so as to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the invention, based on the foregoing scheme, the blocking processing unit is further configured to: acquiring a color value of the color separation map; determining a blocking area corresponding to a pixel in the original fashion map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area so as to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the target fashion map rendering module further includes a target pixel color changing unit configured to: determining a target block area of a target pixel corresponding to the original fashion map in the block map; according to the target blocking area, target color changing parameters corresponding to the target pixels are called in the virtual color changing map; and performing color change treatment on the target pixels according to the target color change parameters so as to render the original fashion map to generate a target fashion map.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the target pixel color changing unit is further configured to: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to change the color of the pixel color value according to the color conversion data.
In an exemplary embodiment of the invention, based on the foregoing scheme, the blocking processing unit is further configured to: determining a position map corresponding to the original fashion map; and performing blocking processing on the part map to determine a blocking map corresponding to the part map.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the map processing device further includes a color change parameter storage unit configured to: storing the input color-changing parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast variation data.
According to a third aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; and a memory having stored thereon computer readable instructions which when executed by the processor implement the mapping method of any of the above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a mapping processing method according to any of the above.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
according to the mapping processing method in the example embodiment of the invention, the original fashion mapping is subjected to block processing to determine the block mapping corresponding to the original fashion mapping, the color change parameters corresponding to the block mapping are subjected to conversion processing to determine the virtual color change mapping corresponding to the color change parameters, and the target fashion mapping is generated according to the original fashion mapping, the block mapping and the virtual color change mapping. On the one hand, the original fashion map is partitioned, different colors are configured for different partitioned areas corresponding to the original fashion map, so that the color configuration of the target fashion map is more harmonious and attractive, direct color replacement of the fashion map is avoided, and the ornamental experience of a user is improved; on the other hand, a virtual color change map is generated according to the color change parameters, and a target fashion map is generated according to the original fashion map, the block map and the virtual color change map in a rendering mode, the color change fashion map corresponding to the original fashion map is not required to be designed and manufactured by an artist, and when the target fashion map is added or modified, only the color change parameters are required to be provided or modified, so that the generation efficiency of the target fashion map is improved, the diversity and the flexibility of the target fashion map are improved, and the working efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is evident that the drawings in the following description are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art. In the drawings:
FIG. 1 schematically illustrates a flow diagram of a mapping method according to some embodiments of the invention;
FIG. 2 schematically illustrates a schematic view of an original fashion map corresponding color separation map in accordance with some embodiments of the invention;
FIG. 3 schematically illustrates a schematic diagram of an original fashion map and corresponding block map, according to some embodiments of the invention;
FIG. 4 schematically illustrates a schematic diagram of a virtual color change map corresponding to color change parameters according to some embodiments of the invention;
FIG. 5 schematically illustrates a diagram of color change parameters stored in an array form, according to some embodiments of the invention;
FIG. 6 schematically illustrates a flow diagram of rendering an original fashion map to generate a target fashion map in accordance with some embodiments of the invention;
FIG. 7 schematically illustrates a schematic view of different target time-wear maps generated from different color-changing parameters, according to some embodiments of the invention;
FIG. 8 schematically illustrates a schematic diagram of a mapping processing apparatus according to some embodiments of the invention;
FIG. 9 schematically illustrates a structural diagram of a computer system of an electronic device, in accordance with some embodiments of the present invention;
fig. 10 schematically illustrates a schematic diagram of a computer-readable storage medium according to some embodiments of the invention.
In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
Moreover, the drawings are only schematic illustrations and are not necessarily drawn to scale. The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the present exemplary embodiment, a mapping processing method is provided first, and the mapping processing method may be applied to a terminal device with a graphics processor, such as an electronic device such as a mobile phone, a computer, etc., which is not particularly limited in the present exemplary embodiment. FIG. 1 schematically illustrates a schematic diagram of a process flow of a mapping process, which, with reference to FIG. 1, may include the steps of:
step S110, an original fashion map is obtained, and the original fashion map is subjected to block processing to determine a block map corresponding to the original fashion map;
step S120, obtaining color-changing parameters corresponding to the block diagram;
step S130, converting the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters;
And step 140, rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map.
According to the mapping processing method in the exemplary embodiment, on one hand, the original fashion mapping is segmented, different colors are configured for different segmented areas corresponding to the original fashion mapping, so that the color configuration of the target fashion mapping is more harmonious and attractive, direct color replacement of the fashion mapping is avoided, and the ornamental experience of a user is improved; on the other hand, a virtual color change map is generated according to the color change parameters, and a target fashion map is generated according to the original fashion map, the block map and the virtual color change map in a rendering mode, the color change fashion map corresponding to the original fashion map is not required to be designed and manufactured by an artist, and when the target fashion map is added or modified, only the color change parameters are required to be provided or modified, so that the generation efficiency of the target fashion map is improved, the diversity and the flexibility of the target fashion map are improved, and the working efficiency is improved.
Next, a mapping processing method in the present exemplary embodiment will be further described.
In step S110, an original fashion map is obtained, and the original fashion map is subjected to a blocking process to determine a block map corresponding to the original fashion map.
In one example embodiment of the invention, the original fashion map may refer to a skin-corresponding map of a character model in a game scene or in a related modeling application scene, and may be specifically considered a default skin map of the character model. The blocking processing may refer to a processing procedure of performing pixel partitioning on the original fashion map according to different area data of the original fashion map, for example, the blocking processing may be a processing procedure of performing blocking on a body part position (for example, the body part position may be divided into clothing, headwear, back decoration, hair, etc.) on the character model according to the original fashion map, or a processing procedure of dividing the original fashion map into different color matching areas according to color matching data (that is, data that may be regarded as performing color doping and color matching according to harmony of the colors of the map), and of course, the blocking processing may also refer to a processing procedure of performing pixel partitioning on the original fashion map according to other data, which is not limited in this example embodiment. The blocking map may refer to an image obtained by blocking the original fashion map.
Specifically, a color separation diagram corresponding to an original fashion map is obtained; and carrying out blocking processing on the original fashion map according to the color separation map to determine a block map corresponding to the original fashion map. The color separation map may refer to a preset image containing color values of different pixels, and in actual application, a block area corresponding to a pixel in the original fashion map may be determined according to the color values in the color separation map.
Further, obtaining a color value of the color separation chart; determining a blocking area corresponding to a pixel in the original fashion map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area to determine a blocking map corresponding to the original fashion map. The color value may specifically refer to a pixel color value (that is, an RGB value, an RGB color mode is a color standard in industry, and various colors are obtained by changing three color channels of red R, green G and blue B and overlapping them with each other), for example, a color in a color-division chart may be red, a color value may be an RGB value "255, 0" corresponding to red, and a color value may also be a hexadecimal value "FF0000" corresponding to red, and of course, a color value in a color-division chart may also be a numerical value that can be identified by a terminal device and expressed in other forms. The partitioned areas may refer to areas for classifying pixels in the original fashion map, and pixels of different partitioned areas apply different color schemes, and a partitioned map corresponding to the original fashion map is formed according to the different partitioned areas.
Further, determining a position map corresponding to the original fashion map; and performing blocking processing on the part map to determine a blocking map corresponding to the part map. The portion map may be a map obtained by splitting an original fashion map according to a body portion of a character model corresponding to the original fashion map, for example, the portion map may be a clothing map, a head map, a back map, or a hair map, which is not particularly limited in this example embodiment.
By carrying out blocking processing on the original fashion map, different color changing schemes can be applied to the details of different parts of the original fashion map, so that the color change is more attractive, and the ornamental experience of a player is improved.
Specifically, after the original fashion map is split to obtain the position map, the position map is further partitioned (it may be considered that different color ratios are still required for different areas in each position map, and the matching scheme of the same color cannot be directly applied). And according to the obtained color separation map, performing block processing on the part maps to determine different block areas corresponding to each part map. For example, for an original fashion map of a character model, the original fashion map is first divided into four part maps of a clothing map, a head map, a back map and a hair map according to the corresponding parts of the character model, then the four part maps are further divided into blocks according to the color division map, each part map is divided into four block areas (or color-changing blocks), and each block area (or color-changing block) can be subjected to independent color-changing treatment, so 16 color-changing schemes (color-changing parameters) are required in total, and default parameters can be directly filled if the color-changing treatment is not performed.
Fig. 2 schematically illustrates a schematic diagram of an original fashion map corresponding color separation map, according to some embodiments of the invention.
Referring to fig. 2, the color map may include a color value "00ff01" corresponding to a clothing map 201 corresponding to an original fashion map, a color value "00ff05" corresponding to a head map 202, a color value "00ff09" corresponding to a back map 203, and a color value "00ff0d" corresponding to a hair map, and specifically, each part map may be divided into a variable block 205, a variable block 206, a variable block 207, and a variable block 208, each of which corresponds to a color value, a block area corresponding to a pixel in the original fashion map may be determined according to the color value in the color map, and the block area may be used to perform a block process on the original fashion map to determine the block map corresponding to the original fashion map. Of course, the specifics in fig. 2 are merely illustrative examples and should not be construed as any particular limitation on the present exemplary embodiment.
Fig. 3 schematically illustrates a schematic diagram of an original fashion map and corresponding block map according to some embodiments of the invention.
Referring to fig. 3, the terminal device may perform a block processing on the original fashion map 301 according to the color separation map shown in fig. 2, determine a block map 302 corresponding to the original fashion map 301, and the block map 302 may include two block areas, i.e., divide the original fashion map 301 into two color-changing areas, so as to apply different color-changing parameters (color-changing schemes) to different color-changing areas in the following. Of course, the original fashion map 301 and the block map 302 in fig. 3 are only schematically illustrated, and should not be construed as any particular limitation of the present exemplary embodiment.
And step S120, obtaining color-changing parameters corresponding to the block diagram.
In an exemplary embodiment of the present invention, the color-changing parameter may refer to a preset color-changing scheme for performing a color-changing process on the original fashion map, that is, a representation form of the color-changing scheme for the original fashion map may be in the form of the color-changing parameter. Because each block area in the block diagram needs to be subjected to separate color change, each block area in the block diagram corresponds to a group of color change parameters, and default parameters are directly filled if color change processing is not performed. In the actual application process, no matter the fashion map is added or changed, only the corresponding color changing parameters of the fashion map are required to be adjusted, and any art resource is not required to be modified.
Specifically, the input color change parameters are stored in the form of an array, and the color change parameters (color change scheme) may include color channel mapping data, color conversion data, brightness conversion data, and contrast change data. The color channel mapping data may refer to a numerical value mapping the color value of the original pixel in the original fashion map to the color value of the target pixel in the target fashion map; the color conversion data may refer to HSL variation data (HSL is a representation of points in an RGB color model in a cylindrical coordinate system, that is, hue, saturation, and brightness, hue (H) is a basic attribute of color, that is, a color name commonly known as red, yellow, etc., saturation (S) is the purity of color, and the higher the color is, the lower the color is, the progressively greying, taking a value of 0-100%, and brightness (V), brightness (L), taking a value of 0-100%); the luminance conversion data may refer to data for adjusting the luminance of the block area, for example, the luminance conversion data may be 50%, which is not limited to this example embodiment; the contrast change data may refer to data for adjusting the contrast of the divided areas, and of course, the color change parameter may also refer to other parameters, which are not particularly limited in this example embodiment.
Fig. 4 schematically illustrates a diagram of color change parameters stored in an array form according to some embodiments of the invention.
Referring to fig. 4, the data in the graph may refer to color change parameters (color change schemes) corresponding to the original fashion map, the input color change parameters may be stored in the form of arrays in the graph, and the color change parameters corresponding to the block area 0, the block area 1, the block area 2 and the block area 3 are respectively represented, wherein the block areas 0-2 have 7 different color change schemes, the block area 3 is generally not color-changed (default parameters) and is used as a recognition color change parameter (reference data), and the default parameters may be represented as (128,0,0,0,0, 128,0,0,0,0, 128,0, 127, 128, 128, 128), and may be regarded as the color of the original fashion map when the default parameters are applied to the original fashion map. Specifically, taking default parameters as examples, the 1 st to 4 th numbers represent color R mapping "128,0,0,0", the 5 th to 8 th numbers represent color G mapping "0, 128,0,0", the 9 th to 11 th numbers represent color B mapping "0, 128", the 12 th to 14 th numbers represent HSL changes "0, 127, 127", and the 15 th to 16 th numbers represent brightness and contrast changes "128, 128".
And step S130, performing conversion treatment on the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters.
In an exemplary embodiment of the present invention, the virtual color-changing map may refer to a virtual map constructed by color-changing parameters, where the virtual color-changing map is not a specific resource map, but is a virtual map that facilitates a terminal device to quickly confirm that a block area in the block map corresponds to a color-changing parameter (color-changing scheme). Specifically, the virtual color change map can be regarded as intermediate data for adjusting the original fashion map to the target fashion map, and the color change parameters are constructed to be the virtual color change map, so that the efficiency of converting the original fashion map to the target fashion map by the terminal equipment through the color change parameters can be improved.
Fig. 5 schematically illustrates a schematic diagram of a virtual color change map corresponding to color change parameters according to some embodiments of the invention.
Referring to fig. 5, the terminal device may construct a virtual color map 501 in a processor according to color change parameters, and send the constructed virtual color map 501 to a shader (fragment shader) of the graphics processor. In general, the RGB map can be represented by only three numbers, respectively, but when the map as in fig. 2 is processed, one more number of digits can be added to make 16 numbers per color change parameter (color change scheme) in total, one byte per number, so each color change parameter is 16 bytes. Every four bytes are structured into one pixel, respectively RGBA, which corresponds to a color change parameter consisting of 4 pixels, and an original fashion map has 16 partitioned areas, which corresponds to 4 x 16 pixels. And finally, constructing a pixel consisting of color change parameters into a virtual color change map 501 for a shader, which is equivalent to converting data into a map and improving the rendering efficiency.
And step 140, rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map.
In an exemplary embodiment of the present invention, the target fashion map may refer to a color-changing fashion map corresponding to an original fashion map generated by changing color of the original fashion map according to a block map and a virtual color-changing map, and the original fashion map may correspond to different target fashion maps according to different color-changing parameters (virtual color-changing maps). The terminal device reads three maps, namely an original fashion map, a block map and a virtual color change map, in the fragment shader loader. And firstly reading the block diagram in the loader to obtain a target block area corresponding to the target pixel, further obtaining a target color change parameter corresponding to the target pixel from the virtual color change map, and then carrying out RGB mapping and HSL change calculation on a pixel color value corresponding to the target pixel by using the target color change parameter to obtain a new color value, so that the color change of the whole original fashion map can be completed and the target fashion map is obtained.
Fig. 6 schematically illustrates a flow diagram of rendering an original fashion map to generate a target fashion map according to some embodiments of the invention.
Referring to fig. 6, in step S610, a target block area of a target pixel corresponding to the original fashion map in the block map is determined.
In an exemplary embodiment of the present invention, the target pixel may refer to a pixel unit in the original fashion map that needs to be discolored, and the target block area may refer to a block area of the target pixel in the block map, for example, the target block area may be a variable block 1 in the clothing map, which is not limited thereto. When the original fashion map is rendered to generate the target fashion map according to the block map and the virtual color-changing map, firstly, a target block area corresponding to target pixels in the original fashion map in the block map is determined so as to carry out color-changing treatment on the target pixels in different target block areas.
And step S620, calling a target color change parameter corresponding to the target pixel in the virtual color change map according to the target block area.
In an exemplary embodiment of the present invention, the target color-changing parameter may refer to a color-changing parameter (color-changing scheme) recorded in the virtual color-changing map and used for performing color-changing processing on pixels of the target block area, for example, the target color-changing parameter may be a color-changing parameter corresponding to the variable block 1 in the clothing map, which is not limited thereto. And determining the position (target block area) of the target pixel corresponding to the block diagram, acquiring target color changing parameters (color changing schemes) of the target block area corresponding to the virtual color changing map, and performing color changing treatment on the target pixel according to the target color changing parameters.
And step 630, performing color change processing on the target pixel according to the target color change parameter to render the original fashion map to generate a target fashion map.
In an example embodiment of the invention, target color-changing parameters in the virtual color-changing map are obtained according to the block diagram, and color-changing processing is performed on target pixels through the target color-changing parameters, so that the original fashion map is rendered to generate a target fashion map corresponding to the color-changing parameters.
Specifically, determining a pixel color value corresponding to a target pixel; and obtaining color conversion data corresponding to the pixel color values from the target color change parameters so as to carry out color change treatment on the pixel color values according to the color conversion data. The pixel color value may refer to data such as a color channel, a hue, a saturation, a brightness, a contrast, etc. corresponding to the target pixel, and the color conversion data may refer to HSL variation data.
For example, according to the color value in the color separation map, the target block area to which the target pixel of the original fashion map belongs is determined, and according to the target block area, the target color change parameter (target color change scheme) is obtained from the virtual color change map, and the code corresponding to the calculation process may be as follows:
highp vec4 cs_tex=texture2D(sam_other01,v_texture0.xy),
float cs_index=cs_tex.z*16.0,
highp vec4 hsl_color0=texture2D(sam_other03,vec2(0.125,cs_index));
highp vec4 hsl_color1=texture2D(sam_other03,vec2(0.375,cs_index));
highp vec4 hsl_color2=texture2D(sam_other03,vec2(0.625,cs_index));
highp vec4 hsl_color3=texture2D(sam_other03,vec2(0.875,cs_index));
Of course, the code herein is merely illustrative and should not be construed as limiting in any way.
Specifically, color change processing is performed on pixel color values of target pixels according to color conversion data (HSL change data) in the acquired target color change parameters so as to render the original fashion map to generate the target fashion map. For example, assuming that the pixel color value corresponding to the original fashion map may be represented as value, the calculation may be divided into the following steps by respectively representing three color channels R, G, and B of the pixel color value by value R, value G, and value B:
in the first step, mapping color change is performed on three color channels R, G, and B by using color conversion data hsl_color0, hsl_color1, and hsl_color2, that is, corresponding values of R, G, and B are directly changed (i.e., vector dot product calculation is performed on the two color channels), and the calculation code may be as follows:
lowp vec3 r_factor=hsl_color0*value.r;
lowp vec3 g_factor=hsl_color1*value.g;
lowp vec3 b_factor=hsl_color2*value.b;
second, the RGB color space is converted into the HSL color space by a conversion formula, specifically, the RGB color space is converted into the HSL color space by the following exemplary code:
after converting the RGB color space into the HSL color space, mapping the converted color with color conversion data hsl_color4, that is, vector dot product is performed on the converted pixel color value and hsl_color4, and the result obtained by calculation is converted into the RGB color space in the third step, where the exemplary code corresponding to the conversion process is as follows (the entry is an HSLtoRGB function):
Fourth, the conversion result obtained in the third step is subjected to contrast and brightness processing, and the exemplary codes corresponding to the processing procedure can be as follows:
value.rgb=(value.rgb–0.5)*contrast+0.5;
value.rgb=clamp(value.rgb,vec3(0.0),vec3(0.99));
the value of the final result value is a value corresponding to the color change processing of the pixel color value of the target pixel through the color conversion data (HSL change data) in the target color change parameter. It should be noted that the exemplary codes herein are only illustrative and should not be construed as any particular limitation to the present exemplary embodiment.
Fig. 7 schematically illustrates a schematic view of different target time-wear maps generated according to different color-changing parameters according to some embodiments of the invention.
Referring to fig. 7, the terminal device may render the original fashion map according to different color change parameters (color change schemes) to generate a target fashion map 701, a target fashion map 702, a target fashion map 703, a target fashion map 704, and a target fashion map 705.
It should be noted that although the steps of the method of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in that particular order or that all of the illustrated steps be performed in order to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step to perform, and/or one step decomposed into multiple steps to perform, etc.
In addition, in the present exemplary embodiment, a map processing apparatus is also provided. Referring to fig. 8, the mapping apparatus 800 includes: the system comprises a block diagram determining module 810, a color change parameter obtaining module 820, a virtual color change map determining module 830 and a target time-stamp map rendering module 840. Wherein: the block diagram determining module 810 is configured to obtain an original fashion map, and perform a block processing on the original fashion map to determine a block diagram corresponding to the original fashion map; the color-changing parameter obtaining module 820 is configured to obtain color-changing parameters corresponding to the block diagram; the virtual color change map determining module 830 is configured to perform conversion processing on the color change parameters to determine a virtual color change map corresponding to the color change parameters; the target fashion map rendering module 840 is configured to render a target fashion map according to the original fashion map, the block map, and the virtual color change map.
In an exemplary embodiment of the present invention, based on the foregoing scheme, the block diagram determining module 810 further includes: the color separation map acquisition unit is used for acquiring a color separation map corresponding to the original fashion map; and the blocking processing unit is used for blocking the original fashion map according to the color separation map so as to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the invention, based on the foregoing scheme, the blocking processing unit is further configured to: acquiring a color value of the color separation map; determining a blocking area corresponding to a pixel in the original fashion map according to the color value; and carrying out blocking processing on the original fashion map through the blocking area so as to determine a blocking map corresponding to the original fashion map.
In an exemplary embodiment of the present invention, based on the foregoing, the target fashion map rendering module 840 further includes a target pixel color changing unit configured to: determining a target block area of a target pixel corresponding to the original fashion map in the block map; according to the target blocking area, target color changing parameters corresponding to the target pixels are called in the virtual color changing map; and performing color change treatment on the target pixels according to the target color change parameters so as to render the original fashion map to generate a target fashion map.
In an exemplary embodiment of the present invention, based on the foregoing aspect, the target pixel color changing unit is further configured to: determining a pixel color value corresponding to the target pixel; and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to change the color of the pixel color value according to the color conversion data.
In an exemplary embodiment of the invention, based on the foregoing scheme, the blocking processing unit is further configured to: determining a position map corresponding to the original fashion map; and performing blocking processing on the part map to determine a blocking map corresponding to the part map.
In an exemplary embodiment of the present invention, based on the foregoing solution, the mapping processing apparatus 800 further includes a color-changing parameter storage unit configured to: storing the input color-changing parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast variation data.
The details of each module of the above middle mapping device are described in detail in the corresponding mapping method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of the mapping processing apparatus are mentioned, this division is not mandatory. Indeed, the features and functions of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
In addition, in the exemplary embodiment of the present disclosure, an electronic device capable of implementing the mapping processing method is also provided.
Those skilled in the art will appreciate that the various aspects of the invention may be implemented as a system, method, or program product. Accordingly, aspects of the invention may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
An electronic device 900 according to such an embodiment of the invention is described below with reference to fig. 9. The electronic device 900 shown in fig. 9 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 9, the electronic device 900 is embodied in the form of a general purpose computing device. Components of electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting the different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.
Wherein the storage unit stores program code that is executable by the processing unit 910 such that the processing unit 910 performs steps according to various exemplary embodiments of the present invention described in the above-described "exemplary methods" section of the present specification. For example, the processing unit 910 may perform step S110 shown in fig. 1, obtain an original fashion map, and perform a blocking process on the original fashion map to determine a block map corresponding to the original fashion map; step S120, obtaining color-changing parameters corresponding to the block diagram; step S130, converting the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters; and step 140, rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map.
The storage unit 920 may include readable media in the form of volatile storage units, such as Random Access Memory (RAM) 921 and/or cache memory 922, and may further include Read Only Memory (ROM) 923.
The storage unit 920 may also include a program/utility 924 having a set (at least one) of program modules 925, such program modules 925 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The bus 930 may be one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with the electronic device 900, and/or any device (e.g., router, modem, etc.) that enables the electronic device 900 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 950. Also, electronic device 900 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 over the bus 930. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 900, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a terminal device, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, a computer-readable storage medium having stored thereon a program product capable of implementing the method described above in the present specification is also provided. In some possible embodiments, the various aspects of the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps according to the various exemplary embodiments of the invention as described in the "exemplary methods" section of this specification, when said program product is run on the terminal device.
Referring to fig. 10, a program product 1000 for implementing the above-described mapping processing method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device such as a personal computer. However, the program product of the present invention is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or in combination with the necessary hardware. Thus, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.) or on a network, and includes several instructions to cause a computing device (may be a personal computer, a server, a touch terminal, or a network device, etc.) to perform the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method of mapping, comprising:
acquiring an original fashion map, and performing block processing on the original fashion map to determine a block map corresponding to the original fashion map;
obtaining color-changing parameters corresponding to the block diagram;
converting the color-changing parameters to determine virtual color-changing maps corresponding to the color-changing parameters;
rendering according to the original fashion map, the block map and the virtual color-changing map to generate a target fashion map;
wherein the generating a target fashion map according to the original fashion map, the block map, and the virtual color change map rendering comprises:
determining a target block area of a target pixel corresponding to the original fashion map in the block map;
according to the target blocking area, target color changing parameters corresponding to the target pixels are called in the virtual color changing map;
and performing color change treatment on the target pixels according to the target color change parameters so as to render the original fashion map to generate a target fashion map.
2. The method for mapping according to claim 1, wherein the performing the block processing on the original fashion map to determine the block map corresponding to the original fashion map includes:
acquiring a color separation diagram corresponding to the original fashion map;
and carrying out blocking processing on the original fashion map according to the color separation map so as to determine a blocking map corresponding to the original fashion map.
3. The mapping method according to claim 2, wherein performing a block processing on the original fashion map according to the color separation map to determine a block map corresponding to the original fashion map includes:
acquiring a color value of the color separation map;
determining a blocking area corresponding to a pixel in the original fashion map according to the color value;
and carrying out blocking processing on the original fashion map through the blocking area so as to determine a blocking map corresponding to the original fashion map.
4. The method of mapping according to claim 1, wherein the performing the color change process on the target pixel according to the target color change parameter includes:
determining a pixel color value corresponding to the target pixel;
and acquiring color conversion data corresponding to the pixel color value from the target color change parameter so as to change the color of the pixel color value according to the color conversion data.
5. The method for mapping according to claim 2, wherein the performing the block processing on the original fashion map to determine a block map corresponding to the original fashion map further comprises:
determining a position map corresponding to the original fashion map;
and performing blocking processing on the part map to determine a blocking map corresponding to the part map.
6. The method of mapping according to claim 1, wherein before obtaining the color change parameter corresponding to the block map, the method further comprises:
storing the input color-changing parameters in an array form; wherein the color change parameters include color channel mapping data, color conversion data, brightness conversion data, and contrast variation data.
7. A map processing apparatus, comprising:
the block diagram determining module is used for obtaining an original fashion map and carrying out block processing on the original fashion map so as to determine a block diagram corresponding to the original fashion map;
the color-changing parameter acquisition module is used for acquiring color-changing parameters corresponding to the block diagram;
the virtual color change map determining module is used for converting the color change parameters to determine virtual color change maps corresponding to the color change parameters;
The target fashion map rendering module is used for rendering and generating a target fashion map according to the original fashion map, the block map and the virtual color-changing map;
wherein the target fashion map rendering module further comprises a target pixel color shifting unit configured to:
determining a target block area of a target pixel corresponding to the original fashion map in the block map;
according to the target blocking area, target color changing parameters corresponding to the target pixels are called in the virtual color changing map;
and performing color change treatment on the target pixels according to the target color change parameters so as to render the original fashion map to generate a target fashion map.
8. An electronic device, comprising:
a processor; and
a memory having stored thereon computer readable instructions which when executed by the processor implement the mapping method of any of claims 1 to 6.
9. A computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the mapping method of any of claims 1 to 6.
CN201911329507.0A 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium Active CN111080806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911329507.0A CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911329507.0A CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111080806A CN111080806A (en) 2020-04-28
CN111080806B true CN111080806B (en) 2024-02-23

Family

ID=70316482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911329507.0A Active CN111080806B (en) 2019-12-20 2019-12-20 Mapping processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111080806B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112837405A (en) * 2020-12-04 2021-05-25 佛山欧神诺云商科技有限公司 Dynamic modeling implementation method, electronic device and storage medium
WO2022193941A1 (en) * 2021-03-19 2022-09-22 腾讯科技(深圳)有限公司 Image rendering method and apparatus, device, medium, and computer program product
CN113360063B (en) * 2021-05-31 2023-02-03 网易(杭州)网络有限公司 Image display method and device, electronic equipment and storage medium
CN113706665B (en) * 2021-10-28 2023-01-31 北京美摄网络科技有限公司 Image processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN108198250A (en) * 2018-01-23 2018-06-22 网易(杭州)网络有限公司 Virtual objects model colouring method and device, storage medium, electronic equipment
CN108876931A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Three-dimension object color adjustment method, device, computer equipment and computer readable storage medium
CN110102048A (en) * 2019-03-27 2019-08-09 深圳市创梦天地科技有限公司 A kind of virtual costume rendering method and device
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105233498A (en) * 2015-09-23 2016-01-13 网易(杭州)网络有限公司 Game character staining method and device, user terminal and game system
CN108876931A (en) * 2017-05-12 2018-11-23 腾讯科技(深圳)有限公司 Three-dimension object color adjustment method, device, computer equipment and computer readable storage medium
CN108198250A (en) * 2018-01-23 2018-06-22 网易(杭州)网络有限公司 Virtual objects model colouring method and device, storage medium, electronic equipment
CN110102048A (en) * 2019-03-27 2019-08-09 深圳市创梦天地科技有限公司 A kind of virtual costume rendering method and device
CN110443769A (en) * 2019-08-08 2019-11-12 Oppo广东移动通信有限公司 Image processing method, image processing apparatus and terminal device

Also Published As

Publication number Publication date
CN111080806A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN111080806B (en) Mapping processing method and device, electronic equipment and storage medium
JP6483221B2 (en) 3D code generation method
CN107204034B (en) A kind of image processing method and terminal
US20210350545A1 (en) Image processing method and apparatus, and hardware apparatus
US11409794B2 (en) Image deformation control method and device and hardware device
CN111597003B (en) Picture rendering method and device, computer equipment and medium
TWI695295B (en) Image processing method, device and electronic equipment based on augmented reality
CN104012097A (en) Method and apparatus for compressing and decompressing data
CN113144611B (en) Scene rendering method and device, computer storage medium and electronic equipment
CN112891946B (en) Game scene generation method and device, readable storage medium and electronic equipment
CN110400254A (en) A kind of lipstick examination cosmetic method and device
CN112714357B (en) Video playing method, video playing device, electronic equipment and storage medium
CN110427586A (en) A kind of page display method, device, equipment and storage medium
CN117412449B (en) Atmosphere lamp equipment, lamp effect playing control method thereof, and corresponding device and medium
CN109863750A (en) 32 HDR pixel formats
JP7160495B2 (en) Image preprocessing method, device, electronic device and storage medium
CN116543094A (en) Model rendering method, device, computer readable storage medium and electronic equipment
CN106331532A (en) Data conversion method and device and electronic equipment
CN114512094B (en) Screen color adjusting method, device, terminal and computer readable storage medium
CN114882149A (en) Animation rendering method and device, electronic equipment and storage medium
CN112162719A (en) Display content rendering method and device, computer readable medium and electronic equipment
CN114582301B (en) Information display method and device, electronic equipment and storage medium
CN117412450B (en) Atmosphere lamp equipment, lamp effect color matching method thereof, corresponding device and medium
CN108805951A (en) A kind of projected image processing method, device, terminal and storage medium
US20230316597A1 (en) Method and apparatus for rendering hair, computer storage medium, electronic device

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
GR01 Patent grant
GR01 Patent grant