A method, device, system and storage medium for digital human clothing adaptation

Through digital human hair and clothing adaptation technology, using offline processing and real-time rendering of hair, offline processing and real-time rendering of clothing, the problem of waste of resources and heavy workload of digital human hair and clothing adaptation in the existing technology has been solved, and standardization has been achieved The effect of adapting and reducing model modifications.

CN116401724BActive Publication Date: 2024-10-01北京盈锋科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310624137.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-10-01
Estimated Expiration
2043-05-30

AI Technical Summary

Technical Problem

In the existing technology, digital human hair and clothing adaptation need to be produced separately for each digital human, and multiple sets of Mask maps need to be generated when matching clothing, resulting in a waste of resources and a heavy workload.

Method used

Through hair offline processing and real-time rendering technology, you only need to make a set of standard hair models to adapt to all digital people. Mask maps and normal maps are generated through clothing offline processing and real-time rendering, which solves the problem of model interleaving and reduces the workload of artists. workload.

Benefits of technology

It is realized that only one set of hair models can be adapted to all digital people, and artists can make clothing models according to conventional methods without worrying about model interleaving, which greatly reduces the workload of production and modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116401724B_ABST
    Figure CN116401724B_ABST
Patent Text Reader

Abstract

The present invention provides a method, device and system for digital human hair and clothing adaptation, which relates to the field of digital humans and is applied to realize personalized dressing of digital humans. Specifically, it includes: offline processing of hair, i.e. reading the model, marking the hairline position, smoothing the data, and saving the data; real-time rendering of hair, i.e. loading the character model, reading the hairline, and calculating the position offset of the forehead; offline processing of clothing, i.e. obtaining the human body model and clothing model data, and projecting the UV and normal data corresponding to the clothing and the human body, and generating a mask map and a normal map; real-time rendering of clothing, i.e. scaling the model vertices, removing the transitions and cutting according to the mask map and the normal map. The present invention only needs one set of standard digital humans to make hair to adapt to all digital humans. At the same time, this aspect only needs the artists to make clothing models according to the conventional method and then freely match them, which reduces the workload of the artists in making models and the workload of subsequent model modifications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of digital humans, and is applied to realizing personalized dressing of digital humans. Background Art

[0002] At present, in the field of digital humans, personalized dressing for digital humans is a very common application, which includes changing the digital human's hairstyle, clothes, pants, shoes, socks and other clothing. At the same time, the current digital human hair adaptation is generally made for each digital human individually or requires special processing for this person when generating a digital human, which takes a long time to process and generates a large amount of resources. When adapting clothing, since the digital human can freely match multiple sets of clothing, it is often necessary for artists to make fine adjustments to the clothing to solve the problem of model interlacing, and the workload of handling such work is huge. Summary of the invention

[0003] The technical problem to be solved by the present invention is that, in view of the defects existing in the prior art, a method, device, system and storage medium for digital human clothing adaptation are provided, which realizes that only one set of hair models is needed to adapt all digital humans, and only N+M mask maps are needed to solve the model penetration problem, where N and M are the number of matching clothes.

[0004] The technical solution adopted by the present invention to solve its technical problem is:

[0005] According to one aspect of an embodiment of the present disclosure, a method for digital human hair adaptation is provided, comprising:

[0006] Digital human hair adaptation includes offline hair processing and real-time hair rendering;

[0007] Wherein, the hair offline processing steps include:

[0008] Read the model, mark the hairline position, smooth the data, and save the data;

[0009] S1.1, obtaining a hair model, reading the hair model into memory, and displaying the hair model in a mesh form by rendering;

[0010] S1.2, marking the vertices at the hairline position of the hair model to obtain marking data;

[0011] S1.3, adding the marked data to obtain the average value, and obtaining the average data;

[0012] S1.4, saving the average data in a file format for real-time rendering;

[0013] The steps of real-time hair rendering include:

[0014] Load the character model, read the hairline, and calculate the position offset of the forehead;

[0015] S2.1, obtaining a hair model, parsing the hair model data file, and obtaining point, edge, and surface data of the hair model;

