Intelligent shoe mold texture mapping method

Through the intelligent shoe mold map mapping method, UV maps are automatically processed, which solves the problems of high labor costs and inconsistent map proportions in traditional methods, and achieves efficient shoe mold production and optimization of display effects.

CN114357738BActive Publication Date: 2024-09-13CHENGDU ZHONGYU INTERACTIVE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111573369.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2024-09-13
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the production of shoe molds, the traditional UV expansion and mapping process is cumbersome, resulting in high labor and time costs, and it is difficult to ensure that the texture proportions of different parts are consistent. In particular, there are challenges when dealing with texture seams.

Method used

The intelligent shoe mold mapping method is used to collect the shoe mold sampling coordinates, determine the triangular surface and its centroid coordinates, calculate the weight based on the centroid coordinates, divide the area and perform texture sampling to achieve automated UV texture mapping.

Benefits of technology

It greatly reduces labor and time costs, ensures the consistency of the size of the map area of ​​each model component, solves the problem of map seams, and improves computing performance. It is suitable for real-time calculations, significantly speeding up shoe mold production and optimizing the display effect. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114357738B
    Figure CN114357738B
Patent Text Reader

Abstract

The present invention discloses an intelligent shoe mold mapping method, comprising the following steps: S1: collecting sampling coordinates of the shoe mold to be mapped, and determining the triangular face where the sampling coordinates are located and its centroid coordinates; S2: in the triangular face, determining the region and its weight according to the centroid coordinates; S3: performing mapping sampling according to the weight of the centroid coordinates, and completing shoe mold mapping. The intelligent shoe mold mapping method provides a universal automatic model mapping UV mapping solution, which does not require model practitioners to manually prepare mapping UV data when making models, which will greatly reduce labor costs and time costs as well as the licensing costs of corresponding production software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of shoe mold mapping, and in particular relates to an intelligent shoe mold mapping method. Background Art

[0002] In the actual shoe model production and display, the display of shoe model fabrics is a very important part. Since it is necessary to ensure that the size ratio of different surface fabrics attached to different parts of the shoe model is consistent, this directly depends on the UV expansion of the modeler during modeling. Since each component of the shoe model needs to be displayed during the display stage of the shoe model, this requires the modeler to expand the UV for each model component separately, and it is necessary to ensure that the size ratio of the UV mapping area needs to be basically consistent, so as to ensure the consistency of the physical size appearance when the texture is finally rendered. In addition, since a shoe often requires more than a dozen or even more parts to be expanded, this places very high demands on the modeler and the time cost is huge. Secondly, modelers often need to deal with these UV expansion problems in professional software, which also increases the labor cost and time cost of shoe model modeling and the cost of genuine software licensing. Secondly, the problem of mapping seams between different parts of the model is often one of the difficulties that modelers have to deal with. Summary of the invention

[0003] The purpose of the present invention is to solve the problem of accurate mapping of shoe molds, and proposes an intelligent shoe mold mapping method.

[0004] The technical solution of the present invention is: an intelligent shoe mold mapping method comprises the following steps:

[0005] S1: Collect the sampling coordinates of the shoe model to be mapped, and determine the triangular face where the sampling coordinates are located and its centroid coordinates;

[0006] S2: In the triangular face, determine the area and its weight according to the centroid coordinates;

[0007] S3: According to the weight of the centroid coordinates, texture sampling is performed to complete the shoe mold texture mapping.

[0008] Furthermore, in step S1, the specific method for determining the triangular face where the sampling coordinates are located and its centroid coordinates is: perform coordinate transformation on the sampling coordinates of the shoe model to be mapped, use the sampling coordinates of the shoe model to be mapped as the vertex position in the three-dimensional space, set the normal in the three-dimensional space, map the direction vector of the normal to the centroid coordinates, obtain the centroid coordinates uvw, and determine the triangular face according to the centroid coordinates uvw.

[0009] Furthermore, in step S1, the calculation formula for coordinate transformation is:

[0010]

[0011]

[0012]

[0013] Among them, P xy Represents the horizontal coordinate of the sampling coordinate after coordinate transformation, P xz Represents the ordinate of the sampling coordinate after coordinate transformation, P zy Represents the vertical coordinate of the sampling coordinate after coordinate transformation, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, P.zy represents the coordinate point of the sampling coordinate projected to the yz plane, vector 3 (·) indicates vector function operation, s indicates the scaling factor, r indicates the rotation factor, x indicates the offset factor of the horizontal axis, and y indicates the offset factor of the vertical axis;

