CN105233498A - Game character staining method and device, user terminal and game system - Google Patents

Game character staining method and device, user terminal and game system Download PDF

Info

Publication number
CN105233498A
CN105233498A CN201510613203.2A CN201510613203A CN105233498A CN 105233498 A CN105233498 A CN 105233498A CN 201510613203 A CN201510613203 A CN 201510613203A CN 105233498 A CN105233498 A CN 105233498A
Authority
CN
China
Prior art keywords
dyeing
pinup picture
masking
game role
parameter
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.)
Granted
Application number
CN201510613203.2A
Other languages
Chinese (zh)
Other versions
CN105233498B (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 CN201510613203.2A priority Critical patent/CN105233498B/en
Publication of CN105233498A publication Critical patent/CN105233498A/en
Application granted granted Critical
Publication of CN105233498B publication Critical patent/CN105233498B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a game character staining method, including the steps: receiving a staining parameter to stain a game character, wherein a first map for displaying colors is loaded in the game character; generating mask information of the first map according to the staining parameter, wherein the mask information includes staining information of each pixel for the first map; staining each pixel of the first map according to the mask information to generate a second map; updating the map loaded in the game character into the second map, and rendering the second map to obtain a stained game character. The invention also discloses a game character staining device and terminal and a game system. The game character can be stained efficiently with high quality.

Description

Game role colouring method, device, user terminal and games system
Technical field
The present invention relates to field of play, particularly relate to a kind of game role colouring method, device, user terminal and games system.
Background technology
For current game, no matter be the client game operated on PC, still operate in the moving game on mobile phone, the personalized customization of game role has been all indispensable function, and coloring system is one of important channel realizing the self-defined game role of player.The coloring system of a set of perfect in shape and function can allow player indiscriminately ad. as one wishes change the color of oneself fashionable dress of institute's control role, hair and even skin in gaming, thus creates various unusual, role's effect of having individual character.
Main two kinds of the Staining Protocol that current coloring system adopts, one is the pinup picture that the fine arts make multiple Color in advance, when player selects a kind of dyestuff to dye, program by pre-configured data query to pinup picture corresponding to dyestuff, with the mode of replacing original pinup picture show role be colored after effect.Particularly, as shown in Figure 1, the dyeing pinup picture that the fine arts are made directly is packaged in game resource to be issued, when needs dyeing, central processing unit (CentralProcessingUnit, CPU) determine where use puts up figure to play up according to game logic, then transfer to graphic process unit (GraphicsProcessingUnit, GPU) directly to load corresponding pinup picture; Another kind realizes based on the dyeing of material system, by adding the parameter of dyeing for role's material, such as color value, degree of mixing etc., then add extra process code when role's material realizes, just can accomplish operationally dynamically to revise material parameters to change the role's effect playing up out.Particularly, as shown in Figure 2, when dyeing, CPU generates the material parameters of material color change needs by the selection of user, and operationally passes to GPU, and GPU generates final Color according to dyeing code, original pinup picture and the material parameters preset.
Summary of the invention
Two kinds of Staining Protocol that background technology is mentioned all can realize dyeing to game role, but also each Shortcomings.For the first Staining Protocol, the main following points of its defect can be found out from its principle: 1, fine arts making workload is very large.Different game role has different fashionable dress, and different fashionable dresses has different Colors again, and this just needs the fine arts to make pinup pictures different in a large number, and the cost of manufacture of game and Production Time be corresponding increase also; 2, the game inclusion issued is excessive.All dyeing pinup pictures that the fine arts make all will be followed game and be released, and these pinup pictures will occupy player's a large amount of download time and disk space.Under secondary generation game background, a size of putting up figure is generally the width of 1024 pixels, the height of 1024 pixels, even if through overcompression, the size of often opening dyeing pinup picture also will about 1,000,000, which results in the problems such as the installation kit volume of game is excessive; 3, the flexibility of coloring system is not enough.All Colors are all based on the pinup picture that the fine arts have been made, therefore limited and fixing Color can only be provided for player, the different parts that cannot realize each model apply the function of any dyestuff, say nothing of the Advanced Effect such as the superposition between dyestuff.The second Staining Protocol is the mainstream scheme of current various types of games application, although this scheme does not need the fine arts to make dyeing pinup picture in advance, and there is stronger flexibility, allow player independently can customize the Color of any parts of role, but it still have following shortcoming: 1, to have negative effect to rendering efficiency.Material code is that the every frame of GPU is played up any one and needed all pixels of model of dyeing all to need the logic performed, even if therefore the simplest add operation consumes and here all can be exaggerated, and then reduce whole game play up frame per second.Can find out, Staining Protocol based on material system needs to add extra code in material system, and usually to reach good Color, need to carry out very complicated computational process to color, such as based on the color change algorithm of form and aspect, saturation degree and brightness, color is needed to change between RGB (RGB) and HSL (form and aspect, saturated, lightness) two kinds of method for expressing, repeatedly division even condition selection (if-else) operation of this process need, these all can have influence on rendering efficiency.Can predict, when playing up the bottleneck becoming game running, Color also just becomes the key factor affecting game experiencing.2, larger restriction has been chosen to coloring algorithm.Usually, role's material is material effect the most complicated in game, has had very many parameters, and engine passes to GPU for CPU to do the number of parameters played up be limited, all the more so on present mobile device.Coloring algorithm often needs more Parameter transfer, passage hybrid algorithm conventional in such as Photoshop, color change for a part needs the parameter of 12 integer types, and one puts up figure and usually can be divided into a lot of part, they need different variable color parameters, the data so will transmitted between CPU and GPU just may reach up to a hundred, and this cannot support in most of hardware, therefore also just limits choosing of coloring algorithm.3, Color is not ideal enough.Under the prerequisite that number of parameters and rendering efficiency all need balance to consider, the Color realized based on material system is often more common, such as a certain position of role's health is all become another one color, or is superimposed with a certain color.And on color pinup picture, a usual region may not only comprise a kind of color, even if color is close, brightness light and shade also has difference, the Color obtained by unified simple algorithm is very limited, cannot retain the model detail that in original pinup picture, the fine arts are drawn, such as clothes fold, dermatoglyph etc., even may cause the mistake on relationship between light and dark in some cases, thus the quality of impact game.
For the problems referred to above, the object of the present invention is to provide a kind of game role colouring method, device, user terminal and games system, the dyeing process that rendering efficiency is high, Color is good, flexibility is good can be realized.
First aspect, provides a kind of game role colouring method, comprises the steps:
Receiving the dyeing parameter that game role is dyeed, wherein, described game role being loaded with the first pinup picture for representing color;
Generate the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture;
According to described masking-out information, dyeing process is carried out to each pixel on described first pinup picture, generate the second pinup picture;
Described game role after the pinup picture loaded is updated to described second pinup picture, obtain the game role after dyeing after playing up.
In the first implementation, described dyeing parameter comprises at least one group of masking-out and generates parameter, masking-out generating algorithm and coloring algorithm;
The then described masking-out information generating described first pinup picture according to described dyeing parameter, specifically comprises:
Generate at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence; Mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
In the second implementation, described dyeing parameter comprises at least one group of masking-out and generates parameter and coloring algorithm;
The described masking-out information generating described first pinup picture according to described dyeing parameter, specifically comprises:
Generate at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence;
Mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
In the third implementation, described masking-out generating algorithm is any one or multiple combination in region growing algorithm, polygon dimensioning algorithm or mark chart pasting method; Described coloring algorithm be do not dye, any one or multiple combination in gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm.
The 4th kind of implementation, described according to described masking-out information to each pixel on described first pinup picture carry out dyeing process, generate the second pinup picture, specifically comprise:
Read described first pinup picture, for each pixel on described first pinup picture, from described masking-out information, inquire about the region to be dyed that each pixel belongs to;
According to the coloring algorithm that described region to be dyed configures, dyeing process is carried out to the pixel in described region to be dyed;
Pixel after dyeing process is saved on a new pinup picture, generates the second pinup picture.
The 5th kind of implementation, described according to described masking-out information to each pixel on described first pinup picture carry out dyeing process, generate the second pinup picture, specifically comprise:
Read the first pinup picture of the first form, and the picture format of described first pinup picture is converted to the second form, wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression;
For each pixel on described first pinup picture, from described masking-out information, inquire about the region to be dyed that each pixel belongs to;
According to the coloring algorithm that described region to be dyed configures, dyeing process is carried out to the pixel in described region to be dyed;
Pixel after dyeing process is saved on a new pinup picture, pinup picture in the middle of generating;
The picture format of described middle pinup picture is converted into the first form, generates the second pinup picture.
The 6th kind of implementation, after generation second pinup picture, also comprise:
Store described second pinup picture.
The 7th kind of implementation, after generation second pinup picture, also comprise:
Store described second pinup picture.
The 8th kind of implementation, described game role colouring method also comprises:
Described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
Second aspect, provides a kind of game role dyeing apparatus, comprising:
Parameter receiving element, for receiving the dyeing parameter dyeed to game role, wherein, described game role is loaded with the first pinup picture for representing color;
Masking-out information generating unit, for generating the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture;
Dye unit, for carrying out dyeing process according to described masking-out information to each pixel on described first pinup picture, generates the second pinup picture;
Rendering unit, for the pinup picture loaded on described game role is updated to described second pinup picture, obtains the game role after dyeing after playing up.
In the first implementation, described dyeing parameter comprises at least one group of masking-out and generates parameter, masking-out generating algorithm and coloring algorithm;
Then described masking-out information generating unit specifically comprises:
Algorithm configuration unit, for generating at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and configures described coloring algorithm to the region to be dyed of correspondence;
Indexing unit, the coloring algorithm of the region to be dyed that each pixel for marking on described first pinup picture belongs to and correspondence, generates masking-out information.
In the second implementation, described dyeing parameter comprises at least one group of masking-out and generates parameter and coloring algorithm;
Then described masking-out information generating unit specifically comprises:
Algorithm configuration unit, for generating at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition according to described masking-out, and configures described coloring algorithm to the region to be dyed of correspondence;
Indexing unit, the coloring algorithm of the region to be dyed that each pixel for marking on described first pinup picture belongs to and correspondence, generates masking-out information.
In the third implementation, described masking-out generating algorithm is any one or multiple combination in region growing algorithm, polygon dimensioning algorithm or mark chart pasting method; Described coloring algorithm be do not dye, any one or multiple combination in gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm.
The 4th kind of implementation, described dye unit specifically comprises:
Query unit, for reading described first pinup picture, for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information;
Dyeing processing unit, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed;
Generation unit, the pixel after dyeing being processed is saved in a new pinup picture, generates the second pinup picture.
The 5th kind of implementation, described dye unit specifically comprises:
First format conversion unit, for reading the first pinup picture of the first form, and is converted to the second form by the picture format of described first pinup picture, and wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression;
Query unit, for for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information;
Dyeing processing unit, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed;
Generation unit, the pixel after dyeing being processed is saved in a new pinup picture, pinup picture in the middle of generating, and wherein, the picture format of described middle pinup picture is the second form;
Second format conversion unit, for the picture format of described middle pinup picture is converted into the first form, generates the second pinup picture.
The 6th kind of implementation, described game role dyeing apparatus also comprises:
Memory cell, for storing described second pinup picture.
The 7th kind of implementation, described game role dyeing apparatus also comprises:
Memory cell, for storing described second pinup picture.
The 8th kind of implementation, described game role dyeing apparatus also comprises:
Transmitting element, for described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
The third aspect, provides a kind of user terminal, comprises above-mentioned game role dyeing apparatus.
Fourth aspect, provides a kind of games system, comprises first user terminal, at least one the second user terminal and game server;
Wherein, described first user terminal and described second user terminal comprise above-mentioned game role dyeing apparatus;
Described first user terminal, for receiving the dyeing parameter dyeed to game role, generating the game role after dyeing according to described dyeing parameter, and described dyeing parameter is sent to described game server;
Described game server, for receiving described dyeing parameter, and is sent to described second user terminal by described dyeing parameter;
Described second user terminal, for after the described dyeing parameter of reception, generates the game role after dyeing according to described dyeing parameter.
Game role colouring method provided by the invention, device, user terminal and games system, by receiving the self-defining dyeing parameter of player's input, after generating masking-out information according to described dyeing parameter again, the second pinup picture after dyeing is generated according to masking-out information, again described second pinup picture is loaded into after on game role, obtain the game role after dyeing, it has following beneficial effect:
(1), because the present invention supports multiple coloring algorithm, instead of originally simple color and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), by originally needing every frame in material code to play up all computational process of carrying out many times change into only needs and process in internal memory once, what decrease game plays up consumption, provides the fluency of Color and game simultaneously.
(3), only need when different user terminals carries out data syn-chronization to carry out the synchronous of a small amount of dyeing parameter data, and do not need the pinup picture result after transmitting dyeing, decrease the bandwidth consumption of synchrodata between player, reduce the capacity needed for game server storage.
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the principle schematic of the first Staining Protocol that prior art provides.
Fig. 2 is the principle schematic of the second Staining Protocol that prior art provides.
Fig. 3 is the schematic flow sheet of the game role colouring method that first embodiment of the invention provides.
Fig. 4 is the schematic diagram representing masking-out information with two-dimensional array that the embodiment of the present invention provides.
Fig. 5 is the structural representation of the game role dyeing apparatus that second embodiment of the invention provides.
Fig. 6 is a kind of structural representation of the masking-out information generating unit shown in Fig. 5.
Fig. 7 is the another kind of structural representation of the masking-out information generating unit shown in Fig. 5.
Fig. 8 is a kind of structural representation of the dye unit shown in Fig. 5.
Fig. 9 is the another kind of structural representation of the dye unit shown in Fig. 5.
Figure 10 is the structural representation of the game role dyeing apparatus that another embodiment of the present invention provides.
Figure 11 is the structural representation of the game role dyeing apparatus that third embodiment of the invention provides.
Figure 12 is the structural representation of the user terminal that fourth embodiment of the invention provides.
Figure 13 is the structural representation of the games system that fifth embodiment of the invention provides.
Figure 14 is the structural representation of the games system that sixth embodiment of the invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of game role colouring method, device, user terminal and games system, for dyeing to the game role in game, is described in detail respectively below.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the game role colouring method that first embodiment of the invention provides.Wherein, shown game role colouring method can be performed by game role dyeing apparatus, and at least comprises step S101 to S104.
S101, receives the dyeing parameter dyeed to game role, wherein, described game role is loaded with the first pinup picture for representing color.
In embodiments of the present invention, described game role can be the object occurred in gaming, any article etc. that described game role can be a game, game article or occurs in gaming.Wherein, general, described game role comprises the first pinup picture on the ontology model (as a 3D model) of game role and ontology model as described in being carried in, described first pinup picture is for representing the appearance colouring information of described game role, as for a game, described first pinup picture can be used for the colouring information at each position such as skin color, hair color, clothes color representing described game role.
In embodiments of the present invention, in order to meet the needs that player dyes to described game role, described game role dyeing apparatus can provide a dyeing editing machine, can arrange the various dyeing parameters for dyeing in described dyeing editing machine, player is by selecting described dyeing parameter to realize the object dyeed to game role.
S102, generate the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture.
In one embodiment of the invention, player can comprise masking-out by the described dyeing parameter that described dyeing editing machine inputs and generate parameter, masking-out generating algorithm and coloring algorithm, described game role dyeing apparatus obtains described dyeing parameter, and the masking-out information of described first pinup picture is generated according to described dyeing parameter, particularly:
First, generate at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence.
In embodiments of the present invention, player selectable selects different masking-out generating algorithms to obtain region to be dyed, and accordingly, the type that the masking-out selected by it generates parameter is also different, is described below for several frequently seen masking-out generating algorithm.
In embodiments of the present invention, if when the masking-out generating algorithm of player's choice for use is region growing algorithm, then described game role dyeing apparatus can require that player inputs two masking-outs and generates parameter simultaneously, the i.e. tolerance of a starting pixels point and an expression color distortion, now described game role dyeing apparatus is by searching the consecutive points being less than described tolerance with the color difference of starting pixels point, and with the consecutive points met the demands for starting pixels point, progressively expand outwardly, the close region of a color met the demands is obtained, i.e. region to be dyed until last.
In embodiments of the present invention, if the masking-out generating algorithm of player's choice for use is polygon dimensioning algorithm.The polygon that then described game role matching requirements player marks arbitrary shape on described first pinup picture represents a region to be dyed, and described region to be dyed describes by a list of coordinates on described first pinup picture.
In embodiments of the present invention, if the masking-out generating algorithm of player's choice for use is mark chart pasting method, then described game role matching requirements player selects a point to be dyed, wherein, described mark pinup picture has pre-defined the region belonging to each point on described first pinup picture, thus, after described player selects a point to be dyed, described game role device can judge this region belonging to point to be dyed, thus obtains region to be dyed.
It should be noted that, in the invention process, described game role dyeing apparatus may need to generate multiple region to be dyed, accordingly, need player to input many group masking-outs and generate parameter and masking-out generating algorithm, and for same the first pinup picture, player selectable is selected different masking-outs and is generated parameter and masking-out generating algorithm, and the present invention is not specifically limited.
It should be noted that; a pixel of described first pinup picture only should should belong to a region to be dyed; if when therefore the result of same pixel through the region to be dyed that different masking-out generating algorithms calculates is different; the arithmetic result performed before can selecting to cover by the arithmetic result performed below; or cover the arithmetic result performed below by the arithmetic result performed before, these schemes are all within protection scope of the present invention.
In embodiments of the present invention, behind the described region to be dyed of acquisition, the coloring algorithm that described game role device also requires player to be input as each region to be dyed to configure, to realize the dyeing object reached desired by player.Wherein, described coloring algorithm comprise do not dye, gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm, if described coloring algorithm is not for dye, then represent and do not carry out dyeing process to the pixel in this region to be dyed, namely the pixel in described region to be dyed remains unchanged.If described coloring algorithm gray-scale map transfer algorithm, then represent and the pixel in this region to be dyed be converted to the pixel only with gray value.If described coloring algorithm form and aspect mapping algorithm, then described game role device is the color that form and aspect, saturation degree and brightness describe by the color transition value of Red Green Blue described, and then can be implemented in do not change brightness prerequisite under adjust color, or adjust the specific demands such as brightness under the prerequisite not changing color.If described coloring algorithm is passage hybrid algorithm, then described game role dyeing apparatus adjusts Color according to the ratio of Red Green Blue in described first pinup picture.Such as, described passage hybrid algorithm can according to the ratio of Red Green Blue in described first pinup picture, adjust Color, now, input parameter comprises the integer data that 12 scopes are-200 to 200, is divided into four groups, and first three groups is respectively the percentage of the red, green, blue three kinds of colors increasing or reduce on red (R), green (G), blue (B) three passages of described first pinup picture, positive number represents increase, and negative number representation reduces.Last group data describe the percent value of the red, green, blue three kinds of colors directly increased.The specific formula for calculation of this algorithm is as follows: R=RValue* (R1%)+GValue* (G1%)+BValue* (B1%)+255* (ConstR%); G=RValue* (R2%)+GValue* (G2%)+BValue* (B2%)+255* (ConstG%); B=RValue* (R3%)+GValue* (G3%)+BValue* (B3%)+255* (ConstB%) wherein R, G, B is respectively the redness, green and the blue result that solve through passage hybrid algorithm, R1, G1, B1 are one group, represent for red, green, blue three chrominance channel in described first pinup picture being revised red percentage, in like manner R2, G2, B2 are for revising green parameter, and R3, G3, B3 are for revising blue parameter.Last ConstR, ConstG and ConstB directly increase corresponding color.Because the value of a certain color in the primitive color of described first pinup picture may be very little, therefore the percentage of input parameter can be expanded to the scope of-200 to 200, to meet variable color demand as much as possible.
It should be noted that, in embodiments of the present invention, in order to reach specific Color, may need to use multiple coloring algorithm to same region to be dyed, these schemes, within protection scope of the present invention, do not repeat them here yet simultaneously.
It should be noted that; in embodiments of the present invention; also can there be other masking-out generating algorithm and coloring algorithms; also by interpolation masking-out generating algorithm and coloring algorithm, described game role dyeing apparatus is expanded; these schemes are also within protection scope of the present invention, and the present invention does not repeat at this.
Obviously, while above-mentioned selective staining algorithm, described game role dyeing apparatus also may need player to input color change parameter needed for dyeing simultaneously, such as brightness changing value or change percentage, the parameters such as the color change value of Red Green Blue or the percentage of change, due to the common practise that this is those skilled in the art, the present invention does not repeat at this.
Then, mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
In embodiments of the present invention, by calculating each region to be dyed, and coloring algorithm being configured to behind each region to be dyed, described game role dyeing apparatus can generate the region to be dyed of each pixel ownership on described first pinup picture of mark and the masking-out information of coloring algorithm.
In a possible embodiment, described masking-out information can be expressed as a two-dimensional array, the subscript of this two-dimensional array illustrates it at pixel coordinate corresponding to described first pinup picture, value illustrates the numbering in a region to be dyed, and the meeting of the numbering in each region to be dyed and a coloring algorithm correspondence.
Such as, as shown in Figure 4, if described first pinup picture is the pinup picture of 9 × 11, then accordingly, the described masking-out information of generation is also the two-dimensional array of 9 × 11, each pixel one_to_one corresponding on described two-dimensional array and described first pinup picture.Wherein, in described two-dimensional array, the value of array illustrates the numbering in the corresponding region to be dyed belonging to pixel, and the adjacent pixel with identical value then forms formation region to be dyed.As shown in Figure 2, two-dimensional array intermediate value is the numbering that the pixel of 0,1,2,3 correspondences collectively form multiple region to be dyed.
In embodiments of the present invention, suppose that described game role is a game, assuming that player selectes the head zone of game, and be for yellow by the color change of head to the dying operation of described head zone, the body region of selected game, and be that the color of body region is lightened to the dying operation of body region; The leg area of selected game, and be gray scale by the color transition of leg area to the dying operation of described leg area, and other regions do not process.Now, described game role device can according to the dyeing parameter generation masking-out information as shown in Figure 4 of player's input, wherein, two-dimemsional number class value is the head zone of region corresponding to game of 1 correspondence, the coloring algorithm of its configuration is passage hybrid algorithm, two-dimemsional number class value is the body region of region corresponding to game of 2 correspondences, the coloring algorithm of its configuration is form and aspect mapping algorithm, two-dimemsional number class value is the foot areas of region corresponding to game of 3 correspondences, the coloring algorithm of its configuration is gray-scale map transfer algorithm, two-dimemsional number class value is other regions corresponding to game, region of 0 correspondence, the coloring algorithm of its configuration is not for dye.
It should be noted that, in one embodiment of the invention, can be that the region to be dyed that the pixel of 0 correspondence is combined to form is defined as the region to be dyed of not carrying out dyeing by two-dimensional array, value as two-dimensional array that can be corresponding by the pixel in the region of unselected for player the first pinup picture is all defined as 0, certainly, also can have other define methods, the present invention is not specifically limited.
It should be noted that, in the invention process, the numbering in the corresponding region to be dyed of value of each two-dimensional array, and the numbering in each region to be dyed has been configured with the combination of a kind of coloring algorithm or multiple coloring algorithm according to the dyeing parameter that player inputs.
In another embodiment of the present invention, player can be comprised masking-out and generates parameter and coloring algorithm being inputted described dyeing parameter by described dyeing editing machine, described game role dyeing apparatus obtains described dyeing parameter, and the masking-out information of described first pinup picture is generated according to described dyeing parameter, particularly:
First, generate at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence.
Then, mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
In embodiments of the present invention, masking-out generating algorithm is pre-set by described game role dyeing apparatus, the masking-out that described game role dyeing apparatus can be selected according to player generates masking-out generating algorithm corresponding to parameter choose, without the need to being selected input by player, facilitates the operation of player.
It should be noted that, in embodiments of the present invention, when loading described first pinup picture, in order to the card reducing game pauses, described game role dyeing apparatus needs to support multithreading Asynchronous loading, if there is pinup picture buffer memory, also supports from buffer memory, directly obtain described first pinup picture.
S103, carries out dyeing process according to described masking-out information to each pixel on described first pinup picture, generates the second pinup picture.
In embodiments of the present invention, described game coloring device, after the described masking-out information of generation, can carry out dyeing process, to generate the second pinup picture according to described masking-out information to described first pinup picture.
In one embodiment of the invention, described step S103 specifically comprises:
S1031, reads described first pinup picture, for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information.
S1032, according to the coloring algorithm that described region to be dyed configures, carries out dyeing process to the pixel in described region to be dyed.
S1033, is saved in the pixel after dyeing process on a new pinup picture, generates the second pinup picture.
In embodiments of the present invention, as shown in Figure 4, described game role dyeing apparatus first reads a pixel of described first pinup picture (if coordinate is (0, 0) pixel), then the region to be dyed (being numbered 0 of corresponding region to be dyed) that inquiry is corresponding with this pixel, the coloring algorithm configured according to described region to be dyed is (from definition, the coloring algorithm that this region to be dyed configures is not for dyeing), dyeing process (now for not dyeing) is carried out to the pixel in described region to be dyed, again the pixel after dyeing process is saved on a new pinup picture.So, all pixels on described first pinup picture of described game role dyeing apparatus traversal, and after dyeing process being carried out to all pixels on described first pinup picture according to identical processing procedure, the second pinup picture after dyeing can be obtained.
In another embodiment of the present invention, described step S103 specifically comprises:
S1131, reads the first pinup picture of the first form, and the picture format of described first pinup picture is converted to the second form, and wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression.
In embodiments of the present invention, common, the form of described first pinup picture is the first form through overcompression, as picture formats such as DDS, PVRTC or ETC.Concrete, on desktop computer, described first form normally DDS, iOS device is then PVRTC form, Android device is ETC form.Wherein, for the ease of entering the process of coloring algorithm, the picture format of described first pinup picture need be converted into the second form without compression, as A8R8G8B8 form can be converted into, namely using 32 bit data to represent a color, is 8 bit representation transparencies respectively, and 8 bit representations are red, 8 bit representations are green, and 8 bit representations are blue.
S1132, for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information.
S1133, according to the coloring algorithm that described region to be dyed configures, carries out dyeing process to the pixel in described region to be dyed.
S1134, is saved on a new pinup picture by the pixel after dyeing process, pinup picture in the middle of generating.
In embodiments of the present invention, the form of the described middle pinup picture of generation is also the second form without compression.
S1135, is converted into the first form by the picture format of described middle pinup picture, generates the second pinup picture.
In embodiments of the present invention, described game role device also needs to transform the form of described middle pinup picture, and generate the second pinup picture being applicable to carry out picture and playing up, now, the picture format of described second pinup picture is the first form.
Concrete, on desktop computer, the object format normally DDS of compression, and in iOS device boil down to PVRTC form, Android device is ETC form.Concrete compressed format should be consistent with the form of described first pinup picture (i.e. the first form).
It should be noted that if need the pinup picture of mipmap, need the mipmap information at different levels simultaneously generating the second pinup picture after dyeing in this process according to demand.
S104, is updated to described second pinup picture by the pinup picture loaded on described game role, obtains the game role after dyeing after playing up.
In embodiments of the present invention, the pinup picture that described game role loads, after described second pinup picture of generation, is updated to described second pinup picture by described game role dyeing apparatus, obtains the game role after dyeing, namely complete a dyeing course after playing up.
Concrete, in one embodiment of the invention, described game role dyeing apparatus can comprise a CPU and GPU, wherein, described CPU sends to described GPU to carry out playing up the game role after obtaining dyeing after the pinup picture loaded on described game role is updated to described second pinup picture, the i.e. game role dyeing apparatus that provides of the embodiment of the present invention, its most of computing carrying out dyeing process has been come by CPU, and GPU only need perform last rendering operation, reduce the computing pressure of GPU.
Game role colouring method provided by the invention, by receiving the self-defining dyeing parameter of player's input, after generating masking-out information according to described dyeing parameter again, the second pinup picture after dyeing is generated according to masking-out information, again described second pinup picture is loaded into after on game role, obtain the game role after dyeing, and there is following beneficial effect:
(1), due to the embodiment of the present invention support multiple coloring algorithm, instead of simple color originally and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), by originally needing every frame in material code to play up all computational process of carrying out many times change into only needs and process in internal memory once, what decrease game plays up consumption, improves the fluency of Color and game simultaneously.
It should be noted that, in another embodiment of the present invention, in step s 103, after generation second pinup picture, also comprise:
Store described second pinup picture.
Wherein, described game role dyeing apparatus is preserved the second pinup picture that dyeing process generates, for described second pinup picture configures a memory address, when needs call described second pinup picture, can directly call described second pinup picture according to described memory address, and not need again again again through dyeing process.
Obvious, described first pinup picture also provided a memory address, when needs reduce described game role, only need reload described first pinup picture on described game role, i.e. reducible described game role.
In addition, when game running, pinup picture usually can using the path relative to Resource TOC as unique identification, and in embodiments of the present invention, newly-generated pinup picture identifies with special naming rule.Such as, the memory address form class of described first pinup picture is like " char/hero/0002/0002_body_body.dds ", the second pinup picture after dyeing represents a pinup picture do not existed at external memory adding ":: " before, and the second pinup picture memory address namely after dyeing is ":: char/hero/0002/0002_body_body.dds ".
It should be noted that, in another embodiment, for the game of a networking, when a player is after dyeing to his game role, after this game role of user terminal displays then on other players also needs to be through dyeing, thus, described game role colouring method also comprises:
Described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
In embodiments of the present invention, described game role dyeing apparatus is after receiving described dyeing parameter, described dyeing parameter is sent to game server, now, described dyeing parameter is sent to other user terminals registered at described game server by described game server, other user terminals perform step S101 to S104 step again, thus the effect of data syn-chronization is reached at different user terminals, because described dyeing parameter is all integer or float, therefore data volume is very little, the running load of described game server can not be affected, in addition, after described game role dyeing apparatus also can first compress described dyeing parameter, described game server is given again by the Packet Generation that obtains after compression, the further data volume reducing transmission.
The embodiment of the present invention also provides a kind of game role dyeing apparatus and has the user terminal of this game role dyeing apparatus, for performing the game role colouring method described in above-mentioned any embodiment.Here described user terminal can be smart mobile phone, panel computer, desktop computer, notebook computer or other intelligent terminals, and the present invention is not specifically limited.
See also Fig. 5, Fig. 5 is the structural representation of the game role dyeing apparatus that second embodiment of the invention provides.Described game role dyeing apparatus 200 can be arranged in described user terminal, and for performing described game role colouring method, it at least comprises parameter receiving element 210, masking-out information generating unit 220, dye unit 230 and rendering unit 240, wherein:
Described parameter receiving element 210, for receiving the dyeing parameter dyeed to game role, wherein, described game role is loaded with the first pinup picture for representing color.
In embodiments of the present invention, in order to meet the needs that player dyes to described game role, described parameter receiving element 210 can provide a dyeing editing machine, can arrange the various dyeing parameters for dyeing in described dyeing editing machine, player is by selecting described dyeing parameter to realize the object dyeed to game role.
Described masking-out information generating unit 220, for generating the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture.
Particularly, see also Fig. 6, in one embodiment of the invention, described dyeing parameter comprises at least one group of masking-out and generates parameter, masking-out generating algorithm and coloring algorithm, then described masking-out information generating unit 220 comprises:
First algorithm configuration unit 221, for generating at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and configures described coloring algorithm to the region to be dyed of correspondence.
Preferably, described masking-out generating algorithm is any one or the multiple combination in region growing algorithm, polygon dimensioning algorithm or mark chart pasting method; Described coloring algorithm be do not dye, any one or multiple combination in gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm.
First indexing unit 222, the coloring algorithm of the region to be dyed that each pixel for marking on described first pinup picture belongs to and correspondence, generates masking-out information.
See also Fig. 7, in another embodiment of the present invention, described dyeing parameter comprises at least one group of masking-out and generates parameter and coloring algorithm, then described masking-out information generating unit 220 comprises:
Second algorithm configuration unit 223, generates at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition, and configures described coloring algorithm to the region to be dyed of correspondence according to described masking-out.
Second indexing unit 224, marks each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generates masking-out information.
In embodiments of the present invention, described masking-out generating algorithm is pre-set by described second algorithm configuration unit 223, the masking-out that described second algorithm configuration unit 223 can be selected according to player generates masking-out generating algorithm corresponding to parameter choose, without the need to being selected by player, facilitates the operation of player.
Described dye unit 230, for carrying out dyeing process according to described masking-out information to each pixel on described first pinup picture, generates the second pinup picture.
See also Fig. 8, in one embodiment of the invention, described dye unit 230 specifically comprises:
Query unit 231, for reading described first pinup picture, for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information.
Dyeing processing unit 232, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed.
Generation unit 233, the pixel after dyeing being processed is saved in a new pinup picture, generates the second pinup picture.
See also Fig. 9, in another embodiment of the present invention, described dye unit 230 specifically comprises:
First format conversion unit 234, for reading the first pinup picture of the first form, and the picture format of described first pinup picture is converted to the second form, wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression.
Query unit 235, for for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information.
Dyeing processing unit 236, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed.
Generation unit 237, the pixel after dyeing being processed is saved in a new pinup picture, and pinup picture in the middle of generating, wherein, the picture format of described middle pinup picture is the second form.
Second format conversion unit 238, for the picture format of described middle pinup picture is converted into the first form, generates the second pinup picture.
Described rendering unit 240, for the pinup picture loaded on described game role is updated to described second pinup picture, obtains the game role after dyeing after playing up.
In embodiments of the present invention, described rendering unit 240 can receive described second pinup picture, and the pinup picture loaded on described game role is updated to described second pinup picture, obtains the game role after dyeing after playing up.
It should be noted that, in embodiments of the present invention, described dyeing editing machine also provides preview function, and the game role after the dyeing that described rendering unit 240 obtains after playing up can carry out preview in dyeing editing machine.
In sum, the game role dyeing apparatus 200 that the embodiment of the present invention provides and user terminal, described parameter receiving element 210 receives the self-defining dyeing parameter of player's input, after masking-out information generating unit 220 generates masking-out information according to described dyeing parameter again, described dye unit 230 generates the second pinup picture after dyeing according to masking-out information, again described second pinup picture is loaded into after on game role, obtains the game role after dyeing, and there is following beneficial effect:
(1), due to the embodiment of the present invention support multiple coloring algorithm, instead of simple color originally and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), by originally needing every frame in material code to play up all computational process of carrying out many times change into only needs and process in internal memory once, what decrease rendering unit 240 plays up consumption, improves the fluency of Color and game simultaneously.
See also Figure 10, it should be noted that, in an alternative embodiment of the invention, described game role dyeing apparatus 200 also comprises:
Memory cell 250, for storing described second pinup picture.
Wherein, described memory cell 250 is preserved, for described second pinup picture configures a memory address, when needs call described second pinup picture the second pinup picture that dyeing process generates, can directly call described second pinup picture according to described memory address, and not need again again again through dyeing process.
Obvious, memory cell 250 also also provided a memory address for described first pinup picture, when needs reduce described game role, only need reload described first pinup picture, i.e. reducible described game role.
In addition, when game running, pinup picture usually can using the path relative to Resource TOC as unique identification, and in embodiments of the present invention, newly-generated pinup picture identifies with special naming rule.Such as, the memory address form class of described first pinup picture is like " char/hero/0002/0002_body_body.dds ", the second pinup picture after dyeing represents a pinup picture do not existed at external memory adding ":: " before, and the second pinup picture memory address namely after dyeing is ":: char/hero/0002/0002_body_body.dds ".
It should be noted that, in another embodiment, for the game of a networking, when a player is after dyeing to his game role, after this game role of user terminal displays then on other players also needs to be through dyeing, thus, described game role dyeing apparatus 200 also comprises:
Transmitting element 260, for described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
In embodiments of the present invention, after receiving described dyeing parameter, described dyeing parameter is sent to game server by described transmitting element 260, now, described dyeing parameter is sent to other user terminals registered at described game server by described game server, after other user terminals perform above-mentioned dyeing process again, thus the effect of data syn-chronization is reached at different user terminals, because described dyeing parameter is all integer or float, therefore data volume is very little, the running load of described game server can not be affected, in addition, after described game role dyeing apparatus also can first compress described dyeing parameter, described game server is given again by the Packet Generation that obtains after compression, the further data volume reducing transmission.
See also Figure 11, Figure 11 is the structural representation of the game role dyeing apparatus that third embodiment of the invention provides.Described game role dyeing apparatus 300 comprises editor module 310, stores load-on module 320, masking-out information computational module 330, staining modules 340, format converting module 350, cache module 360, replacement module 370 and multi-threading parallel process module 380, wherein:
Described editor module 310 is for providing the editor of dyeing parameter and the function of effect preview for player.Comprise patterned User Interface specifically, with the data communications method that render engine is mutual, Color live preview function, and the function generating Staining Protocol according to dyeing parameter.
Described storage load-on module 320 is storage and the load-on module of dyeing parameter, for the Staining Protocol that persistence preservation player designs, comprise the form definition of masking-out information specifically, the data format definition of dyeing parameter, the memory function of data, the value-added tax function of data, compression functions etc. is conciliate in the compression of data.Described storage load-on module 320, as the input of whole game role dyeing apparatus 300, can obtain various data needed for dyeing and parameter from disk or network.
Described masking-out information computational module 330 generates for the dyeing parameter inputted according to player the masking-out information distinguishing region to be dyed.Specifically, described masking-out information computational module 330 should comprise the realization of region growing algorithm, polygon dimensioning algorithm and mark chart pasting method three kinds of masking-out information generating modes, and provide expanded function flexibly, mode is distinguished in the convenient more region of expansion.Described masking-out information computational module 330 take dyeing parameter as input, and masking-out information is for exporting.
Described staining modules 340 is coloring algorithm Executive Modules of core, for the second pinup picture needed for masking-out information and dyeing parameter generation.Specifically, described staining modules 340 comprises the realization of the multiple image processing algorithms such as passage hybrid algorithm, form and aspect mapping algorithm, gray-scale map generating algorithm, and the image processing algorithm providing framework support more multi-form.
Described format converting module 350 is pinup picture format converting module, for the pinup picture conversion between various form.Comprise specifically by the form of the first pinup picture from DDS, PVRTC or ETC format conversion to A8R8G8B8 form, and by the form of the second pinup picture from A8R8G8B8 format conversion to DDS, PVRTC or ETC form.Described format converting module 350 also needs convergent-divergent and the mipmap systematic function of supporting pinup picture size.
Described cache module 360 is that pinup picture resource loads and cache module, described cache module 360 for from External memory equipment load dyeing need original pinup picture (i.e. the first pinup picture), zone marker pinup picture etc., and by described first pinup picture according to certain rule cache in internal memory.Specifically, the loading procedure support packing resource of described first pinup picture and the data in magnetic disk source of resource two kinds of forms of not packing, cache algorithm adopts non-service regeulations recently to replace.
Described replacement module 370 is for replacing with the second pinup picture dyeed by the first pinup picture.Specifically, described replacement module 370 needs the list safeguarding dyed pinup picture, and whether distinguishes this pinup picture through dyeing process according to special naming rule, and is through what kind of Staining Protocol and obtains current effect.In addition, described replacement module 370 also needs to provide the function of being reduced by Color, namely cancels the effect of dyeing.
Described multi-threading parallel process module 380 is for accelerating the formation speed that dyes.Be to provide a background thread executive's interface specifically, for game role dyeing apparatus 300 provides the function of parallel dyeing, the function of Asynchronous loading pinup picture is provided simultaneously, avoids the disk read-write process loading as pinup picture in dyeing course and storing to cause the card of game to pause.
In sum, the game role dyeing apparatus 300 that the embodiment of the present invention provides, described editor module 310 receives the self-defining dyeing parameter of player's input, after described masking-out information computational module 330 generates masking-out information according to described dyeing parameter again, described dye unit 340 generates the second pinup picture after dyeing according to masking-out information, by described replacement module 370, described second pinup picture is loaded into after on game role again, obtains the game role after dyeing, and there is following beneficial effect:
(1), due to the embodiment of the present invention support multiple coloring algorithm, instead of simple color originally and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), by originally needing every frame in material code to play up all computational process of carrying out many times change into only needs and process in internal memory once, what decrease game plays up consumption, improves the fluency of Color and game simultaneously.
See also Figure 12, Figure 12 is the structural representation of the user terminal that fourth embodiment of the invention provides.
Wherein, as shown in figure 12, this user terminal 400 can comprise: at least one processor 4001, wherein, described processor 4001 comprises at least one CPU and at least one GPU, at least one network interface 4004, user interface 4003, memory 4005, at least one communication bus 4002 and display screen 4006.Wherein, communication bus 4002 is for realizing the connection communication between these assemblies.
Wherein, user interface 4003 can comprise display screen (Display), keyboard (Keyboard), and optional user interface 4003 can also comprise wireline interface, the wave point of standard.Network interface 4004 optionally can comprise wireline interface, the wave point (as WI-FI interface) of standard.Memory 4005 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 4005 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 4001.As shown in figure 12, operating system, network communication module, Subscriber Interface Module SIM and games can be comprised as in a kind of memory 4005 of computer-readable storage medium.Wherein, described games can comprise the model of game role, original pinup picture resource (the first pinup picture) and various mark pinup pictures etc.
In the user terminal 400 shown in Figure 12, network interface 4004 is mainly used in connecting game server, and the CPU in processor 4001 may be used for calling the games stored in memory 4005, and performs following operation:
Being received the dyeing parameter that game role is dyeed of player's input by user interface 4003, wherein, described game role being loaded with the first pinup picture for representing color.
Wherein, described CPU can read or load game role and the first pinup picture from memory 4005.
Generate the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture.
According to described masking-out information, dyeing process is carried out to each pixel on described first pinup picture, generate the second pinup picture, and the pinup picture loaded on described game role is updated to described second pinup picture.
GPU in described processor 4001 can receive the second pinup picture that described CPU transmits, and performs following steps:
According to described second pinup picture, the rear game role obtained after dyeing is played up to described game role.
Wherein, in one embodiment, described second pinup picture generated also can be stored into described memory 4005 by described CPU.
Wherein, in one embodiment, the Staining Protocol that player also can design by described CPU, such as, comprise masking-out information, dyeing parameter etc. and be stored in memory 4005.
In one embodiment, described CPU also sends to game server by after the described dyeing parameter compression received by network interface 4004.
In one embodiment, described CPU supports multi-threading parallel process, to accelerate the formation speed that dyes.Be to provide a background thread executive's interface specifically, to provide the function of parallel dyeing, provide the function of Asynchronous loading pinup picture simultaneously, avoid pinup picture in dyeing course to load and store such disk read-write process and cause the card of game to pause.
In sum, the user terminal 400 that the embodiment of the present invention provides, described CPU is by receiving the self-defining dyeing parameter of player's input, after generating masking-out information according to described dyeing parameter again, generate the second pinup picture after dyeing according to masking-out information, described second pinup picture is loaded into after on game role and plays up after receiving the second pinup picture of described CPU transmission by described GPU, obtain the game role after dyeing, it has following beneficial effect:
(1), due to the embodiment of the present invention support multiple coloring algorithm, instead of simple color originally and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), described second subsides map generalization is performed and disposable generation by CPU completely, and GPU only need perform the second pinup picture to be loaded on game role and plays up, without the need to transmitting dyeing parameter between CPU and GPU, GPU does not need to perform extra dyeing code when playing up yet, decrease the computing consumption of GPU, improve the fluency of Color and game simultaneously.
(3), when different user terminals carries out data syn-chronization only need to carry out the synchronous of a small amount of dyeing parameter, and do not need the pinup picture after transmitting dyeing, decrease the bandwidth consumption of synchrodata between player, reduce the capacity needed for game server storage.
See also Figure 13, fifth embodiment of the invention also provides a kind of games system 500, and described games system 500 comprises at least one first user terminal 510, at least one the second user terminal 520 and game server 530, wherein,
Described first user terminal 510 and described second user terminal 520 comprise the game role dyeing apparatus described in above-mentioned any embodiment; Or described first user terminal 510 and described second user terminal 520 are the user terminal described in third embodiment of the invention.
Described first user terminal 510, for receiving the dyeing parameter dyeed to game role, generating the game role after dyeing according to described dyeing parameter, and described dyeing parameter is sent to described game server 530.
Described game server 530, for receiving described dyeing parameter, and is sent to described second user terminal 520 by described dyeing parameter.
Described second user terminal 520, for after the described dyeing parameter of reception, generates the game role after dyeing according to described dyeing parameter.
In sum, the games system 500 that the embodiment of the present invention provides, by receiving the self-defining dyeing parameter of player's input, after generating masking-out information according to described dyeing parameter again, the second pinup picture after dyeing is generated according to masking-out information, again described second pinup picture is loaded into after on game role, obtains the game role after dyeing, and there is following beneficial effect:
(1), due to the embodiment of the present invention support multiple coloring algorithm, instead of simple color originally and replace and superposition, make Color can retain various details in original pinup picture as much as possible, realize more exquisite careful Color.
(2), by originally needing every frame in material code to play up all computational process of carrying out many times change into only needs and process in internal memory once, what decrease game plays up consumption, improves the fluency of Color and game simultaneously.
(3), only need when different user terminals carries out data syn-chronization to carry out the synchronous of a small amount of dyeing parameter data, and do not need the pinup picture result after transmitting dyeing, decrease the bandwidth consumption of synchrodata between player, reduce the capacity needed for game server storage.
See also Figure 14, sixth embodiment of the invention also provides a kind of games system 600, and described games system 600 comprises at least one first user terminal 610, at least one the second user terminal 620 and game server 630, wherein,
Described first user terminal 610 comprises the first game role dyeing apparatus 611 and the first Compress and decompress of the data module 612;
Described second user terminal 620 comprises the second game role dyeing apparatus 621 and the second Compress and decompress of the data module 622;
Wherein, described first game role dyeing apparatus 611 and the second game role dyeing apparatus 621 are for comprising the game role dyeing apparatus described in any embodiment.
Described game server 630 comprises one for carrying out the data forwarding module 631 of data retransmission.
Described first game role dyeing apparatus 611, for receiving the dyeing parameter dyeed to game role, generates the game role after dyeing according to described dyeing parameter.
Wherein, described dyeing parameter comprises and can comprise masking-out generation parameter, masking-out generating algorithm and coloring algorithm; Or described dyeing parameter comprises can comprise masking-out generation parameter and coloring algorithm.
Described first Compress softwares module 612, for receiving described dyeing parameter, and is sent to described game server 630 after compressing described dyeing parameter.
Described data forwarding module 631, is sent to described second user terminal 620 for the dyeing parameter after the compression that described first Compress softwares module 612 sent.
Described second Compress and decompress of the data module 622, for receiving the dyeing parameter after compression that described data forwarding module 631 sends, and is sent to the second game role dyeing apparatus 621 after carrying out decompress(ion).
Described second game role dyeing apparatus 621, for dyeing to described game role according to described dyeing parameter, generates the game role after dyeing.
In sum, the games system 600 that the embodiment of the present invention provides, when different user terminals carries out data syn-chronization, only need be transmitted the dyeing parameter of compression between different user terminals by described game server 630, and do not need the pinup picture result after transmitting dyeing, because the dyeing parameter data volume after compression is very little, decrease the bandwidth consumption of synchrodata between player, reduce game server storage and the capacity needed for forwarding.
In the description of this description, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term not must for be identical embodiment or example.And the specific features of description, structure, material or feature can combine in one or more embodiment in office or example in an appropriate manner.In addition, when not conflicting, the feature of the different embodiment described in this description or example and different embodiment or example can carry out combining and combining by those skilled in the art.
In addition, term " first ", " second " only for describing object, and can not be interpreted as instruction or hint relative importance or imply the quantity indicating indicated technical characteristic.Thus, be limited with " first ", the feature of " second " can express or impliedly comprise at least one this feature.In describing the invention, the implication of " multiple " is at least two, such as two, three etc., unless otherwise expressly limited specifically.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
In flow charts represent or in this logic otherwise described and/or step, such as, the sequencing list of the executable instruction for realizing logic function can be considered to, may be embodied in any computer-readable medium, for instruction execution system, device or equipment (as computer based system, comprise the system of processor or other can from instruction execution system, device or equipment instruction fetch and perform the system of instruction) use, or to use in conjunction with these instruction execution systems, device or equipment.With regard to this description, " computer-readable medium " can be anyly can to comprise, store, communicate, propagate or transmitting software for instruction execution system, device or equipment or the device that uses in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wiring, portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasablely edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk read-only storage (CDROM).In addition, computer-readable medium can be even paper or other suitable media that can print described software thereon, because can such as by carrying out optical scanner to paper or other media, then carry out editing, decipher or carry out process with other suitable methods if desired and electronically obtain described software, be then stored in computer storage.
In the above-described embodiment, multiple step or method can be held in memory and by suitable instruction with storage and should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.The software that row system performs or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by software completes, described software can be stored in a kind of computer-readable recording medium, this software perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only storage, disk or CD etc.Although illustrate and describe embodiments of the invention above, be understandable that, above-described embodiment is exemplary, can not be interpreted as limitation of the present invention, and those of ordinary skill in the art can change above-described embodiment within the scope of the invention, revises, replace and modification.