[0016] S2.2, reading the average data to obtain the first hair vertex P0, and performing vertex indexing on the hair model to obtain the second hair vertex P1;

[0017] S2.3. Calculate the position offset of the hair part according to the first hair vertex P0 and the second hair vertex P1.

[0018] According to another aspect of an embodiment of the present disclosure, calculating the position offset of the forehead portion includes:

[0019] Calculate the forehead position offset OffsetY =||P1-P0||;

[0020] And when the hair model changes its hair, the position of the forehead is passed into the hair material, and the y of the model coordinate PosW is adjusted, where PosW.y = OffsetY.

[0021] According to one aspect of an embodiment of the present disclosure, a method for digital human clothing adaptation is provided, comprising:

[0022] Digital human clothing adaptation includes offline clothing processing and real-time clothing rendering;

[0023] Among them, the clothing offline processing steps include:

[0024] S3.1. Obtain a human body model and read point, line and surface data of the human body model;

[0025] S3.2, obtaining a clothing model, and reading point, line, and surface data of the clothing model;

[0026] S3.3, projecting the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model to obtain UV and normal data corresponding to the clothing and the human body;

[0027] S3.4, generating a mask map and a normal map according to the UV and normal data corresponding to the clothing and the human body;

[0028] Among them, the steps of real-time clothing rendering include:

[0029] Sample the mask map and normal map, and scale, cull, and clip the model vertices based on the mask map and normal map.

[0030] According to another aspect of an embodiment of the present disclosure, projection is performed based on point, line, and surface data of a human body model and point, line, and surface data of a clothing model, including:

[0031] Place the human body and clothing at the same coordinate position, traverse all vertices of the clothing, emit rays to the human body model along the normal direction, find the UV at the intersection through the intersection point, write the UV at the intersection into the UV1 channel of the clothing, find the normal on the human body and write it into the vertex color channel of the clothing.

[0032] According to another aspect of an embodiment of the present disclosure, finding a normal line on a human body and writing it into a vertex color channel of clothing includes:

[0033] The color channel algorithm is: Color=N*0.5+0.5, where N is the normal and Color is the color channel.

[0034] According to another aspect of the embodiment of the present disclosure, a mask map and a normal map are generated according to UV and normal data corresponding to clothing and a human body, including:

[0035] When generating the mask map, transition processing is performed on the UV edge, which is used to smooth and optimize the seam processing through transition processing when performing real-time rendering of clothing.

[0036] According to one aspect of an embodiment of the present disclosure, a device for digital human hair adaptation is provided, comprising:

[0037] The digital human hair adaptation includes hair offline processing module and hair real-time rendering module;

[0038] Among them, the hair offline processing module includes:

[0039] Read model unit, mark hairline position unit, smooth data unit, save data unit;

[0040] Read model unit: obtain the hair model, read the hair model into memory, and display the hair model in the form of a mesh by rendering;

[0041] Hairline position marking unit: marking the vertices at the hairline position of the hair model to obtain marking data;

[0042] Smoothing data unit: add the marked data and calculate the average value to get the average data;

[0043] Save data unit: save the average data in file format for real-time rendering;

[0044] Among them, the hair real-time rendering module includes:

[0045] Loading character model unit, reading hairline unit, calculating forehead position offset unit;

[0046] Loading character model unit: obtaining the hair model, parsing the hair model data file, and obtaining the point, edge, and surface data of the hair model;

[0047] Read the hairline unit: read the average data to obtain the first hair vertex P0, and perform vertex indexing on the hair model to obtain the second hair vertex P1;

[0048] The forehead part position offset calculating unit calculates the hair part position offset according to the first hair vertex P0 and the second hair vertex P1.

[0049] According to one aspect of an embodiment of the present disclosure, a device for digital human clothing adaptation is provided, comprising:

[0050] The digital human clothing adaptation includes clothing offline processing module and clothing real-time rendering module;

[0051] Among them, the clothing offline processing module includes:

[0052] Data acquisition unit: acquire a human body model, read the point, line and surface data of the human body model, acquire a clothing model, read the point, line and surface data of the clothing model;