[0014] In step S1, the calculation formula of the centroid coordinate uvw is:

[0015] uvw=N / (N.x+N.y+Nz)

[0016] Among them, N represents the normal, Nx represents the x component of the normal, Ny represents the y component of the normal, and Nz represents the z component of the normal.

[0017] Furthermore, step S2 includes the following sub-steps:

[0018] S21: setting a mixing coefficient and a weight vector, and setting auxiliary parameters according to the mixing coefficient;

[0019] S22: Divide the triangular surface into first to seventh regions according to the weight vector and the auxiliary parameters;

[0020] S23: Determine whether the centroid coordinates are located in the first to third regions of the triangular face, if so, proceed to step S25, otherwise proceed to step S24;

[0021] S24: Determine the region to which the centroid coordinates belong in the fourth region to the seventh region of the triangular face, and proceed to step S25;

[0022] S25: Determine the weight of the centroid coordinates in the corresponding area.

[0023] Furthermore, in step S21, the calculation formula of the auxiliary parameter B is:

[0024] B = 0.5*(b+1)

[0025] Where b represents the mixing coefficient;

[0026] In step S22, the specific method of dividing the first area to the seventh area is: use the weight vector to divide the triangular face from the three sides parallel to the triangular face respectively, to obtain seven areas, and from the bottom edge upward and from left to right as the third area, the sixth area, the first area, the fifth area, the seventh area, the fourth area and the second area.

[0027] Further, in step S23, if the centroid coordinate uvw satisfies uvw.x>B*(uvw.x+uvw.y) and satisfies uvw.x>B*(uvw.x+uvw.z), the centroid coordinate is located in the first area, wherein B represents the auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate;

[0028] If the centroid coordinate uvw satisfies uvw.y>B*(uvw.x+uvw.y) and satisfies uvw.y>B*(uvw.y+uvw.z), the centroid coordinate is located in the second area;

[0029] If the centroid coordinate uvw satisfies uvw.z>B*(uvw.x+uvw.z) and satisfies uvw.z>B*(uvw.y+uvw.z), the centroid coordinate is located in the third area.

[0030] Further, in step S24, if the centroid coordinate uvw satisfies uvw.z<(1-B)*(uvw.x+uvw.y), the centroid coordinate is located in the fourth area, where B represents the auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate;

[0031] If the centroid coordinate uvw satisfies uvw.x<(1-B)*(uvw.y+uvw.z), the centroid coordinate is located in the fifth region;

[0032] If the centroid coordinate uvw satisfies uvw.y<(1-B)*(uvw.x+uvw.z), the centroid coordinate is located in the sixth region;

[0033] If the centroid coordinate uvw does not satisfy the conditions of the first to sixth regions, the centroid coordinate is located in the seventh region.

[0034] Further, in step S25, when the centroid coordinate uvw is located in the first region, the x component of the weight vector wx=1, the y component of the weight vector wy=0, and the z component of the weight vector wz=0;

[0035] When the centroid coordinate uvw is located in the second region, the x component of the weight vector wx=0, the y component of the weight vector wy=1, and the z component of the weight vector wz=0;

[0036] When the centroid coordinate uvw is located in the third region, the x component of the weight vector wx=0, the y component of the weight vector wy=0, and the z component of the weight vector wz=1;

[0037] When the centroid coordinate uvw is located in the fourth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.y), the y component of the weight vector wy=1-wx, and the z component of the weight vector wz=0;

[0038] When the centroid coordinate uvw is located in the fifth region, the y component of the weight vector wy=uvw.y / (uvw.y+uvw.z), the z component of the weight vector wz=1-wy, and the x component of the weight vector wx=0;

[0039] When the centroid coordinate uvw is located in the sixth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.z), the z component of the weight vector wz=1-wx, and the y component of the weight vector wy=0;

[0040] When the center of mass coordinate uvw is located in the seventh area, the x component of the weight vector wx = ((2-B)*uvw.x+(B-1)) / b, the y component of the weight vector wy = ((2-B)*uvw.y+(B-1)) / b, and the z component of the weight vector wz = ((2-B)*uvw.z+(B-1)) / b, where b represents the mixing coefficient and B represents the auxiliary parameter.

