A clothing design method and system based on 3D modeling
Through the clothing design method and system based on 3D modeling, 3D body data and historical clothing data are used for design matching, customized clothing design is realized, and through interactive design and rendering display, the problem of lack of interactivity and authenticity in the design in the existing technology is solved.
Patent Information
- Application Number
- CN202510145497.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-10
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-02-10
AI Technical Summary
Existing clothing design technologies cannot be customized based on users' precise body data, and the design process lacks interactive and authentic display.
The clothing design method and system based on 3D modeling is adopted to obtain the user's 3D body data through human body scanning, combine historical clothing data for design and matching selection, generate 3D matching models, and perform interactive design and supplementary rendering, and generate naked-eye 3D videos for display.
It realizes customized clothing design based on user's precise body data, enhances the interactiveness and authenticity of the design, and meets the personalized needs of users.
Smart Images

Figure CN119577873B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of clothing design, and in particular relates to a clothing design method and system based on 3D modeling. Background Art
[0002] Clothing design uses certain thinking forms, aesthetic laws and design procedures, combines style, fabric, color, structure, craftsmanship and other means to meet people's material and spiritual needs, and carries out a series of creative activities such as conception, drawing, production, decoration, display and production guidance.
[0003] With the rapid development of the fashion industry and the ever-changing consumer demands, clothing design also needs to be constantly innovated and updated to adapt to market changes.
[0004] Clothing design in the prior art is generally achieved by designers drawing sketches, selecting fabrics and accessories, and only performs general clothing design according to a variety of preset model data, but cannot be customized by users according to precise body data. Summary of the invention
[0005] The purpose of the embodiments of the present invention is to provide a clothing design method and system based on 3D modeling, aiming to solve the problems raised in the background technology.
[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:
[0007] A clothing design method based on 3D modeling, the method specifically comprises the following steps:
[0008] Obtain clothing design requirements of a target user, and perform a body scan on the target user to obtain 3D body data of the target user;
[0009] Acquire historical clothing data of the target user, and perform design matching selection on the historical clothing data based on the clothing design requirements to acquire a plurality of matching clothing data;
[0010] According to the 3D body data and the plurality of matching clothing data, model creation and matching rendering are performed to generate a 3D matching model;
[0011] Based on the 3D matching model, interactively display clothing designs to the target user, receive interactive design operations from the target user, and obtain design clothing data;
[0012] According to the designed clothing data, the 3D matching model is supplemented with rendering and naked-eye 3D scene processing to generate and display a naked-eye 3D video of the clothing design.
[0013] A clothing design system based on 3D modeling, the system comprises a body data scanning unit, a design matching selection unit, a model matching rendering unit, an interactive design processing unit and a supplementary rendering display unit, wherein:
[0014] A body data scanning unit, used to obtain clothing design requirements of a target user, and perform a body scan on the target user to obtain 3D body data of the target user;
[0015] A design matching selection unit, used to obtain the historical clothing data of the target user, and based on the clothing design requirements, perform design matching selection on the historical clothing data to obtain a plurality of matching clothing data;
[0016] A model matching rendering unit, used for performing model creation and matching rendering according to the 3D body data and the plurality of matching clothing data, to generate a 3D matching model;
[0017] An interactive design processing unit, configured to interactively display clothing designs to the target user based on the 3D matching model, receive interactive design operations of the target user, and obtain design clothing data;
[0018] The supplementary rendering and display unit is used to perform supplementary rendering and naked-eye 3D scene processing on the 3D matching model according to the designed clothing data, and generate and display the clothing design naked-eye 3D video.
[0019] Compared with the prior art, the present invention has the following beneficial effects:
[0020] The embodiment of the present invention obtains the 3D body data of the target user; obtains the historical clothing data, performs design matching selection; performs model creation and matching rendering; performs interactive display of clothing design for the target user, receives interactive design operations; performs supplementary rendering and naked-eye 3D scene processing, and generates and displays naked-eye 3D video of clothing design. The 3D body data and historical clothing data of the target user can be obtained, design matching selection, model creation and matching rendering can be performed, and interactive design operations of the target user can be received, and supplementary rendering and naked-eye 3D scene processing can be performed on the 3D matching model, which can not only realize customized clothing design according to the user's precise body data, but also can display the clothing design realistically, enhancing the interactivity and fun of clothing design. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0022] Figure 1A flow chart of a method provided by an embodiment of the present invention is shown.
[0023] Figure 2 A flow chart of human body scanning processing in the method provided by an embodiment of the present invention is shown.
[0024] Figure 3 A flow chart of historical clothing data processing in the method provided by an embodiment of the present invention is shown.
[0025] Figure 4 A flow chart of model creation and matching rendering in the method provided by an embodiment of the present invention is shown.
[0026] Figure 5 A flow chart of receiving an interactive design operation in the method provided by an embodiment of the present invention is shown.
[0027] Figure 6 A flow chart of generating and displaying naked-eye 3D video of clothing design in the method provided by an embodiment of the present invention is shown.
[0028] Figure 7 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0029] Figure 8 The structure block diagram of the body data scanning unit in the system provided by the embodiment of the present invention is shown.
[0030] Fig. 9 The structure block diagram of the design matching selection unit in the system provided by the embodiment of the present invention is shown.
[0031] Fig.10 A structural block diagram of an interactive design processing unit in a system provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0033] It is understandable that clothing design in the prior art is generally achieved by designers drawing sketches, selecting fabrics and accessories, and only performs general clothing design according to a variety of preset model data, but cannot be customized by users according to precise body data.
[0034] To solve the above problems, the embodiment of the present invention obtains the clothing design requirements of the target user, and performs a human body scan on the target user to obtain the 3D body data of the target user; obtains the historical clothing data of the target user, and selects the design matching of the historical clothing data based on the clothing design requirements to obtain multiple matching clothing data; creates and renders a model based on the 3D body data and multiple matching clothing data to generate a 3D matching model; based on the 3D matching model, interactively displays the clothing design of the target user, receives the interactive design operation of the target user, and obtains the design clothing data; according to the design clothing data, the 3D matching model is supplemented with rendering and naked-eye 3D scene processing to generate and display the clothing design naked-eye 3D video. The 3D body data and historical clothing data of the target user can be obtained, the design matching selection, model creation and matching rendering can be performed, and the interactive design operation of the target user can be received, and the 3D matching model is supplemented with rendering and naked-eye 3D scene processing can be performed, which can not only realize customized clothing design according to the user's precise body data, but also can display the clothing design in a realistic manner, and enhance the interactivity and fun of clothing design.
[0035] Specifically, Figure 1 A flow chart of a method provided by an embodiment of the present invention is shown.
[0036] In one embodiment of the present invention, a clothing design method based on 3D modeling comprises the following steps:
[0037] Step S101, obtaining clothing design requirements of a target user, and performing a body scan on the target user to obtain 3D body data of the target user.
[0038] In an embodiment of the present invention, by receiving a clothing design request, determining the target user who performs the request operation, and then creating an interactive window, and then in the interactive window, receiving the clothing design requirements input by the target user, thereafter, performing a body scan on the target user, obtaining the 3D scanning data of the target user, and then performing body analysis on the 3D scanning data, optimizing the 3D scanning data, and generating 3D body data.
[0039] It is understandable that when performing a body scan on a target user, the target user needs to wear a tight-fitting garment for the body scan. Therefore, the acquired 3D scan data is not accurate body data. The 3D scan data needs to be optimized to generate accurate 3D body data of the target user.
[0040] Specifically, Figure 2 A flow chart of human body scanning processing in the method provided by an embodiment of the present invention is shown.
[0041] Among them, in the preferred embodiment provided by the present invention, the acquisition of clothing design requirements of the target user, and the body scanning of the target user to obtain the 3D body data of the target user specifically include the following steps:
[0042] Step S1011, receiving a clothing design request and determining a target user;
[0043] Step S1012, creating an interactive window;
[0044] Step S1013, receiving clothing design requirements input by the target user in the interactive window;
[0045] Step S1014, performing a body scan on the target user to obtain 3D scan data of the target user;
[0046] Step S1015: Process the 3D scanning data to generate 3D body data.
[0047] Furthermore, the clothing design method based on 3D modeling also includes the following steps:
[0048] Step S102, obtaining the historical clothing data of the target user, and performing design matching selection on the historical clothing data based on the clothing design requirements to obtain a plurality of matching clothing data.
[0049] In an embodiment of the present invention, a historical data request is generated, the communication address of the target user's mobile terminal is obtained, and then the historical data request is sent to the target user's mobile terminal according to the communication address of the mobile terminal. The target user can request browsing and feedback operations on the mobile terminal. If the target user agrees to the historical data request, the target user's historical clothing data can be obtained through the mobile terminal, and based on the clothing design requirements, the clothing design style is determined, and then according to the clothing design style, the historical clothing data is designed and matched, and the matching clothing data of multiple matching clothing that can be matched with the clothing design style is obtained.
[0050] It is understandable that the historical clothing data may be the data of target users' online clothing purchases and evaluations through mobile devices; the matching clothing data may include the name, number, store and other data of the corresponding matching clothing.
[0051] Specifically, Figure 3 A flow chart of historical clothing data processing in the method provided by an embodiment of the present invention is shown.
[0052] Among them, in the preferred embodiment provided by the present invention, the acquisition of the historical clothing data of the target user, and the selection of design matching for the historical clothing data based on the clothing design requirements, and the acquisition of multiple matching clothing data specifically include the following steps:
[0053] Step S1021, generating and sending a historical data request to the mobile terminal of the target user;
[0054] Step S1022, when the target user agrees to the historical data request, obtaining the historical clothing data of the target user through the mobile terminal;
[0055] Step S1023, determining a clothing design style based on the clothing design requirement;
[0056] Step S1024, performing design matching selection on the historical clothing data according to the clothing design style, and obtaining a plurality of matching clothing data.
[0057] Among them, in the preferred embodiment provided by the present invention, the design matching selection is performed on the historical clothing data according to the clothing design style, and the acquisition of multiple matching clothing data specifically includes the following steps:
[0058] Vectorize the clothing design styles to obtain a multi-dimensional clothing design style feature vector containing feature values of color, material and style;
[0059] Vectorize the historical clothing data to obtain the feature vector of multi-dimensional clothing containing the feature values of color, material and style;
[0060] Calculate the absolute difference between the multi-dimensional clothing design style feature vector and the multi-dimensional clothing feature vector in each dimension;
[0061] According to the target user's attention to different feature dimensions, an attention weight is assigned to each feature dimension, and the absolute difference of the corresponding dimension is weighted by the attention weight to obtain the weighted absolute difference;
[0062] The weighted absolute difference of each dimension is converted into the corresponding similarity, and the similarities of all dimensions are removed from the mean to obtain the overall weighted similarity between clothing and clothing design styles;
[0063] Group the historical clothing data by category to obtain clothing category groups;
[0064] Randomly select clothing from the clothing category group and combine them to form a complete clothing combination;
[0065] Calculate the overall similarity of each complete clothing combination based on the overall weighted similarity between clothing and clothing design styles;
[0066] All complete clothing combinations are sorted in descending order according to the overall similarity, and the first several complete clothing combinations are taken from the list as matching clothing data.
[0067] In an embodiment of the present invention, the traditional similarity algorithm (such as simple Euclidean distance or cosine similarity) treats all feature dimensions equally and may not reflect the importance of each dimension. By assigning weights to feature differences through multi-dimensional weighted similarity calculation, the matching degree between clothing and target style can be more accurately evaluated. After weighting each dimension, the features that users are more concerned about can be highlighted, while the unimportant features can be downplayed, thereby improving the accuracy of similarity calculation. The calculation is performed in the form of feature differences, making the similarity more intuitive and easy to understand. The calculation of the absolute difference clearly shows the difference size of each dimension, and the user can clearly know how the recommendation result is generated. Finally, by calculating the overall similarity of each group of matching combinations, the matching degree of all clothing in the matching is comprehensively evaluated through the average value. In this way, the performance of a single piece of clothing can be considered, and the overall matching effect can be reflected.
[0068] Furthermore, the clothing design method based on 3D modeling also includes the following steps:
[0069] Step S103, creating a model and rendering the matching according to the 3D body data and the plurality of matching clothing data, to generate a 3D matching model.
[0070] In an embodiment of the present invention, 3D body data is modeled to create a 3D basic model, and then according to multiple matching clothing data, matching model data of multiple matching clothing are matched and downloaded. After the multiple matching model data are imported, the 3D basic model is matched and rendered to generate a 3D matching model.
[0071] Specifically, Figure 4 A flow chart of model creation and matching rendering in the method provided by an embodiment of the present invention is shown.
[0072] Among them, in the preferred embodiment provided by the present invention, the model creation and matching rendering are performed according to the 3D body data and the plurality of matching clothing data to generate a 3D matching model specifically comprising the following steps:
[0073] Step S1031, creating a 3D basic model according to the 3D body data;
[0074] Step S1032, matching a plurality of matching model data according to the plurality of matching clothing data;
[0075] Step S1033: import a plurality of the matching model data, and perform matching rendering on the 3D basic model to generate a 3D matching model.
[0076] Among them, in the preferred embodiment provided by the present invention, the importing of a plurality of the matching model data, and matching rendering of the 3D basic model to generate a 3D matching model specifically includes the following steps:
[0077] Perform geometric point cloud alignment operation on the 3D basic model and the matching model data to obtain a static matching model;
[0078] Calculate the surface space distance between the 3D basic model and the matching model data, and locally adjust the clothing mesh of the matching model data according to the surface space distance, and then smooth the clothing mesh to obtain the adjusted static matching model;
[0079] Acquire dynamic skeleton data, import the dynamic skeleton data into the adjusted static matching model, and dynamically adjust the clothing mesh shape of the matching model data according to the posture information of the body joints in the dynamic skeleton data to obtain the dynamic matching model;
[0080] According to the material characteristics of clothing and the surface features of the human body, the dynamic matching model is multi-layered and fused to obtain an optimized dynamic matching model.
[0081] The optimized dynamic matching model is subjected to light and shadow rendering to obtain a 3D matching model.
[0082] In the embodiment of the present invention, by extracting the key points of the human body and the clothing and accurately matching them, it is possible to ensure that the shape of the clothing is highly consistent with the 3D body data of the target user. This precise alignment method avoids the problem of "fuzzy size" in traditional clothing design and greatly improves the accuracy of the final design. During the adjustment process, the distance between the human body surface and the clothing is taken into account to avoid the effect of "too tight" or "too loose", so that the clothing can fit the human body while maintaining a natural shape.
[0083] Among them, in the preferred embodiment provided by the present invention, the surface space distance between the 3D basic model and the matching model data is calculated, and the clothing grid of the matching model data is locally adjusted according to the surface space distance, and then the clothing grid is smoothed to obtain the adjusted static matching model, which specifically includes the following steps:
[0084] Extract vertex data and facet data of 3D basic model and matching model data respectively;
[0085] Load the vertex data into the KDTree spatial data structure, calculate the shortest distance from each vertex of the matching model data to the surface of the 3D base model point by point, and obtain the corresponding vertex in the 3D base model;
[0086] Get the direction between the vertex of the matching model data and the vertex corresponding to the 3D basic model, and obtain the direction vector of the vertex of the matching model;
[0087] The normal vectors of the 3D base model vertices are calculated according to the patch data of the 3D base model, and the dot product operation is performed on the normal vectors of the 3D base model vertices and the direction vectors of the matching model vertices; if the dot product is positive, it means that the vertices of the matching model data are outside the 3D base model; if the dot product is negative, it means that the vertices of the matching model data are inside the 3D base model, and a pseudo distance field is obtained;
[0088] Calculate the adjustment range according to the pseudo distance field from each vertex of the matching model data to the 3D base model;
[0089] The adjustment amplitude is combined with the adjustment direction vector, and the adjustment amplitude is controlled by a hyperbolic tangent function, the coordinates of the vertices of the matching model data are updated, and an adjusted vertex set is obtained;
[0090] The adjusted vertex set is smoothed by using Gaussian blur algorithm and Laplace smoothing algorithm in turn to obtain optimized vertex data;
[0091] The optimized vertex data is combined with the patch data of the matching model data to generate an adjusted static matching model.
[0092] In an embodiment of the present invention, a fast spatial query is realized by constructing a KDTree, and the spatial relationship between the clothing model and the human body model is calculated by a pseudo-distance field, which not only obtains the geometric distance between the two, but also determines the spatial position of the clothing vertex inside and outside the surface of the basic model through the normal vector. This symbol-based distance processing method makes the adjustment more in line with actual needs and avoids the problem of misadjustment that may be caused by a simple Euclidean distance algorithm. By using the hyperbolic tangent function to control the adjustment amplitude, the problem of excessive offset or stretching that may be caused by linear adjustment is avoided. The adjustment amplitude gradually decreases with the increase of the pseudo-distance, ensuring that the model maintains the overall morphological stability and naturalness while fitting the basic model.
[0093] Among them, in the preferred embodiment provided by the present invention, the acquisition of dynamic skeleton data, importing the dynamic skeleton data into the adjusted static matching model, and dynamically adjusting the clothing grid shape of the matching model data according to the posture information of the body joints in the dynamic skeleton data to obtain the dynamic matching model specifically includes the following steps:
[0094] Extract joint position and joint rotation information from dynamic skeleton data;
[0095] Calculate the distance from each clothing vertex to all bone joints, and obtain the initial influence value of each bone joint on the clothing vertex based on the distance;
[0096] Normalize the initial influence value of each bone joint on the clothing vertex so that the weight distribution of each vertex satisfies the sum of 1, and obtain the weight of each vertex;
[0097] Use Gaussian blur to perform transition processing on the vertex weights between adjacent joints to obtain the bone binding weights;
[0098] Find all joints associated with the clothing mesh vertices according to the bone binding weights, and transform the clothing mesh vertices from the global coordinate system to the local coordinate system of the corresponding joints;
[0099] In the local coordinate system, according to the influence of different joints, the joint rotation information of different joints is weighted and accumulated according to the bone binding weights, and the vertex is rotated and transformed according to the accumulated result to obtain the rotated vertex;
[0100] Then, the rotated vertices are converted from the local coordinate system back to the global coordinate system to obtain the adjusted vertices of the clothing mesh;
[0101] Calculate the geometric relationship between the adjusted vertices of adjacent clothing meshes to obtain the strain tensor;
[0102] According to the strain tensor, the stress of the clothing mesh at the vertices after mesh adjustment is calculated;
[0103] Using stress as a driving force to adjust the vertex position, an adjustment amount is applied to each mesh adjusted vertex to obtain a non-rigidly adjusted vertex set;
[0104] The non-rigidly adjusted vertex set is combined with the patch data of the clothing mesh to obtain a dynamic matching model.
[0105] In the embodiment of the present invention, the dynamic adjustment of clothing in skeletal motion is realized by driving the joint position and rotation posture. The direct influence of human body motion on clothing shape can be simulated to ensure that the dynamic behavior of clothing is highly consistent with human body motion. The weighted calculation of bone binding weights is adopted so that each vertex of clothing mesh is affected to different degrees by different joints, thereby achieving more accurate dynamic deformation. The introduction of strain tensor and stress force to adjust clothing mesh can effectively simulate the physical properties of cloth material. Through the calculation of stress and strain, it is ensured that clothing not only fits the human body in dynamic motion, but also shows natural cloth properties (such as drape, wrinkles, etc.), which enhances the realism of the model. In the process of dynamic adjustment, clothing mesh supports non-rigid deformation (i.e., allows local shape to change naturally), thereby more effectively reflecting the flexibility and fluidity of cloth. Whether it is a close-fitting tights or a loose long skirt, this method can adapt to different types of clothing by adjusting parameters, and generate dynamic effects that conform to real physical laws. The visual effect is close to reality and can provide high-quality dynamic display.
[0106] Furthermore, the clothing design method based on 3D modeling also includes the following steps:
[0107] Step S104: Based on the 3D matching model, interactively display the clothing design to the target user, receive the interactive design operation of the target user, and obtain the designed clothing data.
[0108] In an embodiment of the present invention, the 3D matching model is interactively displayed in the interactive window, and the interactive design toolbox is loaded in the interactive window. According to the clothing design style, the corresponding basic style model is matched, and then the basic style model is rendered on the 3D matching model to generate and display the basic design model. The target user can use the virtual design tools in the interactive design toolbox in the interactive window to perform interactive design operations such as clothing size adjustment, pattern design, color design, material selection, etc. on the basic design model to obtain the corresponding design clothing data.
[0109] Specifically, Figure 5 A flow chart of receiving an interactive design operation in the method provided by an embodiment of the present invention is shown.
[0110] Among them, in the preferred embodiment provided by the present invention, the interactive display of clothing design for the target user based on the 3D matching model, receiving the interactive design operation of the target user, and obtaining the design clothing data specifically include the following steps:
[0111] Step S1041, interactively displaying the 3D matching model in the interactive window;
[0112] Step S1042, loading an interactive design toolbox in the interactive window;
[0113] Step S1043, performing basic design rendering on the 3D matching model according to the clothing design style, generating and displaying a basic design model;
[0114] Step S1044, receiving the target user's interactive design operation on the basic design model;
[0115] Step S1045, obtaining design clothing data.
[0116] Furthermore, the clothing design method based on 3D modeling also includes the following steps:
[0117] Step S105, according to the designed clothing data, the 3D matching model is supplemented with rendering and naked-eye 3D scene processing to generate and display a clothing design naked-eye 3D video.
[0118] In an embodiment of the present invention, according to the design clothing data, the 3D matching model is supplemented with rendering to generate a complete design matching model, and then according to the clothing design requirements, the clothing matching scene is determined, and then according to the clothing matching scene, the design display action is planned and designed. In the clothing matching scene, according to the design display action, the design matching model is processed into a scene video to generate a dynamic display video, and then the dynamic display video is processed into a naked-eye 3D to generate a clothing design naked-eye 3D video, and then the clothing design naked-eye 3D video is displayed, thereby realizing the authenticity of the clothing design and enhancing the interactivity and fun of the clothing design.
[0119] Specifically, Figure 6 A flow chart of generating and displaying naked-eye 3D video of clothing design in the method provided by an embodiment of the present invention is shown.
[0120] Among them, in the preferred embodiment provided by the present invention, the 3D matching model is supplemented with rendering and naked-eye 3D scene processing according to the designed clothing data, and the generation and display of the clothing design naked-eye 3D video specifically includes the following steps:
[0121] Step S1051, performing supplementary rendering on the 3D matching model according to the designed clothing data to generate a designed matching model;
[0122] Step S1052, determining a clothing matching scene according to the clothing design requirements;
[0123] Step S1053, performing scene video processing on the design matching model according to the clothing matching scene to generate a dynamic display video;
[0124] Step S1054, performing naked-eye 3D processing on the dynamic display video to generate a naked-eye 3D video of clothing design;
[0125] Step S1055, displaying the naked-eye 3D video of the clothing design.
[0126] Furthermore, Figure 7 The application architecture diagram of the system provided by the embodiment of the present invention is shown.
[0127] Among them, in another preferred embodiment provided by the present invention, a clothing design system based on 3D modeling includes:
[0128] The body data scanning unit 101 is used to obtain the clothing design requirements of the target user, and perform a body scan on the target user to obtain the 3D body data of the target user.
[0129] In an embodiment of the present invention, the body data scanning unit 101 receives a clothing design request, determines the target user who performs the request operation, creates an interactive window, and then receives the clothing design requirements input by the target user in the interactive window. Thereafter, a body scan is performed on the target user to obtain the 3D scanning data of the target user, and then a body analysis is performed on the 3D scanning data, and the 3D scanning data is optimized to generate 3D body data.
[0130] Specifically, Figure 8 It shows a structural block diagram of the body data scanning unit 101 in the system provided by the embodiment of the present invention.
[0131] Among them, in the preferred embodiment provided by the present invention, the body data scanning unit 101 specifically includes:
[0132] The request receiving module 1011 is used to receive clothing design requests and determine target users;
[0133] A window creation module 1012 is used to create an interactive window;
[0134] A demand receiving module 1013 is used to receive clothing design demands input by a target user in the interactive window;
[0135] A human body scanning module 1014 is used to perform a human body scan on the target user to obtain 3D scanning data of the target user;
[0136] The body data processing module 1015 is used to process the 3D scanning data to generate 3D body data.
[0137] Furthermore, the clothing design system based on 3D modeling also includes:
[0138] The design matching selection unit 102 is used to obtain the historical clothing data of the target user, and based on the clothing design requirements, perform design matching selection on the historical clothing data to obtain a plurality of matching clothing data.
[0139] In an embodiment of the present invention, the design matching selection unit 102 generates a historical data request, obtains the communication address of the target user's mobile terminal, and then sends the historical data request to the target user's mobile terminal according to the communication address of the mobile terminal. The target user can request browsing and feedback operations on the mobile terminal. If the target user agrees to the historical data request, the target user's historical clothing data can be obtained through the mobile terminal, and based on the clothing design requirements, the clothing design style is determined, and then according to the clothing design style, the historical clothing data is selected for design matching, and the matching clothing data of multiple matching clothing that can be matched with the clothing design style is obtained.
[0140] Specifically, Fig. 9 FIG. 1 is a structural block diagram of the design matching selection unit 102 in the system provided by an embodiment of the present invention.
[0141] Among them, in the preferred embodiment provided by the present invention, the design matching selection unit 102 specifically includes:
[0142] A request sending module 1021, used to generate and send a historical data request to a mobile terminal of a target user;
[0143] The historical data acquisition module 1022 is used to acquire the historical clothing data of the target user through the mobile terminal when the target user agrees to the historical data request;
[0144] A style determination module 1023 is used to determine a clothing design style based on the clothing design requirements;
[0145] The matching selection module 1024 is used to select a design match for the historical clothing data according to the clothing design style, and obtain a plurality of matching clothing data.
[0146] Furthermore, the clothing design system based on 3D modeling also includes:
[0147] The model matching rendering unit 103 is used to perform model creation and matching rendering according to the 3D body data and the plurality of matching clothing data to generate a 3D matching model.
[0148] In an embodiment of the present invention, the model matching rendering unit 103 performs modeling processing on the 3D body data to create a 3D basic model, and then matches and downloads matching model data of multiple matching clothes according to multiple matching clothing data. After importing multiple matching model data, the 3D basic model is matched and rendered to generate a 3D matching model.
[0149] The interactive design processing unit 104 is used to interactively display clothing designs to the target user based on the 3D matching model, receive interactive design operations of the target user, and obtain design clothing data.
[0150] In an embodiment of the present invention, the interactive design processing unit 104 interactively displays the 3D matching model in the interactive window, and loads the interactive design toolbox in the interactive window, matches the corresponding basic style model according to the clothing design style, and then performs basic design rendering on the basic style model on the 3D matching model to generate and display the basic design model. The target user can perform interactive design operations such as clothing size adjustment, pattern design, color design, material selection, etc. on the basic design model through the virtual design tools in the interactive design toolbox in the interactive window to obtain the corresponding design clothing data.
[0151] Specifically, Fig.10 It shows a structural block diagram of the interactive design processing unit 104 in the system provided by the embodiment of the present invention.
[0152] Among them, in the preferred embodiment provided by the present invention, the interactive design processing unit 104 specifically includes:
[0153] An interactive display module 1041 is used to interactively display the 3D matching model in the interactive window;
[0154] A toolbox loading module 1042 is used to load an interactive design toolbox in the interactive window;
[0155] A basic design rendering module 1043 is used to perform basic design rendering on the 3D matching model according to the clothing design style, and generate and display the basic design model;
[0156] An interactive operation receiving module 1044 is used to receive an interactive design operation of a target user on the basic design model;
[0157] The design data acquisition module 1045 is used to acquire design clothing data.
[0158] Furthermore, the clothing design system based on 3D modeling also includes:
[0159] The supplementary rendering and display unit 105 is used to perform supplementary rendering and naked-eye 3D scene processing on the 3D matching model according to the designed clothing data, and generate and display the clothing design naked-eye 3D video.
[0160] In an embodiment of the present invention, the supplementary rendering and display unit 105 performs supplementary rendering on the 3D matching model according to the design clothing data to generate a complete design matching model, and then determines the clothing matching scene according to the clothing design requirements, and then plans the design display action according to the clothing matching scene. In the clothing matching scene, according to the design display action, the design matching model is processed into a scene video to generate a dynamic display video, and then the dynamic display video is processed into a naked-eye 3D to generate a clothing design naked-eye 3D video, and then the clothing design naked-eye 3D video is displayed, thereby realizing the authenticity of the clothing design and enhancing the interactivity and fun of the clothing design.
[0161] It should be understood that, although each step in the flow chart of each embodiment of the present invention is shown in sequence according to the indication of the arrow, these steps are not necessarily performed in sequence according to the order indicated by the arrow. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be performed in other orders. Moreover, at least a portion of the steps in each embodiment may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and the execution order of these sub-steps or stages is not necessarily performed in sequence, but can be performed in turn or alternately with at least a portion of other steps or sub-steps or stages of other steps.
[0162] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0163] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0164] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0165] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A clothing design method based on 3D modeling, characterized in that: The method specifically comprises the following steps: Obtain clothing design requirements of a target user, and perform a body scan on the target user to obtain 3D body data of the target user; Acquire historical clothing data of the target user, and perform design matching selection on the historical clothing data based on the clothing design requirements to acquire a plurality of matching clothing data; According to the 3D body data and the plurality of matching clothing data, model creation and matching rendering are performed to generate a 3D matching model; Based on the 3D matching model, interactively display clothing designs to the target user, receive interactive design operations from the target user, and obtain design clothing data; According to the designed clothing data, the 3D matching model is supplemented with rendering and naked-eye 3D scene processing to generate and display a naked-eye 3D video of the clothing design; The step of obtaining the clothing design requirements of the target user, performing a body scan on the target user, and obtaining the 3D body data of the target user specifically comprises the following steps: Receive clothing design requests and identify target users; Create an interactive window; In the interactive window, receiving clothing design requirements input by a target user; Performing a body scan on the target user to obtain 3D scanning data of the target user; Processing the 3D scanning data to generate 3D body data; The step of creating a model and rendering the matching clothes according to the 3D body data and the matching clothing data to generate a 3D matching model specifically includes the following steps: Creating a 3D basic model according to the 3D body data; According to the plurality of matching clothing data, matching a plurality of matching model data; Importing a plurality of the matching model data, and performing matching rendering on the 3D basic model to generate a 3D matching model; The step of importing the plurality of matching model data and performing matching rendering on the 3D basic model to generate a 3D matching model specifically comprises the following steps: Perform geometric point cloud alignment operation on the 3D basic model and the matching model data to obtain a static matching model; Calculate the surface space distance between the 3D basic model and the matching model data, and locally adjust the clothing mesh of the matching model data according to the surface space distance, and then smooth the clothing mesh to obtain the adjusted static matching model; Acquire dynamic skeleton data, import the dynamic skeleton data into the adjusted static matching model, and dynamically adjust the clothing mesh shape of the matching model data according to the posture information of the body joints in the dynamic skeleton data to obtain the dynamic matching model; According to the material characteristics of clothing and the surface features of the human body, the dynamic matching model is multi-layered and fused to obtain an optimized dynamic matching model. The optimized dynamic matching model is subjected to light and shadow rendering to obtain a 3D matching model.
2. The clothing design method based on 3D modeling according to claim 1, characterized in that: The acquiring of the historical clothing data of the target user, and performing design matching selection on the historical clothing data based on the clothing design requirements, and acquiring a plurality of matching clothing data specifically include the following steps: Generate and send historical data request to the target user's mobile terminal; When the target user agrees to the historical data request, the historical clothing data of the target user is obtained through the mobile terminal; Determine the clothing design style based on the clothing design requirements; According to the clothing design style, design matching selection is performed on the historical clothing data to obtain a plurality of matching clothing data.
3. The clothing design method based on 3D modeling according to claim 2 is characterized in that: The step of performing design matching selection on the historical clothing data according to the clothing design style and obtaining a plurality of matching clothing data specifically comprises the following steps: Vectorize the clothing design styles to obtain a multi-dimensional clothing design style feature vector containing feature values of color, material and style; Vectorize the historical clothing data to obtain the feature vector of multi-dimensional clothing containing the feature values of color, material and style; Calculate the absolute difference between the multi-dimensional clothing design style feature vector and the multi-dimensional clothing feature vector in each dimension; According to the target user's attention to different feature dimensions, an attention weight is assigned to each feature dimension, and the absolute difference of the corresponding dimension is weighted by the attention weight to obtain the weighted absolute difference; The weighted absolute difference of each dimension is converted into the corresponding similarity, and the similarities of all dimensions are removed from the mean to obtain the overall weighted similarity between clothing and clothing design styles; Group the historical clothing data by category to obtain clothing category groups; Randomly select clothing from the clothing category group and combine them to form a complete clothing combination; Calculate the overall similarity of each complete clothing combination based on the overall weighted similarity between clothing and clothing design styles; All complete clothing combinations are sorted in descending order according to the overall similarity, and the first several complete clothing combinations are taken from the list as matching clothing data.
4. The clothing design method based on 3D modeling according to claim 1, characterized in that: The method of calculating the surface space distance between the 3D basic model and the matching model data, locally adjusting the clothing mesh of the matching model data according to the surface space distance, and then smoothing the clothing mesh to obtain the adjusted static matching model specifically includes the following steps: Extract vertex data and facet data of 3D basic model and matching model data respectively; Load the vertex data into the KDTree spatial data structure, calculate the shortest distance from each vertex of the matching model data to the surface of the 3D base model point by point, and obtain the corresponding vertex in the 3D base model; Get the direction between the vertex of the matching model data and the vertex corresponding to the 3D basic model, and obtain the direction vector of the vertex of the matching model; The normal vectors of the 3D base model vertices are calculated according to the patch data of the 3D base model, and the dot product operation is performed on the normal vectors of the 3D base model vertices and the direction vectors of the matching model vertices; if the dot product is positive, it means that the vertices of the matching model data are outside the 3D base model; if the dot product is negative, it means that the vertices of the matching model data are inside the 3D base model, and a pseudo distance field is obtained; Calculate the adjustment range according to the pseudo distance field from each vertex of the matching model data to the 3D base model; The adjustment amplitude is combined with the adjustment direction vector, and the adjustment amplitude is controlled by a hyperbolic tangent function, the coordinates of the vertices of the matching model data are updated, and an adjusted vertex set is obtained; The adjusted vertex set is smoothed by using Gaussian blur algorithm and Laplace smoothing algorithm in turn to obtain optimized vertex data; The optimized vertex data is combined with the patch data of the matching model data to generate an adjusted static matching model.
5. The clothing design method based on 3D modeling according to claim 4 is characterized in that: The method of acquiring dynamic skeleton data, importing the dynamic skeleton data into the adjusted static matching model, and dynamically adjusting the clothing mesh shape of the matching model data according to the posture information of the body joints in the dynamic skeleton data to obtain the dynamic matching model specifically includes the following steps: Extract joint position and joint rotation information from dynamic skeleton data; Calculate the distance from each clothing vertex to all bone joints, and obtain the initial influence value of each bone joint on the clothing vertex based on the distance; Normalize the initial influence value of each bone joint on the clothing vertex so that the weight distribution of each vertex satisfies the sum of 1, and obtain the weight of each vertex; Use Gaussian blur to perform transition processing on the vertex weights between adjacent joints to obtain the bone binding weights; Find all joints associated with the clothing mesh vertices according to the bone binding weights, and transform the clothing mesh vertices from the global coordinate system to the local coordinate system of the corresponding joints; In the local coordinate system, according to the influence of different joints, the joint rotation information of different joints is weighted and accumulated according to the bone binding weights, and the vertex is rotated and transformed according to the accumulated result to obtain the rotated vertex; Then, the rotated vertices are converted from the local coordinate system back to the global coordinate system to obtain the adjusted vertices of the clothing mesh; Calculate the geometric relationship between the adjusted vertices of adjacent clothing meshes to obtain the strain tensor; According to the strain tensor, the stress of the clothing mesh at the vertices after mesh adjustment is calculated; Using stress as a driving force to adjust the vertex position, an adjustment amount is applied to each mesh adjusted vertex to obtain a non-rigidly adjusted vertex set; The non-rigidly adjusted vertex set is combined with the patch data of the clothing mesh to obtain a dynamic matching model.
6. The clothing design method based on 3D modeling according to claim 5, characterized in that: The interactive display of clothing design for the target user based on the 3D matching model, receiving the interactive design operation of the target user, and obtaining the design clothing data specifically include the following steps: In the interactive window, interactively display the 3D matching model; In the interactive window, loading an interactive design toolbox; According to the clothing design style, basic design rendering is performed on the 3D matching model to generate and display the basic design model; Receiving an interactive design operation of a target user on the basic design model; Get design clothing data.
7. The clothing design method based on 3D modeling according to claim 6, characterized in that: The method of performing supplementary rendering and naked-eye 3D scene processing on the 3D matching model according to the designed clothing data, and generating and displaying the naked-eye 3D video of clothing design specifically comprises the following steps: According to the designed clothing data, the 3D matching model is supplemented with rendering to generate a designed matching model; Determine clothing matching scenarios according to the clothing design requirements; According to the clothing matching scene, the design matching model is processed into a scene video to generate a dynamic display video; Performing naked-eye 3D processing on the dynamic display video to generate a naked-eye 3D video of clothing design; The clothing design is displayed in a naked-eye 3D video.
8. A clothing design system based on 3D modeling, the system being applied to the clothing design method based on 3D modeling according to any one of claims 1 to 7, characterized in that: The system includes a body data scanning unit, a design matching selection unit, a model matching rendering unit, an interactive design processing unit and a supplementary rendering display unit, wherein: A body data scanning unit, used to obtain clothing design requirements of a target user, and perform a body scan on the target user to obtain 3D body data of the target user; A design matching selection unit, used to obtain the historical clothing data of the target user, and based on the clothing design requirements, perform design matching selection on the historical clothing data to obtain a plurality of matching clothing data; A model matching rendering unit, used for performing model creation and matching rendering according to the 3D body data and the plurality of matching clothing data, to generate a 3D matching model; An interactive design processing unit, configured to interactively display clothing designs to the target user based on the 3D matching model, receive interactive design operations of the target user, and obtain design clothing data; The supplementary rendering and display unit is used to perform supplementary rendering and naked-eye 3D scene processing on the 3D matching model according to the designed clothing data, and generate and display the clothing design naked-eye 3D video.
Citation Information
Patent Citations
Clothing design system and method based on user himself / herself
CN107688717A
Clothing personalized customization method and system based on big data and customer portrait
CN114861073A