[0053] Projection unit: Projects the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model to obtain the UV and normal data corresponding to the clothing and the human body;

[0054] Map acquisition unit: generates mask maps and normal maps according to the UV and normal data corresponding to the clothing and the human body;

[0055] Among them, the clothing real-time rendering module includes:

[0056] Sample the mask map and normal map, and scale, cull, and clip the model vertices based on the mask map and normal map.

[0057] According to one aspect of an embodiment of the present disclosure, a system for digital human hair and clothing adaptation is provided, characterized in that the system for digital human hair and clothing adaptation is applied to the above-mentioned digital human clothing adaptation device and digital human hair adaptation device.

[0058] According to one aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, characterized in that a computer program is stored on the computer-readable storage medium, and a processor executes the computer program to implement any of the above-mentioned methods for digital human hair and clothing adaptation, namely, a method for digital human hair adaptation and a method for digital human clothing adaptation.

[0059] The present invention adopts the above technical solution and has at least the following beneficial effects:

[0060] As for the hair adaptation problem, the disclosed embodiment only needs to make hair for a set of standard digital humans to adapt to all digital humans; as for the clothing adaptation problem, the disclosed embodiment only needs the artists to make clothing models according to conventional methods so that they can freely match them without the problem of model interlacing, which greatly reduces the workload of artists in making models and the workload of subsequent model modifications.

[0061] At the same time, it should be understood that the above general description and the following detailed description are merely exemplary and explanatory and do not limit the embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0063] Figure 1 is a schematic diagram of a method for digital human hair and clothing adaptation in an embodiment of the present disclosure;

[0064] Figure 2 is a schematic diagram of offline processing steps of a method for digital human hair adaptation in an embodiment of the present disclosure;

[0065] Figure 3 is a schematic diagram of real-time rendering steps of a method for digital human hair adaptation in an embodiment of the present disclosure;

[0066] Figure 4 is a schematic diagram of offline processing steps of a method for digital human clothing adaptation in an embodiment of the present disclosure;

[0067] Figure 5 is a schematic diagram of UV unfolding in an embodiment of the present disclosure;

[0068] Figure 6 is a schematic diagram of the UV1 channel in an embodiment of the present disclosure;

[0069] Figure 7 is a schematic diagram of a device for digital human hair adaptation in an embodiment of the present disclosure;

[0070] Figure 8 It is a schematic diagram of a device for digital human clothing adaptation in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0072] The terms "first", "second", "third", "fourth", etc. in the disclosed embodiments are used to distinguish similar objects, and are not necessarily used to describe a specific order or precedence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, including a series of steps or units. The method, system, product or device is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0073] In the current digital human field, personalized dressing of digital humans has become a common application. Dressing up includes changing the digital human’s hairstyle, clothes, pants, shoes, socks, etc.

[0074] In the head discovery stage, a hair model is made for each digital human individually, or a hair model suitable for the digital human is generated at the same time when the digital human is generated;

[0075] For clothing, we mainly test different clothing combinations, adjust the clothing models with interlacing separately, or make a Mask map for the interlaced parts for different clothing combinations and crop them to solve the problem. This method needs to generate N*M Mask maps, where N and M refer to the number of matching clothes.

[0076] In this regard, the embodiments of the present disclosure improve the existing technology and provide a method for digital human hair and clothing adaptation. Figure 1 As shown, it is possible to adapt all digital humans by only making hair for a set of standard digital humans. As for the problem of clothing adaptation, this technology only requires artists to make clothing models according to conventional methods so that they can freely match them without the problem of model interlacing, which greatly reduces the workload of artists in making models and the workload of subsequent model modifications.

[0077] then,

[0078] According to one aspect of an embodiment of the present disclosure, a method for digital human hair adaptation is provided, comprising:

[0079] Digital human hair adaptation includes offline hair processing and real-time hair rendering;

[0080] Among them, the hair offline processing steps are as follows Figure 2 As shown, including:

[0081] Read the model, mark the hairline position, smooth the data, and save the data;

[0082] S1.1, obtaining a hair model, reading the hair model into memory, and displaying the hair model in a mesh form by rendering;