[0041] In the fourth to seventh regions, the calculation of weights is actually symmetrical, and is all about linear mapping of the centroid coordinates. For example, in the fourth region, the first step is to normalize the weight x to the range of 0-1, and the second step is to map the value [0.5*(1-B),0.5*(1+B))] (that is, the region with a middle length of B) to the range of 0-1, while ensuring that the value of the part less than 0 after linear mapping is 0, and the value of the part greater than 1 is 1. Finally, the weight y is 1-weight x, and the weight z is 0, ensuring that the sum of the weights is 1.

[0042] Furthermore, in step S3, the calculation formula for performing texture sampling is:

[0043] Color = wx*TextureSample(P.zy)+wy*TextureSample(P.xz)+wz*TextureSample(P.xy) where Color represents the texture sampling value, wx represents the x component of the weight vector, wy represents the y component of the weight vector, wz represents the z component of the weight vector, TextureSample(·) represents the texture sampling function, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, and P.zy represents the coordinate point of the sampling coordinate projected to the yz plane.

[0044] The beneficial effects of the present invention are:

[0045] (1) The intelligent shoe mold texture mapping method provides a universal automatic model texture UV mapping solution, which does not require model practitioners to manually prepare texture UV data when making models, which will greatly reduce labor costs and time costs as well as the licensing costs of corresponding production software;

[0046] (2) The intelligent shoe mold texture mapping method can ensure that the size ratio of the texture mapping area of ​​each model component is absolutely consistent, ensuring that when rendering the component material texture, the visible size of any cloth material on different shoe mold components is completely consistent, which is difficult to achieve by manually making UV;

[0047] (3) The intelligent shoe mold texture mapping method also solves the problem of the seams of the texture on the model. The smoothness of the seams is adjusted by using parameters, which can better adapt to the shoe mold scene in practical applications. In addition, the intelligent shoe mold texture mapping method has good computing performance and can be used in real-time computing, which greatly accelerates the production of shoe molds and optimizes the display effect of shoe molds. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A flow chart of the smart shoe model mapping method;

[0049] Figure 2 It is the regional structure diagram of the triangular surface;

[0050] Figure 3 is a geometric diagram of the first region;

[0051] Figure 4 is a geometric diagram of the second region;

[0052] Figure 5 is a geometric diagram of the third region;

[0053] Figure 6 is a geometric diagram of the fourth region;

[0054] Figure 7 This is a geometric diagram of the fifth region;

[0055] Figure 8 This is a geometric diagram of the sixth area;

[0056] Fig. 9 This is a geometric diagram of the seventh area. DETAILED DESCRIPTION

[0057] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0058] like Figure 1 As shown, the present invention provides an intelligent shoe mold mapping method, comprising the following steps:

[0059] S1: Collect the sampling coordinates of the shoe model to be mapped, and determine the triangular face where the sampling coordinates are located and its centroid coordinates;

[0060] S2: In the triangular face, determine the region and its weight according to the centroid coordinates;

[0061] S3: According to the weight of the centroid coordinates, texture sampling is performed to complete the shoe mold texture mapping.

[0062] In an embodiment of the present invention, in step S1, the specific method for determining the triangular face where the sampling coordinates are located and its centroid coordinates is: performing coordinate transformation on the sampling coordinates of the shoe model to be mapped, taking the sampling coordinates of the shoe model to be mapped as the vertex position in the three-dimensional space, setting the normal in the three-dimensional space, mapping the direction vector of the normal to the centroid coordinates, obtaining the centroid coordinates uvw, and determining the triangular face according to the centroid coordinates uvw.

[0063] In the embodiment of the present invention, the sampling coordinate is set to the vertex position in the model space, denoted as P, and the corresponding normal is set to N, and the normal must be normalized. The purpose of the present invention is to establish an algorithmic mapping method to map the normal N vector to a weight vector w, satisfying w.x+w.y+wz=1.0, and finally use the weight vector w to perform weighted sum on the texture sampling results of the three two-dimensional components of P (i.e., P.xy, P.xz, P.yz) to obtain the final result.

[0064] In the embodiment of the present invention, in step S1, the calculation formula for coordinate transformation is:

[0065]

[0066]

[0067]

[0068] Among them, Pxy Represents the horizontal coordinate of the sampling coordinate after coordinate transformation, P xz Represents the ordinate of the sampling coordinate after coordinate transformation, P zy Represents the vertical coordinate of the sampling coordinate after coordinate transformation, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, P.zy represents the coordinate point of the sampling coordinate projected to the yz plane, vector 3 (·) indicates vector function operation, s indicates the scaling factor, r indicates the rotation factor, x indicates the offset factor of the horizontal axis, and y indicates the offset factor of the vertical axis;