Claims (20)

1. a game role colouring method, is characterized in that, comprises the steps:
Receiving the dyeing parameter that game role is dyeed, wherein, described game role being loaded with the first pinup picture for representing color;
Generate the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture;
According to described masking-out information, dyeing process is carried out to each pixel on described first pinup picture, generate the second pinup picture;
The pinup picture that described game role loads is updated to described second pinup picture, after playing up, obtains the game role after dyeing.
2. game role colouring method according to claim 1, is characterized in that, described dyeing parameter comprises at least one group of masking-out and generates parameter, masking-out generating algorithm and coloring algorithm;
The then described masking-out information generating described first pinup picture according to described dyeing parameter, specifically comprises:
Generate at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence; Mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
3. game role colouring method according to claim 1, is characterized in that, described dyeing parameter comprises at least one group of masking-out and generates parameter and coloring algorithm;
The described masking-out information generating described first pinup picture according to described dyeing parameter, specifically comprises:
Generate at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition according to described masking-out, and described coloring algorithm is configured to the region to be dyed of correspondence;
Mark each region to be dyed of pixel ownership on described first pinup picture and the coloring algorithm of correspondence, generate masking-out information.
4. the game role colouring method according to Claims 2 or 3, is characterized in that, described masking-out generating algorithm is any one or multiple combination in region growing algorithm, polygon dimensioning algorithm or mark chart pasting method; Described coloring algorithm be do not dye, any one or multiple combination in gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm.
5. the game role colouring method according to Claims 2 or 3, is characterized in that, described according to described masking-out information to each pixel on described first pinup picture carry out dyeing process, generate the second pinup picture, specifically comprise:
Read described first pinup picture, for each pixel on described first pinup picture, from described masking-out information, inquire about the region to be dyed that each pixel belongs to;
According to the coloring algorithm that described region to be dyed configures, dyeing process is carried out to the pixel in described region to be dyed;
Pixel after dyeing process is saved on a new pinup picture, generates the second pinup picture.
6. the game role colouring method according to Claims 2 or 3, is characterized in that, described according to described masking-out information to each pixel on described first pinup picture carry out dyeing process, generate the second pinup picture, specifically comprise:
Read the first pinup picture of the first form, and the picture format of described first pinup picture is converted to the second form, wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression;
For each pixel on described first pinup picture, from described masking-out information, inquire about the region to be dyed that each pixel belongs to;
According to the coloring algorithm that described region to be dyed configures, dyeing process is carried out to the pixel in described region to be dyed;
Pixel after dyeing process is saved on a new pinup picture, pinup picture in the middle of generating;
The picture format of described middle pinup picture is converted into the first form, generates the second pinup picture.
7. game role colouring method according to claim 5, is characterized in that, after generation second pinup picture, also comprises:
Store described second pinup picture.
8. game role colouring method according to claim 6, is characterized in that, after generation second pinup picture, also comprises:
Store described second pinup picture.
9. game role colouring method according to claim 1, is characterized in that, described game role colouring method also comprises:
Described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
10. a game role dyeing apparatus, is characterized in that, comprising:
Parameter receiving element, for receiving the dyeing parameter dyeed to game role, wherein, described game role is loaded with the first pinup picture for representing color;
Masking-out information generating unit, for generating the masking-out information of described first pinup picture according to described dyeing parameter, wherein, described masking-out information comprises the dyeing information of each pixel to described first pinup picture;
Dye unit, for carrying out dyeing process according to described masking-out information to each pixel on described first pinup picture, generates the second pinup picture;
Rendering unit, for the pinup picture loaded on described game role is updated to described second pinup picture, obtains the game role after dyeing after playing up.
11. game role dyeing apparatuses according to claim 10, is characterized in that, described dyeing parameter comprises at least one group of masking-out and generates parameter, masking-out generating algorithm and coloring algorithm;
Then described masking-out information generating unit specifically comprises:
Algorithm configuration unit, for generating at least one region to be dyed of parameter and described first pinup picture of masking-out generating algorithm acquisition according to described masking-out, and configures described coloring algorithm to the region to be dyed of correspondence;
Indexing unit, the coloring algorithm of the region to be dyed that each pixel for marking on described first pinup picture belongs to and correspondence, generates masking-out information.
12. game role dyeing apparatuses according to claim 10, is characterized in that, described dyeing parameter comprises at least one group of masking-out and generates parameter and coloring algorithm;
Then described masking-out information generating unit specifically comprises:
Algorithm configuration unit, for generating at least one region to be dyed of parameter and described first pinup picture of default masking-out generating algorithm acquisition according to described masking-out, and configures described coloring algorithm to the region to be dyed of correspondence;
Indexing unit, the coloring algorithm of the region to be dyed that each pixel for marking on described first pinup picture belongs to and correspondence, generates masking-out information.
13. game role dyeing apparatuses according to claim 11 or 12, is characterized in that, described masking-out generating algorithm is any one or multiple combination in region growing algorithm, polygon dimensioning algorithm or mark chart pasting method; Described coloring algorithm be do not dye, any one or multiple combination in gray-scale map transfer algorithm, form and aspect mapping algorithm or passage hybrid algorithm.
14. game role dyeing apparatuses according to claim 11 or 12, it is characterized in that, described dye unit specifically comprises:
Query unit, for reading described first pinup picture, for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information;
Dyeing processing unit, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed;
Generation unit, the pixel after dyeing being processed is saved in a new pinup picture, generates the second pinup picture.
15. game role dyeing apparatuses according to claim 11 or 12, it is characterized in that, described dye unit specifically comprises:
First format conversion unit, for reading the first pinup picture of the first form, and is converted to the second form by the picture format of described first pinup picture, and wherein, described first form is the picture format through overcompression, and described second form is the picture format without compression;
Query unit, for for each pixel on described first pinup picture, inquires about the region to be dyed that each pixel belongs to from described masking-out information;
Dyeing processing unit, for the coloring algorithm configured according to described region to be dyed, carries out dyeing process to the pixel in described region to be dyed;
Generation unit, the pixel after dyeing being processed is saved in a new pinup picture, pinup picture in the middle of generating, and wherein, the picture format of described middle pinup picture is the second form;
Second format conversion unit, for the picture format of described middle pinup picture is converted into the first form, generates the second pinup picture.
16. game role dyeing apparatuses according to claim 14, is characterized in that, described game role dyeing apparatus also comprises:
Memory cell, for storing described second pinup picture.
17. game role dyeing apparatuses according to claim 15, is characterized in that, described game role dyeing apparatus also comprises:
Memory cell, for storing described second pinup picture.
18. game role dyeing apparatuses according to claim 10, is characterized in that, described game role dyeing apparatus also comprises:
Transmitting element, for described dyeing parameter is sent to game server, wherein, described dyeing parameter is sent to other user terminals registered at described game server by described game server, carries out dyeing process to make other user terminals according to described dyeing parameter to described game role.
19. 1 kinds of user terminals, is characterized in that, comprise the game role dyeing apparatus as described in claim 10 to 18 any one.
20. 1 kinds of games systems, is characterized in that, comprise first user terminal, at least one the second user terminal and game server;
Wherein, described first user terminal and described second user terminal comprise the game role dyeing apparatus as described in claim 10 to 18 any one;
Described first user terminal, for receiving the dyeing parameter dyeed to game role, generating the game role after dyeing according to described dyeing parameter, and described dyeing parameter is sent to described game server;
Described game server, for receiving described dyeing parameter, and is sent to described second user terminal by described dyeing parameter;
Described second user terminal, for after the described dyeing parameter of reception, generates the game role after dyeing according to described dyeing parameter.
CN201510613203.2A 2015-09-23 2015-09-23 Game role colouring method, device, user terminal and game system Active CN105233498B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510613203.2A CN105233498B (en) 2015-09-23 2015-09-23 Game role colouring method, device, user terminal and game system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510613203.2A CN105233498B (en) 2015-09-23 2015-09-23 Game role colouring method, device, user terminal and game system