[0083] S1.2, marking the vertices at the hairline position of the hair model to obtain marking data;

[0084] S1.3, adding the marked data to obtain the average value, and obtaining the average data;

[0085] S1.4, saving the average data in a file format for real-time rendering;

[0086] The steps of real-time hair rendering are as follows: Figure 3 As shown, including:

[0087] Load the character model, read the hairline, and calculate the position offset of the forehead;

[0088] S2.1, obtaining a hair model, parsing the hair model data file, and obtaining point, edge, and surface data of the hair model;

[0089] S2.2, reading the average data to obtain the first hair vertex P0, and performing vertex indexing on the hair model to obtain the second hair vertex P1;

[0090] S2.3. Calculate the position offset of the hair part according to the first hair vertex P0 and the second hair vertex P1.

[0091] In summary, the method of replacing the vertices of the head of the digital human in the disclosed embodiment is to replace the vertices of the head of the standard model with the generated model, and smooth the seams. In addition, the disclosed embodiment achieves the effect of adapting all digital humans by only making one set of hair models through digital human hair adaptation, that is, hair offline processing and hair real-time rendering.

[0092] In a possible embodiment, calculating the position offset of the forehead portion includes:

[0093] Calculate the forehead position offset OffsetY =||P1-P0||;

[0094] And when the hair model changes its hair, the position of the forehead is passed into the hair material, and the y of the model coordinate PosW is adjusted, where formula (1) is:

[0095] PosW.y = OffsetY(1)

[0096] According to one aspect of an embodiment of the present disclosure, a method for digital human clothing adaptation is provided, comprising:

[0097] Digital human clothing adaptation includes offline clothing processing and real-time clothing rendering;

[0098] Among them, the steps of clothing offline processing are as follows Figure 4 As shown, including:

[0099] S3.1. Obtain a human body model and read point, line and surface data of the human body model;

[0100] S3.2, obtaining a clothing model, and reading point, line, and surface data of the clothing model;

[0101] S3.3, projecting the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model to obtain UV and normal data corresponding to the clothing and the human body;

[0102] Regarding UV unfolding, Figure 5 As shown, the UV is unfolded according to the human body structure, which can handle the seam problems at the joints of the limbs.

[0103] The steps of simultaneous projection also include:

[0104] Place the human body and clothing at the same coordinate position;

[0105] Traverse all vertices of the clothing, emit rays to the human body model along the normal direction, find the UV at the intersection position through the intersection point, and write the found UV on the human body to the UV1 channel of the payment, where the UV1 channel is as follows: Figure 6 As shown;

[0106] Find the normals on the human body and write them into the vertex color channel of the clothing. The color channel algorithm (2) is:

[0107] Color=N*0.5+0.5(2)where N is the normal and Color is the color channel.

[0108] S3.4, generating a mask map and a normal map according to the UV and normal data corresponding to the clothing and the human body;

[0109] For generating a mask map, the embodiment of the present disclosure generates a mask map through UV1 channel data. When generating the mask map, a transition process is performed on the UV edge processing, with the purpose of performing smooth optimization of seam processing through operation during real-time rendering;

[0110] In order to generate normals, the embodiment of the present disclosure generates a normal map through vertex color data. When generating a normal map, the color is first converted to the range of [-1, 1], where formula (3) is:

[0111] C1 = Color * 2 - 1 (3)

[0112] Then C1 is transformed into tangent space, formula (4) is:

[0113] M(T, B, N)*C1(4)

[0114] Among them, M(T, B, N) is the tangent space matrix, where T is the tangent, B is the bitangent, and N is the normal. The transformed C1 is transformed to the range [0,1] to generate C2. Formula (5) is:

[0115] C2 = C1*0.5 +0.5 (5)

[0116] Finally bake C2 into the map.

[0117] Among them, the steps of real-time clothing rendering include:

[0118] Sample the mask map and normal map, and scale, cull, and clip the model vertices based on the mask map and normal map.

[0119] During the rendering process, the baked C2 map and mask map are passed to the shader for processing. The specific operations for real-time rendering are as follows:

[0120] Sample the C2 map and convert it to model space: Formulas (6) and (7) are:

[0121] C3=C2*2-1 (6) C4=invert(M(T,B,N))*C3) (7)

[0122] Among them, C2 is the read map, invert finds the inverse matrix of the matrix, and M(T,B,N) is the tangent space matrix.

[0123] Sample the mask map, and the value read is m

[0124] The model vertices are scaled by C4 and m, and the formula is (8):

[0125] positionOS -= ( ( ( 1.0 - C4) * m) * 0.01 ) (8)

[0126] positionOS is the model vertex.

[0127] The C4 value is passed into the fragment shader, the transition is removed, and clipping is performed in the fragment shader. The clipping rule is executed according to the following clipping function formula (9):

[0128] clip(Co - 0.5)(9), where Clip is the clipping function.

[0129] In summary, the rules for the expansion of digital human UV are as follows: the digital human UV is expanded according to the characteristics of the human body, such as the positions of hands, feet, and legs are placed in a 3-body orthogonal projection mode; the clothing UV mapping is to project the points on the clothing onto the body to find the corresponding UV coordinates. This enables artists to freely match clothing models without model interlacing problems, greatly reducing the workload of artists in model production and subsequent model modification.

[0130] In a possible embodiment, the projection is performed based on the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model, including:

[0131] Place the human body and clothing at the same coordinate position, traverse all vertices of the clothing, emit rays to the human body model along the normal direction, find the UV at the intersection through the intersection point, write the UV at the intersection into the UV1 channel of the clothing, find the normal on the human body and write it into the vertex color channel of the clothing.

[0132] In a possible embodiment, the normal line on the human body is found and written into the vertex color channel of the clothing, including:

[0133] The color channel algorithm (10) is:

[0134] Color=N*0.5+0.5 (10), where N is the normal and Color is the color channel.

[0135] In a possible embodiment, generating a mask map and a normal map according to UV and normal data corresponding to the clothing and the human body includes:

[0136] When generating the mask map, transition processing is performed on the UV edge, which is used to smooth and optimize the seam processing through transition processing when performing real-time rendering of clothing.

[0137] According to one aspect of an embodiment of the present disclosure, a device for digital human hair adaptation is provided, comprising:

[0138] Regarding the digital human hair adaptation, it includes a hair offline processing module 701 and a hair real-time rendering module 702;

[0139] Wherein, the hair offline processing module 701 includes:

[0140] Read model unit 7011, mark hairline position unit 7012, smooth data unit 7013, save data unit 7014;

[0141] Reading model unit 7011: obtaining a hair model, reading the hair model into memory, and displaying the hair model in a mesh form by rendering;

[0142] The hairline position marking unit 7012 is used to mark the vertices at the hairline position of the hair model to obtain marking data;

[0143] Smoothing data unit 7013: adding the marked data to obtain the average value, and obtaining the average data;

[0144] A data saving unit 7014 is used to save the average data in a file format for real-time rendering;

[0145] The hair real-time rendering module 702 includes:

[0146] A character model loading unit 7021, a hairline reading unit 7022, and a forehead position offset calculation unit 7023;

[0147] Loading character model unit 7021: obtaining the hair model, parsing the hair model data file, and obtaining the point, edge, and surface data of the hair model;

[0148] The hairline reading unit 7022 reads the average data to obtain the first hair vertex P0, and performs vertex indexing on the hair model to obtain the second hair vertex P1;

[0149] The forehead part position offset calculating unit 7023 calculates the hair part position offset according to the first hair vertex P0 and the second hair vertex P1.

[0150] According to one aspect of an embodiment of the present disclosure, a device for digital human clothing adaptation is provided, comprising:

[0151] The digital human clothing adaptation includes a clothing offline processing module 801 and a clothing real-time rendering module 802;

[0152] The clothing offline processing module 801 includes:

[0153] Data acquisition unit 8011: acquires a human body model, reads point, line and surface data of the human body model, acquires a clothing model, and reads point, line and surface data of the clothing model;

[0154] Projection unit 8012: Projecting the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model to obtain UV and normal data corresponding to the clothing and the human body;