[0069] In step S1, the calculation formula of the centroid coordinate uvw is:

[0070] uvw=N / (N.x+N.y+Nz)

[0071] Among them, N represents the normal, Nx represents the x component of the normal, Ny represents the y component of the normal, and Nz represents the z component of the normal.

[0072] N=abs(N'), where abs(·) represents an absolute value operation.

[0073] In this embodiment of the present invention, step S2 includes the following sub-steps:

[0074] S21: setting a mixing coefficient and a weight vector, and setting auxiliary parameters according to the mixing coefficient;

[0075] S22: Divide the triangular surface into first to seventh regions according to the weight vector and the auxiliary parameters;

[0076] S23: Determine whether the centroid coordinates are located in the first to third regions of the triangular face, if so, proceed to step S25, otherwise proceed to step S24;

[0077] S24: Determine the region to which the centroid coordinates belong in the fourth region to the seventh region of the triangular face, and proceed to step S25;

[0078] S25: Determine the weight of the centroid coordinates in the corresponding area.

[0079] In the embodiment of the present invention, in step S21, the calculation formula of the auxiliary parameter B is:

[0080] B = 0.5*(b+1)

[0081] Among them, b represents the mixing coefficient, which is used to solve the seam problem;

[0082] like Figure 2As shown, in step S22, the specific method of dividing the first area to the seventh area is: use the weight vector to divide the triangular face from the three sides parallel to the triangular face respectively, to obtain seven areas, and from the bottom edge upward and from left to right as the third area, the sixth area, the first area, the fifth area, the seventh area, the fourth area and the second area.

[0083] In the embodiment of the present invention, in step S23, if Figure 3 As shown, if the centroid coordinate uvw satisfies uvw.x>B*(uvw.x+uvw.y) and satisfies uvw.x>B*(uvw.x+uvw.z), the centroid coordinate is located in the first area, where B represents the auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate;

[0084] like Figure 4 As shown, if the centroid coordinate uvw satisfies uvw.y>B*(uvw.x+uvw.y) and satisfies uvw.y>B*(uvw.y+uvw.z), the centroid coordinate is located in the second area;

[0085] like Figure 5 As shown, if the centroid coordinate uvw satisfies uvw.z>B*(uvw.x+uvw.z) and satisfies uvw.z>B*(uvw.y+uvw.z), the centroid coordinate is located in the third area.

[0086] In the embodiment of the present invention, Figure 6 As shown, in step S24, if the centroid coordinate uvw satisfies uvw.z<(1-B)*(uvw.x+uvw.y), the centroid coordinate is located in the fourth area, where B represents the auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate;

[0087] like Figure 7 As shown, if the centroid coordinate uvw satisfies uvw.x<(1-B)*(uvw.y+uvw.z), the centroid coordinate is located in the fifth area;

[0088] like Figure 8 As shown, if the centroid coordinate uvw satisfies uvw.y<(1-B)*(uvw.x+uvw.z), the centroid coordinate is located in the sixth area;

[0089] like Fig. 9 As shown, if the centroid coordinate uvw does not meet the conditions of the first area to the sixth area, the centroid coordinate is located in the seventh area.

[0090] In the embodiment of the present invention, in step S25, when the centroid coordinate uvw is located in the first region, the x component of the weight vector wx=1, the y component of the weight vector wy=0, and the z component of the weight vector wz=0;

[0091] When the centroid coordinate uvw is located in the second region, the x component of the weight vector wx=0, the y component of the weight vector wy=1, and the z component of the weight vector wz=0;

[0092] When the centroid coordinate uvw is located in the third region, the x component of the weight vector wx=0, the y component of the weight vector wy=0, and the z component of the weight vector wz=1;

[0093] When the centroid coordinate uvw is located in the fourth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.y), the y component of the weight vector wy=1-wx, and the z component of the weight vector wz=0;

[0094] When the centroid coordinate uvw is located in the fifth region, the y component of the weight vector wy=uvw.y / (uvw.y+uvw.z), the z component of the weight vector wz=1-wy, and the x component of the weight vector wx=0;

[0095] When the centroid coordinate uvw is located in the sixth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.z), the z component of the weight vector wz=1-wx, and the y component of the weight vector wy=0;

