Texture mapping method and device, computer equipment, and medium
A texture mapping and texture image technology, applied in the fields of texture mapping methods, computer equipment and media, and devices, can solve problems such as reducing the compression ratio, hindering the geometric compression process, etc., to achieve the effect of improving the compression ratio and improving flexibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] Figure 1a It is a flow chart of the texture mapping method in Embodiment 1 of the present invention, and this embodiment is applicable to the situation where a texture image in a texture space is mapped to an object to be mapped in the space. The method can be executed by a texture mapping device, and the texture mapping device can be implemented in software and / or hardware, for example, the device can be configured in a computer device. Such as Figure 1a As shown, the method specifically includes:
[0033] S110. Adjust the original texture image into a continuous global texture image according to the geometric data of the object to be mapped and the relationship between the discontinuous original texture image and the original texture coordinates, and determine the relationship between the geometric data and the The association relationship of the global texture image.
[0034] In this embodiment, source data required for texture mapping is acquired first. Optional...
Embodiment 2
[0047] figure 2 It is a flow chart of the texture mapping method in Embodiment 2 of the present invention, and this embodiment is further optimized on the basis of the foregoing embodiments. Such as figure 2 As shown, the method includes:
[0048] S210. Determine global texture coordinates corresponding to the geometric data.
[0049] In this embodiment, in order to adjust discontinuous original texture images into continuous global texture images, it is first necessary to determine the adjusted position coordinates of each texture image, that is, to form corresponding global texture coordinates based on three-dimensional geometric data. Optionally, the three-dimensional geometric data may be mapped to two-dimensional position information according to a preset algorithm, and the mapped two-dimensional position information may be used as global texture coordinates.
[0050] S220. Adjust the discontinuous original texture image into a continuous global texture image accordi...
Embodiment 3
[0059] image 3 It is a flowchart of the texture mapping method in Embodiment 3 of the present invention, and this embodiment is further optimized on the basis of the foregoing embodiments. Such as image 3 As shown, the method includes:
[0060] S310. Using a first preset algorithm, map the three-dimensional geometric data into two-dimensional transitional texture coordinates.
[0061] In this embodiment, the mapping of 3D geometric data into global texture coordinates is divided into two steps. Firstly, the 3D geometric data is mapped into 2D transitional texture coordinates through a first preset algorithm. Wherein, the first preset algorithm may be of various types, as long as the three-dimensional geometric data can be mapped into two-dimensional data. For example, affine transformation, conformal transformation, etc. Preferably, the first preset algorithm is conformal mapping, such as Rich flow. A conformal map (conformal transformation) is a map that preserves angl...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