[0155] Map acquisition unit 8013: generates a mask map and a normal map according to UV and normal data corresponding to the clothing and the human body;

[0156] Among them, the clothing real-time rendering module 802 includes:

[0157] Sample the mask map and normal map, and scale, cull, and clip the model vertices based on the mask map and normal map.

[0158] According to one aspect of an embodiment of the present disclosure, a system for digital human hair and clothing adaptation is provided, characterized in that the system for digital human hair and clothing adaptation is applied to the above-mentioned digital human clothing adaptation device and digital human hair adaptation device.

[0159] According to one aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, characterized in that a computer program is stored on the computer-readable storage medium, and a processor executes the computer program to implement any of the above-mentioned methods for digital human hair and clothing adaptation, namely, the method for digital human hair adaptation and the method for digital human clothing adaptation.

[0160] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the embodiments of the present disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in the disclosed embodiments can be achieved, and the present disclosure is not limited here.

[0161] The above specific implementations do not constitute a limitation on the protection scope of the embodiments of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the embodiments of the present disclosure shall be included in the protection scope of the embodiments of the present disclosure.

Claims

1. A method for digital human clothing adaptation, characterized in that: include: Digital human clothing adaptation includes offline clothing processing and real-time clothing rendering; Wherein, the clothing offline processing step includes: S1.1, obtaining a human body model, and reading point, line, and surface data of the human body model; S1.2, obtaining a clothing model, and reading point, line, and surface data of the clothing model; S1.3, projecting the point, line, and surface data of the human body model and the point, line, and surface data of the clothing model to obtain UV and normal data corresponding to the clothing and the human body; S1.4, generating a mask map and a normal map according to UV and normal data corresponding to the clothing and the human body; The step of real-time clothing rendering includes: Sampling the mask map and the normal map, and scaling, culling transitions, and clipping model vertices according to the mask map and the normal map; The projection is performed according to the point, line and surface data of the human body model and the point, line and surface data of the clothing model, including: placing the human body and the clothing at the same coordinate position, traversing all vertices of the clothing, emitting rays to the human body model along the normal direction, finding the UV of the intersection position through the intersection point, writing the UV of the intersection position into the UV1 channel of the clothing, finding the normal on the human body and writing it into the vertex color channel of the clothing; the color channel algorithm is: Color=N*0.5+0.5, wherein N is the normal and Color is the color channel.

2. The method according to claim 1, generating a mask map and a normal map according to UV and normal data corresponding to the clothing and the human body, characterized in that: include: When generating a mask map, a transition process is performed on the UV edge process, which is applied to smooth optimization of seam processing through the transition process when performing real-time rendering of clothing.

3. A device for digital human clothing adaptation, characterized in that: include: The digital human clothing adaptation includes clothing offline processing module and clothing real-time rendering module; Wherein, the clothing offline processing module includes: Data acquisition unit: acquires a human body model, reads point, line and surface data of the human body model, acquires a clothing model, and reads point, line and surface data of the clothing model; Projection unit: performing projection according to the point, line, surface data of the human body model and the point, line, surface data of the clothing model to obtain UV and normal data corresponding to the clothing and the human body; A texture acquisition unit: generates a mask texture and a normal texture according to UV and normal data corresponding to the clothing and the human body; Wherein, the clothing real-time rendering module includes: Sampling the mask map and the normal map, and scaling, culling transitions, and clipping model vertices according to the mask map and the normal map; The projection is performed according to the point, line and surface data of the human body model and the point, line and surface data of the clothing model, including: placing the human body and the clothing at the same coordinate position, traversing all vertices of the clothing, emitting rays to the human body model along the normal direction, finding the UV of the intersection position through the intersection point, writing the UV of the intersection position into the UV1 channel of the clothing, finding the normal on the human body and writing it into the vertex color channel of the clothing; the color channel algorithm is: Color=N*0.5+0.5, wherein N is the normal and Color is the color channel.

4. A system for digital human clothing adaptation, characterized in that: The system for digital human clothing adaptation is applied to the device for digital human clothing adaptation described in claim 3.

5. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the processor executes the computer program to implement the method for digital human clothing adaptation as described in any one of claims 1-2.