[0096] When the center of mass coordinate uvw is located in the seventh area, the x component of the weight vector wx = ((2-B)*uvw.x+(B-1)) / b, the y component of the weight vector wy = ((2-B)*uvw.y+(B-1)) / b, and the z component of the weight vector wz = ((2-B)*uvw.z+(B-1)) / b, where b represents the mixing coefficient and B represents the auxiliary parameter.

[0097] In the embodiment of the present invention, in step S3, the calculation formula for performing texture sampling is:

[0098] Color = wx*TextureSample(P.zy)+wy*TextureSample(P.xz)+wz*TextureSample(P.xy) where Color represents the texture sampling value, wx represents the x component of the weight vector, wy represents the y component of the weight vector, wz represents the z component of the weight vector, TextureSample(·) represents the texture sampling function, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, and P.zy represents the coordinate point of the sampling coordinate projected to the yz plane.

[0099] The working principle and process of the present invention are as follows: the present invention is mainly to solve the cumbersome production method of traditional UV unfolding used in shoe mold modeling and the need for modelers to accurately design the UV unfolding of each component, and provides an automated UV mapping method so that modelers do not need to manually make UV during the modeling process. In addition, the automated mapping scheme has good adjustability and can provide good adjustability in the material mapping display of model components. Secondly, this algorithm can automatically ensure that the size ratio of the mapping area of ​​each model component is absolutely consistent, ensuring that when rendering the component material mapping, the physical size of any fabric material on different shoe mold components is completely consistent, and there is no need to manually adjust the mapping scaling ratio of each component separately. At the same time, this algorithm supports real-time unified translation, rotation and scaling of fabrics. The automated mapping scheme greatly saves the time cost and labor cost of shoe mold production, and secondly provides adjustable smoothing parameters to solve the seam problem between different components.

[0100] The beneficial effects of the present invention are:

[0101] (1) The intelligent shoe mold texture mapping method provides a universal automatic model texture UV mapping solution, which does not require model practitioners to manually prepare texture UV data when making models, which will greatly reduce labor costs and time costs as well as the licensing costs of corresponding production software;

[0102] (2) The intelligent shoe mold texture mapping method can ensure that the size ratio of the texture mapping area of ​​each model component is absolutely consistent, ensuring that when rendering the component material texture, the visible size of any cloth material on different shoe mold components is completely consistent, which is difficult to achieve by manually making UV;

[0103] (3) The intelligent shoe mold texture mapping method also solves the problem of the seams of the texture on the model. The smoothness of the seams is adjusted by using parameters, which can better adapt to the shoe mold scene in practical applications. In addition, the intelligent shoe mold texture mapping method has good computing performance and can be used in real-time computing, which greatly accelerates the production of shoe molds and optimizes the display effect of shoe molds.