Publications (2)

Publication Number Publication Date
CN105233498A true CN105233498A (en) 2016-01-13
CN105233498B CN105233498B (en) 2019-02-19

Family

ID=55031471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510613203.2A Active CN105233498B (en) 2015-09-23 2015-09-23 Game role colouring method, device, user terminal and game system

Country Status (1)

Country Link
CN (1) CN105233498B (en)

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204715A (en) * 2016-06-28 2016-12-07 深圳市彬讯科技有限公司 The method and system shown based on the house colour changing of 3D family's assembling platform on line and render
CN106582019A (en) * 2016-11-07 2017-04-26 北京乐动卓越科技有限公司 Dyeing method and apparatus of 2D game role
CN106861185A (en) * 2017-03-21 2017-06-20 苏州蜗牛数字科技股份有限公司 A kind of method being scanned to VR scene of game
CN107213635A (en) * 2017-05-25 2017-09-29 网易(杭州)网络有限公司 Visual field display methods and device
CN107292937A (en) * 2017-07-04 2017-10-24 北京像素软件科技股份有限公司 The method and device of landform textures are set
CN107320956A (en) * 2017-08-08 2017-11-07 腾讯科技(深圳)有限公司 A kind of interface generation method and device
CN107358643A (en) * 2017-07-04 2017-11-17 网易(杭州)网络有限公司 Image processing method, device, electronic equipment and storage medium
CN108198236A (en) * 2017-11-29 2018-06-22 腾讯科技(深圳)有限公司 Data display method and device, storage medium and electronic device
CN108205818A (en) * 2016-12-19 2018-06-26 盛趣信息技术(上海)有限公司 The color method and system of game role image
CN108287791A (en) * 2018-01-17 2018-07-17 福建天晴数码有限公司 The detection method and storage medium of the texture resource configuration of virtual reality software
CN109671147A (en) * 2018-12-27 2019-04-23 网易(杭州)网络有限公司 Texture mapping generation method and device based on threedimensional model
CN109697123A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 The rendering method and device of game animation, storage medium, electronic device
CN110428360A (en) * 2019-07-05 2019-11-08 中国平安财产保险股份有限公司 Automobile image beautification method, equipment, storage medium and device
CN110533742A (en) * 2019-09-03 2019-12-03 广州视源电子科技股份有限公司 Image color filling method, device, equipment and storage medium
CN110665232A (en) * 2019-08-30 2020-01-10 网易(杭州)网络有限公司 Rendering method, device and equipment of ground surface in game and storage medium
CN110969676A (en) * 2019-12-23 2020-04-07 无锡幻世界软件科技有限公司 Method for quickly forming role design of hand-trip oil painting
CN111080806A (en) * 2019-12-20 2020-04-28 网易(杭州)网络有限公司 Map processing method and device, electronic device and storage medium
CN111127593A (en) * 2018-10-30 2020-05-08 珠海金山办公软件有限公司 Document content erasing method and device, electronic equipment and readable storage medium
CN111275607A (en) * 2020-01-17 2020-06-12 腾讯科技(深圳)有限公司 Interface display method and device, computer equipment and storage medium
CN111311720A (en) * 2018-12-12 2020-06-19 网易(杭州)网络有限公司 Texture image processing method and device
CN111340921A (en) * 2018-12-18 2020-06-26 北京京东尚科信息技术有限公司 Dyeing method, dyeing apparatus, computer system and medium
CN111481926A (en) * 2019-01-25 2020-08-04 上海察亚软件有限公司 Game character face rendering and processing system
CN111617482A (en) * 2020-06-04 2020-09-04 珠海金山网络游戏科技有限公司 Model map editing method and device
CN111784814A (en) * 2020-07-16 2020-10-16 网易(杭州)网络有限公司 Virtual character skin adjusting method and device
CN112073335A (en) * 2020-09-03 2020-12-11 深圳市掌易文化传播有限公司 Game data connection card pause processing system and method under big data support
CN113069764A (en) * 2021-03-29 2021-07-06 广州三七互娱科技有限公司 Skin rendering method and device for game role and electronic equipment
CN113223133A (en) * 2021-04-21 2021-08-06 深圳市腾讯网域计算机网络有限公司 Three-dimensional model color changing method and device
WO2023077965A1 (en) * 2021-11-05 2023-05-11 腾讯科技(深圳)有限公司 Appearance editing method and apparatus for virtual pet, and terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006318387A (en) * 2005-05-16 2006-11-24 Namco Bandai Games Inc Program, information storage medium, and image forming system
CN104484445A (en) * 2014-12-24 2015-04-01 天脉聚源(北京)科技有限公司 Method for displaying picture
CN104506921A (en) * 2014-12-24 2015-04-08 天脉聚源(北京)科技有限公司 Dynamic image displaying method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006318387A (en) * 2005-05-16 2006-11-24 Namco Bandai Games Inc Program, information storage medium, and image forming system
CN104484445A (en) * 2014-12-24 2015-04-01 天脉聚源(北京)科技有限公司 Method for displaying picture
CN104506921A (en) * 2014-12-24 2015-04-08 天脉聚源(北京)科技有限公司 Dynamic image displaying method and device

