Baking model mapping method, device, computer equipment and storage medium
A model and baking technology, applied in the field of image processing, can solve the problems of long time consumption of textures, complicated 3DMax baking operation steps, and complicated methods of baking model textures.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] The embodiment of this application provides a method for baking model textures. Through this method, all surface pixels of the model are rendered in the screen space at one time, and then the rendering effect is mapped to the texture space, saving the cost of reading and writing pixels, and improving baking efficiency. land, figure 1 A flow chart of the method for baking model textures provided in Embodiment 1 of the present application, such as figure 1 As shown, the method for baking model textures provided in this embodiment includes the following steps S101 to S106.
[0045] Step S101: Obtain the model to be baked and the texture coordinate information of the model to be baked.
[0046] Among them, obtaining the model to be baked is to obtain the vertex information and surface information of the model to be baked, so as to establish the model to be baked, such as figure 2 shown in figure 2 In the shown model to be baked, 8 unit boxes are included. The texture ...
Embodiment 2
[0079] Corresponding to the above-mentioned first embodiment, the second embodiment of the present application provides a device for baking model textures, corresponding technical feature details and corresponding technical effects can refer to the above-mentioned first embodiment, and will not be repeated in this embodiment. Figure 14 A block diagram of a device for baking model textures provided in Embodiment 2 of the present application, such as Figure 14 As shown, the device includes: a first acquisition module 201 , a first rendering module 202 , a second rendering module 203 , a comparison module 204 , a first processing module 205 and a second processing module 206 .
[0080] Wherein, the first acquiring module 201 is used to acquire the texture coordinate information of the model to be baked and the model to be baked; the first rendering module 202 is used to render the depth map and the information map to be baked of the model to be baked in the screen coordinate sys...
Embodiment 3
[0091] This embodiment also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server, or a cabinet server (including an independent server, or A server cluster composed of multiple servers), etc. Such as image 3 As shown, the computer device 01 in this embodiment at least includes but is not limited to: a memory 011 and a processor 012 that can communicate with each other through a system bus, such as image 3 shown. It should be pointed out that, image 3 Only the computer device 01 is shown with components memory 011 and processor 012, but it should be understood that implementing all of the illustrated components is not a requirement and that more or fewer components may instead be implemented.
[0092]In this embodiment, the memory 011 (that is, a readable storage medium) includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX m...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