[0104] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. An intelligent shoe mold mapping method, characterized in that: The following steps are involved: S1: Collect the sampling coordinates of the shoe model to be mapped, and determine the triangular face where the sampling coordinates are located and its centroid coordinates; S2: In the triangular face, determine the region and its weight according to the centroid coordinates; The S2 includes: S21: setting a mixing coefficient and a weight vector, and setting auxiliary parameters according to the mixing coefficient; In step S21, the calculation formula of the auxiliary parameter B is: B = 0.5*(b+1) Where b represents the mixing coefficient; S22: Divide the triangular surface into first to seventh regions according to the weight vector and the auxiliary parameters; In the step S22, the specific method of dividing the first area to the seventh area is: using the weight vector to divide the triangular face from three sides parallel to the triangular face respectively, to obtain seven areas, and from the bottom side upward and from left to right, they are the third area, the sixth area, the first area, the fifth area, the seventh area, the fourth area, and the second area; S23: Determine whether the centroid coordinates are located in the first to third regions of the triangular face, if so, proceed to step S25, otherwise proceed to step S24; In the step S23, if the centroid coordinate uvw satisfies uvw.x>B*(uvw.x+uvw.y) and satisfies uvw.x>B*(uvw.x+uvw.z), the centroid coordinate is located in the first area, wherein B represents an auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate; If the centroid coordinate uvw satisfies uvw.y>B*(uvw.x+uvw.y) and satisfies uvw.y>B*(uvw.y+uvw.z), the centroid coordinate is located in the second area; If the centroid coordinate uvw satisfies uvw.z>B*(uvw.x+uvw.z) and satisfies uvw.z>B*(uvw.y+uvw.z), the centroid coordinate is located in the third area; S24: Determine the region to which the centroid coordinates belong in the fourth region to the seventh region of the triangular face, and proceed to step S25; In S24, if the centroid coordinate uvw satisfies uvw.z<(1-B)*(uvw.x+uvw.y), the centroid coordinate is located in the fourth area, where B represents the auxiliary parameter, uvw.x represents the u component value of the centroid coordinate, uvw.y represents the v component value of the centroid coordinate, and uvw.z represents the w component value of the centroid coordinate; If the centroid coordinate uvw satisfies uvw.x<(1-B)*(uvw.y+uvw.z), the centroid coordinate is located in the fifth region; If the centroid coordinate uvw satisfies uvw.y<(1-B)*(uvw.x+uvw.z), the centroid coordinate is located in the sixth region; If the centroid coordinate uvw does not meet the conditions of the first to sixth regions, the centroid coordinate is located in the seventh region; S25: Determine the weight of the centroid coordinates in the corresponding area; In step S25, when the centroid coordinate uvw is located in the first region, the x component of the weight vector wx=1, the y component of the weight vector wy=0, and the z component of the weight vector wz=0; When the centroid coordinate uvw is located in the second region, the x component of the weight vector wx=0, the y component of the weight vector wy=1, and the z component of the weight vector wz=0; When the centroid coordinate uvw is located in the third region, the x component of the weight vector wx=0, the y component of the weight vector wy=0, and the z component of the weight vector wz=1; When the centroid coordinate uvw is located in the fourth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.y), the y component of the weight vector wy=1-wx, and the z component of the weight vector wz=0; When the centroid coordinate uvw is located in the fifth region, the y component of the weight vector wy=uvw.y / (uvw.y+uvw.z), the z component of the weight vector wz=1-wy, and the x component of the weight vector wx=0; When the centroid coordinate uvw is located in the sixth region, the x component of the weight vector wx=uvw.x / (uvw.x+uvw.z), the z component of the weight vector wz=1-wx, and the y component of the weight vector wy=0; When the centroid coordinate uvw is located in the seventh region, the x component of the weight vector wx=((2-B)*uvw.x+(B-1)) / b, the y component of the weight vector wy=((2-B)*uvw.y+(B-1)) / b, and the z component of the weight vector wz=((2-B)*uvw.z+(B-1)) / b, where b represents the mixing coefficient and B represents the auxiliary parameter; S3: According to the weight of the centroid coordinates, texture sampling is performed to complete the shoe mold texture mapping.

2. The intelligent shoe mold mapping method according to claim 1, characterized in that: In the step S1, the specific method for determining the triangular face where the sampling coordinates are located and the centroid coordinates thereof is: performing coordinate transformation on the sampling coordinates of the shoe model to be mapped, taking the sampling coordinates of the shoe model to be mapped as the vertex position in the three-dimensional space, setting the normal in the three-dimensional space, mapping the direction vector of the normal to the centroid coordinates, obtaining the centroid coordinates uvw, and determining the triangular face according to the centroid coordinates uvw.

3. The intelligent shoe mold mapping method according to claim 2, characterized in that: In step S1, the calculation formula for coordinate transformation is: Among them, P xy Represents the horizontal coordinate of the sampling coordinate after coordinate transformation, P xz Represents the ordinate of the sampling coordinate after coordinate transformation, P zy represents the vertical coordinate of the sampling coordinate after coordinate transformation, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, P.zy represents the coordinate point of the sampling coordinate projected to the yz plane, vector3(·) represents vector function operation, s represents the scaling factor, r represents the rotation factor, x represents the offset factor of the horizontal axis, and y represents the offset factor of the vertical axis; In step S1, the calculation formula of the centroid coordinate uvw is: uvw=N / (N.x+N.y+Nz) Among them, N represents the normal, Nx represents the x component of the normal, Ny represents the y component of the normal, and Nz represents the z component of the normal.

4. The intelligent shoe mold mapping method according to claim 1, characterized in that: In step S3, the calculation formula for performing texture sampling is: Color = wx*TextureSample(P.zy)+wy*TextureSample(P.xz)+wz*TextureSample(P.xy) where Color represents the texture sampling value, wx represents the x component of the weight vector, wy represents the y component of the weight vector, wz represents the z component of the weight vector, TextureSample(·) represents the texture sampling function, P.xy represents the coordinate point of the sampling coordinate projected to the xy plane, P.xz represents the coordinate point of the sampling coordinate projected to the xz plane, and P.zy represents the coordinate point of the sampling coordinate projected to the yz plane.