Cited By (43)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106204715A (en) * 2016-06-28 2016-12-07 深圳市彬讯科技有限公司 The method and system shown based on the house colour changing of 3D family's assembling platform on line and render
CN106582019A (en) * 2016-11-07 2017-04-26 北京乐动卓越科技有限公司 Dyeing method and apparatus of 2D game role
CN108205818A (en) * 2016-12-19 2018-06-26 盛趣信息技术(上海)有限公司 The color method and system of game role image
CN106861185A (en) * 2017-03-21 2017-06-20 苏州蜗牛数字科技股份有限公司 A kind of method being scanned to VR scene of game
CN107213635B (en) * 2017-05-25 2023-01-24 网易(杭州)网络有限公司 Visual field display method and device
CN107213635A (en) * 2017-05-25 2017-09-29 网易(杭州)网络有限公司 Visual field display methods and device
CN107358643A (en) * 2017-07-04 2017-11-17 网易(杭州)网络有限公司 Image processing method, device, electronic equipment and storage medium
CN107292937A (en) * 2017-07-04 2017-10-24 北京像素软件科技股份有限公司 The method and device of landform textures are set
CN107292937B (en) * 2017-07-04 2020-10-09 北京像素软件科技股份有限公司 Method and device for setting terrain map
CN107358643B (en) * 2017-07-04 2020-08-14 网易(杭州)网络有限公司 Image processing method, image processing device, electronic equipment and storage medium
CN107320956A (en) * 2017-08-08 2017-11-07 腾讯科技(深圳)有限公司 A kind of interface generation method and device
CN109697123A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 The rendering method and device of game animation, storage medium, electronic device
CN109697123B (en) * 2017-10-24 2023-03-14 腾讯科技(深圳)有限公司 Rendering method and device of game animation, storage medium and electronic device
CN108198236A (en) * 2017-11-29 2018-06-22 腾讯科技(深圳)有限公司 Data display method and device, storage medium and electronic device
CN108198236B (en) * 2017-11-29 2021-05-14 腾讯科技(深圳)有限公司 Data display method and device, storage medium and electronic device
CN108287791B (en) * 2018-01-17 2021-02-26 福建天晴数码有限公司 Detection method for texture resource allocation of virtual reality software and storage medium
CN108287791A (en) * 2018-01-17 2018-07-17 福建天晴数码有限公司 The detection method and storage medium of the texture resource configuration of virtual reality software
CN111127593B (en) * 2018-10-30 2023-10-31 珠海金山办公软件有限公司 Document content erasing method and device, electronic equipment and readable storage medium
CN111127593A (en) * 2018-10-30 2020-05-08 珠海金山办公软件有限公司 Document content erasing method and device, electronic equipment and readable storage medium
CN111311720A (en) * 2018-12-12 2020-06-19 网易(杭州)网络有限公司 Texture image processing method and device
CN111340921A (en) * 2018-12-18 2020-06-26 北京京东尚科信息技术有限公司 Dyeing method, dyeing apparatus, computer system and medium
CN111340921B (en) * 2018-12-18 2024-07-16 北京京东尚科信息技术有限公司 Dyeing method, dyeing device, computer system and medium
CN109671147A (en) * 2018-12-27 2019-04-23 网易(杭州)网络有限公司 Texture mapping generation method and device based on threedimensional model
CN109671147B (en) * 2018-12-27 2023-09-26 网易(杭州)网络有限公司 Texture map generation method and device based on three-dimensional model
CN111481926A (en) * 2019-01-25 2020-08-04 上海察亚软件有限公司 Game character face rendering and processing system
CN110428360A (en) * 2019-07-05 2019-11-08 中国平安财产保险股份有限公司 Automobile image beautification method, equipment, storage medium and device
CN110428360B (en) * 2019-07-05 2023-08-25 中国平安财产保险股份有限公司 Automobile image beautifying method, equipment, storage medium and device
CN110665232A (en) * 2019-08-30 2020-01-10 网易(杭州)网络有限公司 Rendering method, device and equipment of ground surface in game and storage medium
CN110533742B (en) * 2019-09-03 2021-05-11 广州视源电子科技股份有限公司 Image color filling method, device, equipment and storage medium
CN110533742A (en) * 2019-09-03 2019-12-03 广州视源电子科技股份有限公司 Image color filling method, device, equipment and storage medium
CN111080806A (en) * 2019-12-20 2020-04-28 网易(杭州)网络有限公司 Map processing method and device, electronic device and storage medium
CN111080806B (en) * 2019-12-20 2024-02-23 网易(杭州)网络有限公司 Mapping processing method and device, electronic equipment and storage medium
CN110969676B (en) * 2019-12-23 2024-04-19 深圳市玛贝尔动漫文化发展有限公司 Rapid forming method for character design of hand-swimming oil painting
CN110969676A (en) * 2019-12-23 2020-04-07 无锡幻世界软件科技有限公司 Method for quickly forming role design of hand-trip oil painting
CN111275607A (en) * 2020-01-17 2020-06-12 腾讯科技(深圳)有限公司 Interface display method and device, computer equipment and storage medium
CN111617482A (en) * 2020-06-04 2020-09-04 珠海金山网络游戏科技有限公司 Model map editing method and device
CN111617482B (en) * 2020-06-04 2024-02-06 珠海金山数字网络科技有限公司 Model mapping editing method and device
CN111784814A (en) * 2020-07-16 2020-10-16 网易(杭州)网络有限公司 Virtual character skin adjusting method and device
CN111784814B (en) * 2020-07-16 2024-09-20 网易(杭州)网络有限公司 Virtual character skin adjustment method and device
CN112073335A (en) * 2020-09-03 2020-12-11 深圳市掌易文化传播有限公司 Game data connection card pause processing system and method under big data support
CN113069764A (en) * 2021-03-29 2021-07-06 广州三七互娱科技有限公司 Skin rendering method and device for game role and electronic equipment
CN113223133A (en) * 2021-04-21 2021-08-06 深圳市腾讯网域计算机网络有限公司 Three-dimensional model color changing method and device
WO2023077965A1 (en) * 2021-11-05 2023-05-11 腾讯科技(深圳)有限公司 Appearance editing method and apparatus for virtual pet, and terminal and storage medium

