Unlock instant, AI-driven research and patent intelligence for your innovation.

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.

Pending Publication Date: 2021-02-26
SHANGHAI BILIBILI TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the method of baking model textures is usually more complicated. Taking baking AO textures as an example, there are many tools for baking model AO textures, such as 3DMax, Blender and other art engines, and the specific baking principles are different.
However, it takes too long to bake the AO texture of the model using the art engine. Taking Blender as an example, it often takes several minutes to bake a 4096 texture, and the operation steps of 3DMax baking are extremely complicated.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Baking model mapping method, device, computer equipment and storage medium
  • Baking model mapping method, device, computer equipment and storage medium
  • Baking model mapping method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a baking model mapping method, a device, computer equipment and a storage medium. The method comprises the steps of obtaining a to-be-baked model and map coordinate informationof the to-be-baked model; rendering a depth map and a to-be-baked information map of the to-be-baked model under a screen coordinate system; unfolding the to-be-baked model according to the map coordinate information, taking the camera coordinate information of the to-be-baked model as a color, and rendering to obtain a map layout map; for the same screen coordinate of the to-be-baked model, comparing whether the physical depth of the to-be-baked model is the same as the image depth represented on the depth map or not; if the physical depth is different from the image depth, setting color value information corresponding to the screen coordinates on the map layout map as a preset value; and if the physical depth is the same as the image depth, setting color value information corresponding to the screen coordinates on the map layout map according to the color value information of the screen coordinates on the to-be-baked information map. Through the application, the baking efficiency canbe improved.

Description

technical field [0001] The present application relates to the technical field of image processing, and in particular to a method, device, computer equipment and storage medium for baking model textures. Background technique [0002] A complete 3D model includes white molds and textures. The white mold determines the shape and structure of the model, and the textures endow the model with color and details. In the game field, model textures include normal maps, AO (Ambient Occlusion, ambient light occlusion ) map and curvature map, etc. Among them, the normal map is a special texture that can be applied to the surface of the 3D model. As an extension of the bump texture, it enables each pixel of each plane to have a height value and contains many detailed surface information. , can create many kinds of special stereoscopic visual effects on the shape of ordinary objects; AO map is used to describe the effect of blocking the diffuse light around the object when it intersects or...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06T15/00G06T15/50G06T19/20
CPCG06T15/005G06T15/50G06T19/20G06T2200/04
Inventor 陈思敏
Owner SHANGHAI BILIBILI TECH CO LTD