CN105574920A - Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device - Google Patents

Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device Download PDF

Info

Publication number
CN105574920A
CN105574920A CN201610058355.5A CN201610058355A CN105574920A CN 105574920 A CN105574920 A CN 105574920A CN 201610058355 A CN201610058355 A CN 201610058355A CN 105574920 A CN105574920 A CN 105574920A
Authority
CN
China
Prior art keywords
passage
interval
texturing
alpha
information 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
CN201610058355.5A
Other languages
Chinese (zh)
Other versions
CN105574920B (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 CN201610058355.5A priority Critical patent/CN105574920B/en
Publication of CN105574920A publication Critical patent/CN105574920A/en
Application granted granted Critical
Publication of CN105574920B publication Critical patent/CN105574920B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Generation (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a texture map generating method, a texture map generating device, a texture synthesizing method and a texture synthesizing device. The texture map generating method comprises the steps of receiving an original map which comprises a color channel and an Alpha channel, wherein the color channel is used for recording color information parameters; dividing the Alpha channel into a first channel interval and a second channel interval; recording a transparency information parameter by means of the first channel interval of the Alpha channel and recording a highlight information parameter by means of the second channel interval of the Alpha channel; and combining the first channel interval and the second channel interval of the Alpha channel for generating a texture map. The texture map generating method, the texture map generating device, the texture synthesizing method and the texture synthesizing device can save a map resource.

Description

Texturing generation method and device, material synthetic method and device
Technical field
The present invention relates to computer graphics techniques field, in particular to a kind of texturing generation method and device and material synthetic method and device.
Background technology
Computer graphics is that two dimension or three-dimensional picture are converted into the science of the grid of graphoscope by a kind of mathematical algorithm that uses.Its research is divided into two parts: part research geometric construction, comprises the mapping of planar line bar and 3 D stereo modeling etc.; Another part research patterned surface plays up the research comprising the surface properties such as surface tinted, illumination, shade and texture.
Tinter (Shader) is when realizing image rendering in computer graphics, and what be used for substituting fixing rendering pipeline can edit routine.Tinter exports after the Mesh (grid) of input can being combined with the pinup picture inputted or color etc. in a specific way.The output of image-drawing unit foundation tinter comes can by Image Rendering on computer screen.Wherein, the information parameter packing of the pinup picture of input or color, corresponding tinter and tinter is synthesized together, and what obtain is exactly a material (Material); Give suitable renderer by material, can carry out playing up output.
When making material, usually to show following 3 kinds of effects, i.e. reflection of light effect, specular removal fruit and transparent effect.In order to show these kind of effect, 32 pinup pictures and 24 pinup pictures generally can be used.Such as, with reference to shown in Figure 1A, 32 pinup pictures and one 24 full color (TureColor) pinup pictures are employed; Wherein, the rgb color passage of 32 pinup pictures can be used for realizing reflection of light effect, and the Alpha passage of 32 pinup pictures can be used for realizing transparent effect, and 24 full color pinup pictures can be used for realizing specular removal fruit.Again such as, with reference to shown in Figure 1B, employ 32 pinup pictures, one 24 monochrome (Monotone) pinup pictures and color node (calculating the program of color data), wherein, the rgb color passage of 32 pinup pictures can be used for realizing reflection of light effect, the Alpha passage of 32 pinup pictures can be used for realizing transparent effect, and 24 monochromatic pinup pictures and color node can be used for realizing specular removal fruit.
As from the foregoing, make can show reflection of light effect, specular removal fruit and the material of transparent effect time, usually need use two to put up figure, which results in the appearance of pinup picture wasting of resources phenomenon, add the expense of computing machine.
It should be noted that, disclosed in above-mentioned background technology part, information is only for strengthening the understanding to background of the present invention, therefore can comprise the information do not formed prior art known to persons of ordinary skill in the art.
Summary of the invention
For subproblem of the prior art or whole issue, the invention provides a kind of texturing generation method and device and material synthetic method and device.
According to the first aspect of the embodiment of the present invention, a kind of texturing generation method is provided, comprises:
Receive original pinup picture; Described original pinup picture comprises color channel and Alpha passage, and described color channel is for recording color information parameter;
Described Alpha passage is divided into first passage is interval and second channel is interval;
Utilize the first passage of described Alpha passage interval record transparence information parameter and utilize the second channel interval of described Alpha passage to record high optical information parameter;
The first passage interval and the second channel that merge described Alpha passage are interval, generate texturing.
In a kind of exemplary embodiment of the present invention, the scope of described Alpha passage is 0 ~ 255; The interval range in the first passage interval of described Alpha passage is 0 ~ 128, and the interval range in second channel interval is 128 ~ 255.
In a kind of exemplary embodiment of the present invention, the scope of described Alpha passage is 0 ~ 255; The interval range in the second channel interval of described Alpha passage is 0 ~ 128, and the interval range in first passage interval is 128 ~ 255.
According to the second aspect of the embodiment of the present invention, a kind of material synthetic method is provided, comprises:
Obtain texturing; Described texturing is the texturing generated according to any one Mature growing method above-mentioned;
The information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material and high light expression effect;
Utilize the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.
In a kind of exemplary embodiment of the present invention, the described transparency expression effect of the information parameter of Alpha passage in described texturing control material and the high light expression effect of utilizing comprises:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval;
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material;
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.
In a kind of exemplary embodiment of the present invention, in described material synthetic method, controlled the transparency expression effect of material by AlphaClip function or AlphaBlend function.
According to the third aspect of the embodiment of the present invention, a kind of texturing generating apparatus is provided, comprises:
Pinup picture receiver module, for receiving original pinup picture; Described original pinup picture comprises color channel and Alpha passage, and described color channel is for recording color information parameter;
Passage divides module, and for being divided into by described Alpha passage, first passage is interval and second channel is interval;
Passage logging modle, for utilizing the first passage of described Alpha passage interval record transparence information parameter and utilizing the second channel interval of described Alpha passage to record high optical information parameter;
Pinup picture generation module, the first passage for merging described Alpha passage is interval and second channel is interval, generates texturing.
In a kind of exemplary embodiment of the present invention, the scope of described Alpha passage is 0 ~ 255; The interval range in the first passage interval of described Alpha passage is 0 ~ 128, and the interval range in second channel interval is 128 ~ 255.
In a kind of exemplary embodiment of the present invention, the scope of described Alpha passage is 0 ~ 255; The interval range in the second channel interval of described Alpha passage is 0 ~ 128, and the interval range in first passage interval is 128 ~ 255.
According to the fourth aspect of the embodiment of the present invention, a kind of material synthesizer is provided, comprises:
Pinup picture acquisition module, for obtaining texturing; Described texturing is the texturing generated according to any one Mature growing device above-mentioned;
First functional modules, controls the transparency expression effect of material and high light expression effect for utilizing the information parameter of Alpha passage in described texturing;
Second functional modules, for utilizing the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.
In a kind of exemplary embodiment of the present invention, the described transparency expression effect of the information parameter of Alpha passage in described texturing control material and the high light expression effect of utilizing comprises:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval;
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material;
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.
In a kind of exemplary embodiment of the present invention, in described material synthesizer, controlled the transparency expression effect of material by AlphaClip function or AlphaBlend function.
Technical scheme in example embodiment of the present invention, by being divided into by Alpha passage, first passage is interval and second channel is interval, and utilizing first passage interval and second channel interval record transparence information parameter and high optical information parameter respectively, the first passage interval and the second channel interval that finally merge Alpha passage obtain texturing.Reflection of light effect is revealed due to the color information parameter list of color channel record in this texturing can be utilized, utilize the information parameter of Alpha passage record to show specular removal fruit and transparent effect, therefore can put up figure realize needing in prior art two to put up effect that figure just can realize by one; And then a large amount of texturing resource can be saved, thus computing machine expense can be reduced and improve corresponding economic benefit.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.Apparently, the 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, can also obtain other accompanying drawing according to these accompanying drawings.
Figure 1A schematically shows a kind of material synthetic method process flow diagram.
Figure 1B schematically shows a kind of material synthetic method process flow diagram.
Fig. 2 schematically shows the schematic flow sheet of a kind of texturing generation method in exemplary embodiment of the present.
Fig. 3 schematically shows the process flow diagram of a kind of texturing generation method in exemplary embodiment of the present.
Fig. 4 schematically shows the schematic flow sheet of a kind of material synthetic method in exemplary embodiment of the present.
Fig. 5 A schematically shows the process flow diagram of a kind of material synthetic method in exemplary embodiment of the present.
Fig. 5 B schematically shows the process flow diagram of a kind of material synthetic method in exemplary embodiment of the present.
Fig. 5 C schematically shows the schematic diagram of a kind of material synthetic method in exemplary embodiment of the present.
Fig. 6 schematically shows the block diagram of a kind of texturing generating apparatus in exemplary embodiment of the present.
Fig. 7 schematically shows the block diagram of a kind of material synthesizer in exemplary embodiment of the present.
Fig. 8 schematically shows the block diagram of a kind of device in exemplary embodiment of the present.
Embodiment
More fully example embodiment is described referring now to accompanying drawing.But example embodiment can be implemented in a variety of forms, and should not be understood to be limited to example set forth herein; On the contrary, these embodiments are provided to make the present invention more comprehensively with complete, and the design of example embodiment will be conveyed to those skilled in the art all sidedly.Described feature, structure or characteristic can be combined in one or more embodiment in any suitable manner.In the following description, provide many details thus provide fully understanding embodiments of the present invention.But, one of skill in the art will appreciate that and can put into practice technical scheme of the present invention and to omit in described specific detail one or more, or other method, constituent element, device, step etc. can be adopted.In other cases, be not shown specifically or describe known solution to avoid that a presumptuous guest usurps the role of the host and to make each aspect of the present invention thicken.
In addition, accompanying drawing is only schematic illustrations of the present invention, and not necessarily is drawn in proportion.Reference numeral identical in figure represents same or similar part, thus will omit the repeated description to them.Some block schemes shown in accompanying drawing are functional entitys, not necessarily must with physics or independently entity is corresponding in logic.Software form can be adopted to realize these functional entitys, or realize these functional entitys in one or more hardware module or integrated circuit, or realize these functional entitys in heterogeneous networks and/or processor device and/or microcontroller device.
In this example embodiment, first provide a kind of texturing generation method.Shown in figure 2, described texturing generation method can comprise the following steps:
Step S11. receives original pinup picture; Described original pinup picture can comprise color channel and Alpha passage.
Such as, the original pinup picture in this example embodiment can be 32 pinup pictures, and wherein 24 for storing the color information parameter of red channel, green channel and blue channel (i.e. RGB passage) three color channel records; All the other 8 for storing the information parameter of Alpha passage record.Color channel and Alpha passage generally have 2 nlevel GTG, such as, in this example embodiment, color channel and Alpha passage can have 2 8level GTG, namely the level range of color channel and Alpha passage is 0 ~ 255.It should be noted that, in other exemplary embodiment of the present invention, described original pinup picture also can be the pinup picture of other figure places, and described color channel also can be the color channel of other types, is not limited to mode cited in this example embodiment.
Described Alpha passage in original pinup picture is divided into that first passage is interval and second channel is interval by step S12..
In this example embodiment, by color range (Levels) instrument in Photoshop or other color range instruments described Alpha passage can be divided into that first passage is interval and second channel is interval.For convenience of subsequent arithmetic, it can be the half that described first passage interval and second channel interval respectively account for described Alpha passage in this example embodiment, such as, the interval range in described first passage interval can be 0 ~ 128 (Low), and the interval range in described second channel interval can be 128 ~ 255 (High).Those skilled in the art are it is easily understood that can be also that first passage is interval and second channel interval according to other regular partitions by described Alpha passage, and therefore the technical scheme of correspondence belongs to protection scope of the present invention equally.
Step S13. utilizes the first passage of described Alpha passage interval record transparence information parameter and utilizes the second channel interval of described Alpha passage to record high optical information parameter.
With reference in figure 3 shown in left part, can color range instrument be passed through, realize utilizing 0 ~ 128 interval range record transparence information parameter of Alpha passage in described 32 original pinup pictures and utilizing 128 ~ 255 interval range record height optical information parameters of described Alpha passage.In addition, in other exemplary embodiment of the present invention, also can be utilize the first passage of described Alpha passage interval to record high optical information parameter and utilize the second channel interval record transparence information parameter of described Alpha passage, be not limited to mode cited in this example embodiment.
Step S14. merges first passage interval and the second channel interval of described Alpha passage, generates texturing.
With reference in figure 3 shown in right part, by the first passage of described Alpha passage after the interval and interval merging of second channel, the Alpha passage recording transparence information parameter and high optical information parameter can be obtained.The new Alpha passage obtained and the color channel of original pinup picture can form texturing jointly.
In this example embodiment, by being divided into by Alpha passage, first passage is interval and second channel is interval, and utilizing first passage interval and second channel interval record transparence information parameter and high optical information parameter respectively, the first passage interval and the second channel interval that finally merge Alpha passage obtain texturing.Reflection of light effect is revealed due to the color information parameter list of color channel record in this texturing can be utilized, utilize the information parameter of Alpha passage record to show specular removal fruit and transparent effect, therefore can put up figure realize needing in prior art two to put up effect that figure just can realize by one; And then a large amount of texturing resource can be saved, thus computing machine expense can be reduced and improve corresponding economic benefit.
Further, a kind of material synthetic method is additionally provided in this example embodiment.Shown in figure 4, described material synthetic method can comprise the following steps:
Step S21. obtains texturing; Described texturing is the texturing generated according to above-mentioned texturing generation method, in this texturing, color channel records color information parameter, the first passage interval of Alpha passage records transparence information parameter, and the second channel interval of Alpha passage records high optical information parameter.
Step S22. utilizes the information parameter of Alpha passage in described texturing to control the transparency expression effect of material and high light expression effect.Such as, utilize the transparency expression effect of the transparence information state modulator material of the first passage interval record of Alpha passage in described texturing, utilize the high light expression effect of the high optical information state modulator material of the second channel of Alpha passage in described texturing interval record.
Step S23. utilizes the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.This part with reference to related art scheme in prior art, can not repeat this in this example embodiment.
Below, described step S22 is further detailed.In this example embodiment, described step S22 can comprise:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval.0 ~ 128 (Low) with the interval range in described first passage interval, the interval range in described second channel interval is 128 ~ 255 (High) is example, if the information parameter of Alpha passage is 64 in described texturing, then judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval; If the information parameter of Alpha passage is 192 in described texturing, then judge that the information parameter of Alpha passage in described texturing is positioned at described second channel interval.
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material.In this example embodiment, the transparency expression effect of material can be controlled by AlphaClip function or AlphaBlend function.
Such as, shown in figure 5A, can by the information parameter of Alpha passage divided by 0.5 to reduce its transparence information parameter originally represented.
AlphaClip function is as follows:
clip((_Diffuse_Texture_var.a/0.5)–0.5)
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, by the information parameter of Alpha passage divided by 0.5, and deduct the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), if the result obtained is less than 0, then the position of correspondence is set to transparent region, if the result obtained is greater than 0, then the position of correspondence is set to opaque field.
AlphaBlend function is as follows:
fixed4finalRGBA=fixed4(finalColor,(_Diffuse_Texture_var.a/0.5))
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, by the information parameter of Alpha passage divided by 0.5, and deduct the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), finally the result obtained is appointed as the transparency of corresponding position.
Again such as, shown in figure 5B, also the information parameter of Alpha passage can be multiplied by 2 to reduce its transparence information parameter originally represented.
AlphaClip function is as follows:
clip((_Diffuse_Texture_var.a*2)–0.5)
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, the information parameter of Alpha passage is multiplied by 2, and deduct the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), if the result obtained is less than 0, then the position of correspondence is set to transparent region, if the result obtained is greater than 0, then the position of correspondence is set to opaque field.
AlphaBlend function is as follows:
fixed4finalRGBA=fixed4(finalColor,(_Diffuse_Texture_var.a*2))
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, the information parameter of Alpha passage is multiplied by 2, and deduct the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), finally the result obtained is appointed as the transparency of corresponding position.
Again such as, shown in figure 5C, above-mentioned determining step can be carried out in AlphaClip function and AlphaBlend function, and when judging that the information parameter of Alpha passage is positioned at first passage interval, the information parameter of Alpha passage is multiplied by 2 to reduce its transparence information parameter originally represented.
AlphaClip function is as follows:
clip((min(_Diffuse_Texture_var.a,0.5)*2.0)-0.5)
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, obtain information parameter and the 0.5 (intermediate value of 0.5 expression Alpha passage herein of Alpha passage, such as, 128) less value, less value is multiplied by 2, and deduct the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), if the result obtained is less than 0, then the position of correspondence is set to transparent region, if the result obtained is greater than 0, then the position of correspondence is set to opaque field.
AlphaBlend function is as follows:
fixed4finalRGBA=fixed4(finalColor,(min(_Diffuse_Texture_var.a,0.5)*2.0))
Wherein, _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, obtain information parameter and the 0.5 (intermediate value of 0.5 expression Alpha passage herein of Alpha passage, such as, 128) less value, less value is multiplied by 2, and deduct 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as 128), finally the result obtained is appointed as the transparency of corresponding position.
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.Shown in figure 5A to Fig. 5 C, in this example embodiment, the high light expression effect of material can be controlled by following function:
floatnode_8318=max((_Diffuse_Texture_var.a-0.5),0.0)
Wherein, Node_8318 is the Node of stochastic generation; _ Diffuse_Texture_var.a variable represents the information parameter of Alpha passage, the information parameter calculating Alpha passage deducts the 0.5 (intermediate value of the 0.5 expression Alpha passage deducted, such as, value 128), and obtain value larger between this value and 0, larger value is appointed as the high optical information parameter of corresponding position.In this step, carry out determining step equally, to judge whether the information parameter of Alpha passage is positioned at second channel interval.
In other exemplary embodiment of the present invention, if the division rule of Alpha passage is different, then need the parameter changed accordingly in above-mentioned function, be therefore not limited to embodiment cited in this example embodiment.
Further, a kind of texturing generating apparatus is additionally provided in this example embodiment.Shown in figure 6, texturing generating apparatus can comprise pinup picture receiver module 11, passage divides module 12, passage logging modle 13 and pinup picture generation module 14.Wherein:
Pinup picture receiver module 11 may be used for receiving original pinup picture.Described original pinup picture comprises color channel and Alpha passage, and described color channel is for recording color information parameter.
Passage divides module 12 and may be used for described Alpha passage to be divided into that first passage is interval and second channel is interval.
Passage logging modle 13 may be used for utilizing the first passage of described Alpha passage interval record transparence information parameter and utilizing the second channel interval of described Alpha passage to record high optical information parameter.
Pinup picture generation module 14 may be used for the first passage interval and the second channel interval that merge described Alpha passage, generates texturing.
In this example embodiment, the scope of described Alpha passage can be 0 ~ 255.The interval range in the first passage interval of described Alpha passage is 0 ~ 128, and the interval range in second channel interval is 128 ~ 255.
In this example embodiment, the scope of described Alpha passage can be 0 ~ 255.The interval range in the second channel interval of described Alpha passage is 0 ~ 128, and the interval range in first passage interval is 128 ~ 255.
Further, a kind of material synthesizer is additionally provided in this example embodiment.Shown in figure 7, material synthesizer can comprise pinup picture acquisition module 21, first functional modules 22 and the second functional modules 23.Wherein:
Pinup picture acquisition module 21 may be used for obtaining texturing.Described texturing is the texturing generated according to above-mentioned texturing generating apparatus.
First functional modules 22 may be used for utilizing the information parameter of Alpha passage in described texturing to control the transparency expression effect of material and high light expression effect.
Second functional modules 23 may be used for utilizing the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.
In this example embodiment, the described transparency expression effect of the information parameter of Alpha passage in described texturing control material and the high light expression effect of utilizing comprises:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval;
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material;
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.
In this example embodiment, in described material synthesizer, controlled the transparency expression effect of material by AlphaClip function or AlphaBlend function.
Fig. 8 illustrates a kind of schematic diagram according to texturing generating apparatus above-mentioned in example embodiment of the present invention and material synthesizer (following general designation device 400).With reference to Fig. 8, device 400 comprises processing components 422, and it comprises one or more processor further, and the memory resource representated by storer 432, can such as, by the instruction of the execution of processing components 422, application program for recording.The application program stored in storer 432 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 422 is configured to perform instruction, to perform the above method.
Device 400 can also comprise the power management that a power supply module 426 is configured to actuating unit 400, and a wired or wireless network interface 450 is configured to device 400 to be connected to network, and input and output (I/O) interface 458.Device 400 can operate the operating system based on being stored in storer 432, such as WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by appended claim.

Claims (12)

1. a texturing generation method, is characterized in that, comprising:
Receive original pinup picture; Described original pinup picture comprises color channel and Alpha passage, and described color channel is for recording color information parameter;
Described Alpha passage is divided into first passage is interval and second channel is interval;
Utilize the first passage of described Alpha passage interval record transparence information parameter and utilize the second channel interval of described Alpha passage to record high optical information parameter;
The first passage interval and the second channel that merge described Alpha passage are interval, generate texturing.
2. texturing generation method according to claim 1, is characterized in that, the scope of described Alpha passage is 0 ~ 255; The interval range in the first passage interval of described Alpha passage is 0 ~ 128, and the interval range in second channel interval is 128 ~ 255.
3. texturing generation method according to claim 1, is characterized in that, the scope of described Alpha passage is 0 ~ 255; The interval range in the second channel interval of described Alpha passage is 0 ~ 128, and the interval range in first passage interval is 128 ~ 255.
4. a material synthetic method, is characterized in that, comprising:
Obtain texturing; The texturing that described texturing generates for the method according to claims 1 to 3 any one;
The information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material and high light expression effect;
Utilize the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.
5. material synthetic method according to claim 4, is characterized in that, the described transparency expression effect of the information parameter of Alpha passage in described texturing control material and the high light expression effect of utilizing comprises:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval;
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material;
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.
6. material synthetic method according to claim 5, is characterized in that, is controlled the transparency expression effect of material in described material synthetic method by AlphaClip function or AlphaBlend function.
7. a texturing generating apparatus, is characterized in that, comprising:
Pinup picture receiver module, for receiving original pinup picture; Described original pinup picture comprises color channel and Alpha passage, and described color channel is for recording color information parameter;
Passage divides module, and for being divided into by described Alpha passage, first passage is interval and second channel is interval;
Passage logging modle, for utilizing the first passage of described Alpha passage interval record transparence information parameter and utilizing the second channel interval of described Alpha passage to record high optical information parameter;
Pinup picture generation module, the first passage for merging described Alpha passage is interval and second channel is interval, generates texturing.
8. texturing generating apparatus according to claim 7, is characterized in that, the scope of described Alpha passage is 0 ~ 255; The interval range in the first passage interval of described Alpha passage is 0 ~ 128, and the interval range in second channel interval is 128 ~ 255.
9. texturing generating apparatus according to claim 7, is characterized in that, the scope of described Alpha passage is 0 ~ 255; The interval range in the second channel interval of described Alpha passage is 0 ~ 128, and the interval range in first passage interval is 128 ~ 255.
10. a material synthesizer, is characterized in that, comprising:
Pinup picture acquisition module, for obtaining texturing; The texturing that described texturing generates for the device according to claim 7 ~ 9 any one;
First functional modules, controls the transparency expression effect of material and high light expression effect for utilizing the information parameter of Alpha passage in described texturing;
Second functional modules, for utilizing the reflection of light expression effect of the color information state modulator material that color channel stores in described texturing.
11. material synthesizers according to claim 10, is characterized in that, the described transparency expression effect of the information parameter of Alpha passage in described texturing control material and the high light expression effect of utilizing comprises:
Judge that the information parameter of Alpha passage in described texturing is positioned at described first passage interval or described second channel interval;
When the information parameter of Alpha passage is positioned at described first passage interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the transparency expression effect of material;
When the information parameter of Alpha passage is positioned at described second channel interval in described texturing, the information parameter of Alpha passage in described texturing is utilized to control the high light expression effect of material.
12. material synthesizers according to claim 11, is characterized in that, are controlled the transparency expression effect of material in described material synthesizer by AlphaClip function or AlphaBlend function.
CN201610058355.5A 2016-01-28 2016-01-28 Texturing generation method and device, material synthetic method and device Active CN105574920B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610058355.5A CN105574920B (en) 2016-01-28 2016-01-28 Texturing generation method and device, material synthetic method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610058355.5A CN105574920B (en) 2016-01-28 2016-01-28 Texturing generation method and device, material synthetic method and device

Publications (2)

Publication Number Publication Date
CN105574920A true CN105574920A (en) 2016-05-11
CN105574920B CN105574920B (en) 2018-03-13

Family

ID=55885006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610058355.5A Active CN105574920B (en) 2016-01-28 2016-01-28 Texturing generation method and device, material synthetic method and device

Country Status (1)

Country Link
CN (1) CN105574920B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331663A (en) * 2016-08-26 2017-01-11 珠海金山网络游戏科技有限公司 Interactive texture obtaining system and method for portable device
CN106408617A (en) * 2016-08-26 2017-02-15 珠海金山网络游戏科技有限公司 Interactive single image material acquiring system based on YUV color space and method
CN108062510A (en) * 2017-11-17 2018-05-22 维库(厦门)信息技术有限公司 Dynamic display method and computer equipment during a kind of multiple target tracking fructufy
CN108295467A (en) * 2018-02-06 2018-07-20 网易(杭州)网络有限公司 Rendering method, device and the storage medium of image, processor and terminal
WO2019096189A1 (en) * 2017-11-16 2019-05-23 腾讯科技(深圳)有限公司 Image display method, device for same, and storage medium
CN111064986A (en) * 2018-10-17 2020-04-24 腾讯科技(深圳)有限公司 Animation data sending method with transparency, animation data playing method and computer equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6707459B1 (en) * 2001-02-01 2004-03-16 Apple Computer, Inc. Adjustment of color values for optimized image processing
US7154511B2 (en) * 2003-10-24 2006-12-26 Microsoft Corporation Fast rendering of ink
CN102243769A (en) * 2011-07-26 2011-11-16 Tcl集团股份有限公司 3D (three-dimensional) volume light dynamic implementation method and device
CN102446364A (en) * 2011-09-05 2012-05-09 中兴通讯股份有限公司 Image processing method, device and terminal based on transparency
CN102800118A (en) * 2012-05-31 2012-11-28 新奥特(北京)视频技术有限公司 Method for realizing special effects of material boards
CN102915559A (en) * 2012-08-22 2013-02-06 北京航空航天大学 Real-time transparent object GPU (graphic processing unit) parallel generating method based on three-dimensional point cloud

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6707459B1 (en) * 2001-02-01 2004-03-16 Apple Computer, Inc. Adjustment of color values for optimized image processing
US7154511B2 (en) * 2003-10-24 2006-12-26 Microsoft Corporation Fast rendering of ink
CN102243769A (en) * 2011-07-26 2011-11-16 Tcl集团股份有限公司 3D (three-dimensional) volume light dynamic implementation method and device
CN102446364A (en) * 2011-09-05 2012-05-09 中兴通讯股份有限公司 Image processing method, device and terminal based on transparency
CN102800118A (en) * 2012-05-31 2012-11-28 新奥特(北京)视频技术有限公司 Method for realizing special effects of material boards
CN102915559A (en) * 2012-08-22 2013-02-06 北京航空航天大学 Real-time transparent object GPU (graphic processing unit) parallel generating method based on three-dimensional point cloud

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331663A (en) * 2016-08-26 2017-01-11 珠海金山网络游戏科技有限公司 Interactive texture obtaining system and method for portable device
CN106408617A (en) * 2016-08-26 2017-02-15 珠海金山网络游戏科技有限公司 Interactive single image material acquiring system based on YUV color space and method
CN106408617B (en) * 2016-08-26 2020-03-31 珠海金山网络游戏科技有限公司 Interactive single image material obtaining system and method based on YUV color space
WO2019096189A1 (en) * 2017-11-16 2019-05-23 腾讯科技(深圳)有限公司 Image display method, device for same, and storage medium
US11361488B2 (en) 2017-11-16 2022-06-14 Tencent Technology (Shenzhen) Company Limited Image display method and apparatus, and storage medium
CN108062510A (en) * 2017-11-17 2018-05-22 维库(厦门)信息技术有限公司 Dynamic display method and computer equipment during a kind of multiple target tracking fructufy
CN108062510B (en) * 2017-11-17 2022-02-11 维库(厦门)信息技术有限公司 Multi-target tracking result real-time dynamic display method and computer equipment
CN108295467A (en) * 2018-02-06 2018-07-20 网易(杭州)网络有限公司 Rendering method, device and the storage medium of image, processor and terminal
CN108295467B (en) * 2018-02-06 2021-06-22 网易(杭州)网络有限公司 Image presentation method and device, storage medium, processor and terminal
CN111064986A (en) * 2018-10-17 2020-04-24 腾讯科技(深圳)有限公司 Animation data sending method with transparency, animation data playing method and computer equipment

Also Published As

Publication number Publication date
CN105574920B (en) 2018-03-13

Similar Documents

Publication Publication Date Title
CN105574920A (en) Texture map generating method, texture map generating device, texture synthesizing method and texture synthesizing device
CA2955444C (en) Optimizing computer hardware resource utilization when processing variable precision data
CN105654553B (en) Graphics processor and method of executing a tile-based graphics pipeline
JP4864972B2 (en) 2D editing metaphor for 3D graphics (METAPHOR)
US9922442B2 (en) Graphics processing unit and method for performing tessellation operations
TW201525938A (en) Apparatus and method for tile elimination
US10922852B2 (en) Oil painting stroke simulation using neural network
Wang et al. Real-time rendering on a power budget
KR101100650B1 (en) A system for indirect lighting and multi-layered displacement mapping using map data and its method
JP2009508234A (en) 2D / 3D combined rendering
US9299189B1 (en) Techniques for updating design file lighting values
KR102482874B1 (en) Apparatus and Method of rendering
EP2779112B1 (en) For node in render setup graph
CN111767046B (en) Shader code multiplexing method and terminal
EP0600204A2 (en) Method and apparatus for rendering primitives with multiple processors
CN114266855A (en) Light effect simulation method and device of dot matrix screen and electronic equipment
US11756264B2 (en) Continuous optimization of discrete parameters using a unified stress indicator
Krogh et al. Parallel sphere rendering
Diepstraten et al. Automatic generation and non-photorealistic rendering of 2+ 1D Minkowski diagrams
KR20050080334A (en) Method of synthesizing a multitexture and recording medium thereof
JP2010113548A (en) Graphic device
Zhang et al. Interactive rendering for large-scale mesh based on MapReduce
Mazouka et al. Efficient Scene Image Synthesis Based on Pipeline Technology
CN116758230A (en) Simulation line drawing method, system and storage medium
CN118210417A (en) Virtual electronic screen generation method and device, storage medium and electronic device

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