Also Published As

Publication number Publication date
CN105233498B (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN105233498A (en) Game character staining method and device, user terminal and game system
CN104246829B (en) Coloring is patched up in graphics process
CN108564646A (en) Rendering intent and device, storage medium, the electronic device of object
CN109448089A (en) A kind of rendering method and device
CN106030663B (en) Shader pipeline with shared data channel
CN107637075B (en) Three-dimensional view processing
CN112870704B (en) Game data processing method, device and storage medium
CN101393649A (en) Apparatus and method for rendering multi-viewpoint images
CN111467805B (en) Method and device for realizing dynamic change of virtual scene, medium and electronic equipment
CN105955754B (en) A kind of user interface character displaying method and device
CN106534880A (en) Video synthesis method and device
CN106054655B (en) A kind of smart home inter-linked controlling method and device
US20230120253A1 (en) Method and apparatus for generating virtual character, electronic device and readable storage medium
JP2018152044A (en) Method of producing three-dimensional code
CN110333924A (en) A kind of image morphing method of adjustment, device, equipment and storage medium
CN111080806B (en) Mapping processing method and device, electronic equipment and storage medium
CN105261055A (en) Game role rehandling method, device and terminal
CN107343187A (en) Method of color gamut mapping of color, display terminal and computer-readable recording medium
CN109408177A (en) Method and device for configuring color of characters in picture and electronic equipment
CN103065338A (en) Method and device providing shadow for foreground image in background image
CN106855800A (en) A kind of display methods of interface element background picture, device and smart machine
CN106502662A (en) Multizone pattern drawing method and device for intelligent operating system
CN109903365A (en) Rendering method and rendering system based on render tree
CN107320956A (en) A kind of interface generation method and device
CN108471536A (en) Alpha channel transmission methods and device, terminal installation and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant