Clothing large model driven 3D rendering effect display method and system
By using a large-scale clothing model-driven approach, clothing design data is acquired to generate 3D clothing models and rendering parameters are adapted. This solves the problem of unrealistic rendering effects in existing technologies, enabling efficient and accurate multi-angle view display and improving the clothing display effect.
Patent Information
- Application Number
- CN202511172994.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2045-08-21
AI Technical Summary
Existing 3D rendering technologies struggle to quickly and accurately generate 3D clothing models that meet design requirements in apparel design, and they cannot automatically adapt rendering parameters, resulting in unrealistic and unvivid rendering effects that fail to meet the demand for high-quality, multi-angle view displays.
By using a large-scale clothing model-driven approach, clothing design data is acquired, a 3D clothing model containing geometric contour features and material texture features is generated, rendering parameters are adapted, and a 3D rendering display screen with multiple angle views is generated.
It achieves automated conversion from design data to 3D models, improves the efficiency and accuracy of model generation, ensures the realism and vividness of rendering effects, meets the needs of high-quality, multi-angle view display, and significantly improves the effect and efficiency of clothing display.
Smart Images

Figure CN120655803B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of 3D rendering technology, and more specifically, to a method and system for displaying 3D rendering effects driven by a large clothing model. Background Technology
[0002] In the field of fashion design and display, traditional methods rely primarily on physical samples, two-dimensional design drawings, or simple 3D simulations. These methods suffer from limitations such as limited display options, high costs, and inconvenience in modification. With the rapid development of computer graphics and artificial intelligence, 3D rendering technology has been increasingly applied to fashion displays, making virtual fashion presentations possible. However, existing 3D rendering technologies often rely on manual modeling and tedious parameter adjustments, making it difficult to quickly and accurately generate 3D fashion models that meet design requirements. Furthermore, they cannot automatically adapt rendering parameters based on the style, structure, and material properties information in the fashion design data, resulting in rendering effects that are not realistic or vivid enough to meet the demands of fashion designers and consumers for high-quality, multi-angle view displays. Summary of the Invention
[0003] In view of the aforementioned problems, and in conjunction with the first aspect of the present invention, embodiments of the present invention provide a method for displaying 3D rendering effects driven by a large clothing model, the method comprising:
[0004] Obtain a clothing design data set, which includes multiple design element units, each of which contains style structure information and material attribute information;
[0005] The clothing design dataset is processed using a large clothing model to generate a 3D model, resulting in a 3D clothing model that includes geometric contour features and material texture features.
[0006] Based on the geometric contour features and material texture features of the 3D clothing model, rendering parameter adaptation processing is performed to generate a rendering parameter combination that matches the 3D clothing model.
[0007] The rendering module is invoked to render the 3D clothing model according to the combination of rendering parameters, generating a 3D rendered display screen containing multiple angle views;
[0008] The 3D rendered display screen is output as the final effect display result.
[0009] In one possible implementation of the first aspect, the step of performing 3D model generation processing on the clothing design dataset using a large clothing model to obtain a 3D clothing model containing geometric contour features and material texture features includes:
[0010] The style structure information in the clothing design dataset is input into the structure generation submodule of the clothing model. The style structure information is processed by the morphological encoding network of the structure generation submodule to generate a basic geometric framework representing the overall shape of the clothing.
[0011] The material attribute information in the clothing design dataset is input into the material generation submodule of the clothing model. The material attribute information is processed by the texture mapping network of the material generation submodule to generate an initial material texture map corresponding to the surface area of the basic geometric frame.
[0012] The basic geometric framework is subjected to detail feature enhancement processing. The cutting line position information and seam feature information in the style structure information are extracted. The cutting line position information and seam feature information are mapped to the basic geometric framework through the detail optimization network of the structure generation submodule, generating an enhanced geometric framework containing cutting line outlines and seam protrusions.
[0013] The initial material texture map is surface-fitted to the enhanced geometric frame. The scaling ratio and rotation angle of the initial material texture map are adjusted according to the texture extension rules in the material attribute information to generate an adapted material texture map that is completely fitted to the surface area of the enhanced geometric frame.
[0014] The enhanced geometric framework and the adapted material texture map are fused together to generate a 3D clothing model that includes both geometric contour features and material texture features. The geometric contour features include cutting line contour parameters and seam protrusion parameters, and the material texture features include texture fitting scaling parameters and rotation angle parameters.
[0015] In one possible implementation of the first aspect, the detailed feature enhancement processing of the basic geometric frame involves extracting the cut line position information and seam feature information from the style structure information, and mapping the cut line position information and seam feature information to the basic geometric frame through the detail optimization network of the structure generation submodule, generating an enhanced geometric frame containing cut line outlines and seam protrusions, including:
[0016] The cutting line position information in the style structure information is subjected to coordinate transformation processing to convert the 2D coordinate point sequence of the cutting line position information into a 3D coordinate point sequence of the basic geometric frame surface;
[0017] A clipping line profile is generated on the surface of the basic geometric frame along the sequence of 3D coordinate points. The clipping line profile forms a concave line structure by adjusting the position of the vertices on the surface of the basic geometric frame.
[0018] The seam feature information in the style structure information is processed for type identification to determine the splicing method corresponding to the seam feature information, wherein the splicing method is flat seam, overlock seam, or cross seam.
[0019] The height and smoothness parameters of the seam protrusions are determined according to the splicing method, specifically including: flat seams correspond to the first preset height parameter and the first preset smoothness parameter, overlock seams correspond to the second preset height parameter and the second preset smoothness parameter, and backstitch seams correspond to the third preset height parameter and the third preset smoothness parameter, wherein the first preset height parameter is less than the second preset height parameter and less than the third preset height parameter, and the first preset smoothness parameter is greater than the second preset smoothness parameter and greater than the third preset smoothness parameter;
[0020] On the surface of the splicing area of the basic geometric frame, a splicing seam protrusion structure is generated according to the height parameter and smoothness parameter. The splicing seam protrusion structure is formed by adding a displacement in the normal direction at the vertex of the surface of the basic geometric frame to form a protruding line structure.
[0021] The cut-out outline and the seam protrusion structure are integrated into the basic geometric framework to generate an enhanced geometric framework that includes the cut-out outline and the seam protrusion.
[0022] In one possible implementation of the first aspect, generating a clipping line profile along the 3D coordinate point sequence on the surface of the basic geometric frame, wherein the clipping line profile forms a recessed line structure by adjusting the position of the vertices on the surface of the basic geometric frame, includes:
[0023] The 3D coordinate point sequence is smoothed to eliminate abrupt changes and generate a continuous 3D curve trajectory.
[0024] A set of vertices intersecting the 3D curve trajectory is determined on the surface of the basic geometric framework. The set of vertices includes vertices located on the 3D curve trajectory and vertices adjacent to the 3D curve trajectory.
[0025] The positions of the vertices in the vertex set are adjusted by moving the vertices located on the 3D curve trajectory in the opposite direction of the normal vector of the basic geometric frame surface by a first preset distance. The moving distance of the vertices adjacent to the 3D curve trajectory is calculated in a linear decreasing manner according to the ratio of their lateral distance to the center of the 3D curve trajectory to the preset maximum influence distance, forming a concave structure that decreases in gradient from the center of the trajectory to both sides, thus obtaining the adjusted vertex positions.
[0026] The adjusted vertex positions are subjected to mesh optimization to ensure smooth edge transitions of the recessed structure, generating a clipping line profile containing the recessed line structure.
[0027] In one possible implementation of the first aspect, the rendering parameter adaptation processing based on the geometric contour features and material texture features of the 3D clothing model to generate a rendering parameter combination matching the 3D clothing model includes:
[0028] Extract the cutting line contour parameters and seam protrusion parameters from the geometric contour features of the 3D clothing model, and analyze the curvature variation trend of the cutting line contour and the height distribution characteristics of the seam protrusion.
[0029] The lighting parameter adaptation rules are determined based on the curvature change trend and height distribution characteristics. The lighting parameter adaptation rules include the alignment rules between the main light source direction and the extension direction of the cutting line contour, and the positive correlation rules between the intensity of the auxiliary light source and the height of the splice seam protrusion.
[0030] Extract the texture scaling ratio and rotation angle parameters from the material texture features of the 3D clothing model, and analyze the texture density distribution characteristics of the material texture map in different surface areas;
[0031] The shading parameter adaptation rules are determined based on the texture density distribution characteristics. The shading parameter adaptation rules include the positive correlation rule between diffuse reflection coefficient and texture density, and the matching rule between specular reflection range and texture rotation angle.
[0032] By combining the lighting parameter adaptation rules and the shading parameter adaptation rules, a combination of rendering parameters is generated, including the main light source direction parameter, the auxiliary light source intensity parameter, the diffuse reflection coefficient parameter, and the specular reflection range parameter.
[0033] In one possible implementation of the first aspect, the step of determining the lighting parameter adaptation rules based on the curvature change trend and height distribution characteristics includes alignment rules between the main light source direction and the cutting line contour extension direction, and a positive correlation rule between the auxiliary light source intensity and the height of the seam protrusion, comprising:
[0034] Extract the maximum and minimum curvature points from the curvature change trend of the cut line contour, and determine that the main extension direction of the cut line contour is the direction from the minimum curvature point to the maximum curvature point;
[0035] The main extension direction is used as the reference direction of the main light source direction, and the angle between the main light source direction and the reference direction is set to not exceed a preset angle range, thus forming an alignment rule between the main light source direction and the extension direction of the cutting line contour.
[0036] Extract the maximum and minimum height values from the height distribution characteristics of the splice seam protrusion, and calculate the ratio coefficient between the height value of each point in the splice seam protrusion area and the maximum height value;
[0037] The auxiliary light source intensity is set by multiplying the base intensity value by the aforementioned proportional coefficient to form a positive correlation rule between the auxiliary light source intensity and the height of the splice seam protrusion;
[0038] The alignment rule and the positive correlation rule are integrated into a lighting parameter adaptation rule.
[0039] In one possible implementation of the first aspect, the rendering module renders the 3D clothing model according to the combination of rendering parameters to generate a 3D rendered display screen containing multiple angle views, including:
[0040] Determine the set of key display angles for the 3D clothing model, including front view, side view, and back view;
[0041] The rendering module is configured with viewpoint parameters by inputting the line-of-sight direction parameters and field-of-view range parameters of each viewpoint in the set of key display angles into the rendering module.
[0042] The main light source direction parameter and auxiliary light source intensity parameter in the rendering parameter combination are input into the lighting control unit of the rendering module, and the position and intensity of the scene light source are adjusted by the lighting control unit.
[0043] The diffuse reflection coefficient parameter and specular reflection range parameter in the rendering parameter combination are input into the shading calculation unit of the rendering module, and the shading calculation unit adjusts the reflective properties of the surface material of the 3D clothing model.
[0044] The 3D clothing model is rendered from one viewpoint to another. Under each viewpoint, the lighting control unit and the shading calculation unit are called to perform lighting and shading calculations on the 3D clothing model to generate a rendered image of the corresponding viewpoint.
[0045] The rendered images from various perspectives are stitched together to generate a 3D rendered display screen that includes a front view, a side view, and a rear view.
[0046] In one possible implementation of the first aspect, the step of performing view-by-view rendering on the 3D clothing model, wherein the lighting control unit and the shading calculation unit are invoked to perform lighting and shading calculations on the 3D clothing model at each viewpoint to generate a rendered image corresponding to the viewpoint, includes:
[0047] For the current viewpoint, obtain the line-of-sight direction parameters and field-of-view range parameters of the viewpoint, and determine the visible area of the 3D clothing model under this viewpoint;
[0048] The illumination control unit calculates the incident light intensity at each surface point in the visible area based on the direction parameters of the main light source and the intensity parameters of the auxiliary light source. The incident light intensity includes the direct illumination intensity of the main light source and the indirect reflected illumination intensity of the auxiliary light source.
[0049] The coloring calculation unit calculates the reflected light intensity of each surface point in the visible area based on the diffuse reflection coefficient parameter and the specular reflection range parameter. The reflected light intensity includes diffuse reflection intensity and specular reflection intensity.
[0050] The incident light intensity and the reflected light intensity are superimposed to calculate the final light intensity value of each surface point in the visible area;
[0051] Based on the final light intensity value and the color information of the material texture map, determine the color value of each pixel in the visible area;
[0052] The color values of each pixel within the visible area are processed to generate a rendered image from the current viewpoint.
[0053] In one possible implementation of the first aspect, the acquisition of a clothing design data set, the clothing design data set including multiple design element units, each design element unit containing style structure information and material attribute information, including:
[0054] Receive design input data from the design terminal, the design input data including style structure diagrams drawn with drawing tools and material sample diagrams selected from the material library;
[0055] Information extraction processing is performed on the style structure diagram to identify the outline lines, cutting marks and splicing symbols in the style structure diagram, and the coordinate point sequence of the outline lines, the position information of the cutting marks and the type information of the splicing symbols are integrated into style structure information;
[0056] The material sample image is subjected to attribute analysis processing to extract the texture pattern features, color distribution features and surface gloss features from the material sample image. The repetition period of the texture pattern features, the main color tone parameter of the color distribution features and the reflection type information of the surface gloss features are integrated into material attribute information.
[0057] Each style structure diagram and its corresponding material sample diagram are associated as a design element unit, and multiple design element units are combined into a clothing design data set.
[0058] In another aspect, embodiments of the present invention also provide a 3D rendering effect display system driven by a large clothing model, including a processor and a machine-readable storage medium. The machine-readable storage medium is connected to the processor. The machine-readable storage medium is used to store programs, instructions or code. The processor is used to execute the programs, instructions or code in the machine-readable storage medium to implement the above-described method.
[0059] Based on the above, this embodiment of the invention acquires a clothing design data set containing style structure information and material attribute information, and uses a large clothing model to perform 3D model generation processing on the clothing design data set to obtain a 3D clothing model containing geometric contour features and material texture features. This realizes the automated conversion from design data to 3D model, improving the efficiency and accuracy of model generation. Based on the geometric contour features and material texture features of the 3D clothing model, rendering parameter adaptation processing is performed to generate a rendering parameter combination that matches the 3D clothing model, ensuring the realism and vividness of the rendering effect. The rendering module is called to render the 3D clothing model according to the rendering parameter combination, generating a 3D rendering display screen containing multiple angle views, meeting the needs of clothing designers and consumers for high-quality, multi-angle view display. Finally, the 3D rendering display screen is output as the final effect display result, significantly improving the effect and efficiency of clothing display. Attached Figure Description
[0060] Figure 1 This is a schematic diagram of the execution flow of the method for displaying 3D rendering effects driven by a large clothing model provided in an embodiment of the present invention.
[0061] Figure 2 This is a schematic diagram of exemplary hardware and software components of the clothing large model driven 3D rendering effect display system provided in the embodiments of the present invention. Detailed Implementation
[0062] The present invention will now be described in detail with reference to the accompanying drawings. Figure 1 This is a flowchart illustrating a method for displaying 3D rendering effects driven by a large clothing model, as provided in an embodiment of the present invention. The following is a detailed description of this method for displaying 3D rendering effects driven by a large clothing model.
[0063] Step S110: Obtain a clothing design data set, which includes multiple design element units, each of which contains style structure information and material attribute information.
[0064] In this embodiment, design input data is first received from the design terminal. The design input data includes a style structure diagram drawn using a drawing tool and a material sample image selected from the material library. The design terminal can be a professional design computer, the drawing tool can be software with high-precision drawing capabilities, and the material library is a database storing a rich variety of material sample images, from which the designer can select suitable material sample images according to design requirements.
[0065] Step S111: Perform information extraction processing on the style structure diagram, identify the outline lines, cutting marks and splicing symbols in the style structure diagram, and integrate the coordinate point sequence of the outline lines, the position information of the cutting marks and the type information of the splicing symbols into style structure information.
[0066] Upon receiving the style structure diagram, image recognition algorithms are used for analysis. Image recognition technology, based on deep learning algorithms, uses a trained model to identify outlines, cutting marks, and splicing symbols. For outlines, the algorithm iterates through the pixels in the style structure diagram, identifying the pixels that constitute the outline and recording their coordinates to form a coordinate point sequence. This coordinate point sequence accurately describes the shape and direction of the outline. For cutting marks, their positions in the style structure diagram are identified and recorded in coordinate form. For splicing symbols, their types are identified; different splicing symbols represent different splicing methods, such as plain seam, overlock seam, and cross seam, and this type information is categorized and organized. Finally, the coordinate point sequence, position information, and type information are integrated to form the style structure information.
[0067] Step S112: Perform attribute analysis processing on the material sample image, extract the texture pattern features, color distribution features and surface gloss features from the material sample image, and integrate the repetition period of the texture pattern features, the main color tone parameter of the color distribution features and the reflection type information of the surface gloss features into material attribute information.
[0068] For example, step S1121: perform texture analysis processing on the material sample image, identify the repeated texture units in the material sample image through an image matching algorithm, and calculate the horizontal and vertical spacing between adjacent texture units as the repetition period of the texture pattern features.
[0069] When performing texture analysis on material sample images, an image matching algorithm is used to divide the material sample images into blocks. Regions with similar texture features are then identified within these blocks. By comparing the texture features of different blocks, recurring texture units are identified. Once the texture units are determined, the lateral and vertical spacing between adjacent texture units can be calculated. The lateral spacing refers to the distance between adjacent texture units in the horizontal direction, and the vertical spacing refers to the distance in the vertical direction. These two spacings together constitute the repetition period of the texture pattern features.
[0070] Step S1122: Perform color analysis processing on the material sample image, count the color values of each pixel in the material sample image, and determine the color cluster with the highest frequency of occurrence as the main color parameter through a clustering algorithm.
[0071] In color analysis, the first step is to statistically analyze the color value of each pixel in the material sample image. Since the sample image contains a large number of pixels, an efficient statistical algorithm is needed. Then, a clustering algorithm is used to cluster these color values. The clustering algorithm groups pixels with similar color values into the same category, forming different color clusters. By counting the number of pixels in each color cluster, the most frequently occurring color cluster is identified and used as the dominant color parameter. This dominant color parameter represents the main color characteristics of the material sample image.
[0072] Step S1123: Perform gloss analysis on the material sample image, extract the shape and distribution characteristics of the highlight area in the material sample image, and determine the reflection type of the surface gloss characteristics as specular reflection, diffuse reflection or mixed reflection based on whether the shape of the highlight area is regular and whether the distribution is concentrated.
[0073] In gloss analysis, the shape and distribution characteristics of highlight areas in the material sample image are first extracted. Highlight areas refer to the areas with higher brightness in the sample image, reflecting the gloss characteristics of the material. Image analysis algorithms are used to identify the boundaries of the highlight areas and determine their shapes. Simultaneously, the distribution of highlight areas in the sample image is analyzed to determine whether their distribution is concentrated. Based on the regularity of the shape and the concentration of the distribution of the highlight areas, the reflection type of the surface gloss characteristics is determined. If the highlight areas are regular in shape and concentrated in distribution, it may be specular reflection; if the shape is irregular and the distribution is scattered, it may be diffuse reflection; if it exhibits characteristics of both specular and diffuse reflection, it is mixed reflection.
[0074] Step S113: Associate each style structure diagram and its corresponding material sample diagram as a design element unit, and combine multiple design element units into a clothing design data set.
[0075] The processed style structure information and material attribute information are associated with the corresponding style structure diagram and material sample diagram to form a design element unit. For example, the style structure diagram of a shirt and its corresponding cotton material sample diagram, along with the extracted style structure information and material attribute information, constitute a design element unit. Then, multiple such design element units are combined to form a clothing design dataset. This clothing design dataset contains design elements of multiple different styles and materials.
[0076] Step S120: Perform 3D model generation processing on the clothing design data set using the large clothing model to obtain a 3D clothing model containing geometric contour features and material texture features.
[0077] In this embodiment, the large-scale clothing model is an artificial intelligence model trained on a large amount of data, capable of generating corresponding 3D clothing models based on the input clothing design data set. This large-scale clothing model includes a structure generation submodule and a material generation submodule, used to process style structure information and material attribute information, respectively.
[0078] Step S121: Input the style structure information from the clothing design data set into the structure generation submodule of the clothing model, process the style structure information through the morphological encoding network of the structure generation submodule, and generate a basic geometric framework representing the overall shape of the clothing.
[0079] When the style structure information is input into the morphology encoding network of the structure generation submodule, the morphology encoding network analyzes and processes the information. This network consists of multiple layers, each with a different function. First, the input style structure information undergoes feature extraction at the bottom layer, converting coordinate point sequences, positional information, and type information into feature vectors. Then, these feature vectors are further processed and combined at the intermediate layers of the network. Through a series of calculations and transformations, a basic geometric framework representing the overall shape of the garment is generated. This basic geometric framework is a three-dimensional structure that describes the approximate shape and outline of the garment.
[0080] Step S122: Input the material attribute information from the clothing design data set into the material generation submodule of the clothing model, process the material attribute information through the texture mapping network of the material generation submodule, and generate an initial material texture map corresponding to the surface area of the basic geometric frame.
[0081] Once the material attribute information is input into the texture mapping network of the material generation submodule, the texture mapping network generates an initial material texture map based on the repetition period, dominant hue parameter, and reflection type information in the material attribute information. The network first determines the texture arrangement based on the repetition period, then determines the texture color based on the dominant hue parameter, and finally adjusts the texture's gloss effect based on the reflection type information. The generated initial material texture map corresponds to the surface area of the basic geometric framework.
[0082] Step S123: Perform detail feature enhancement processing on the basic geometric frame, extract the cutting line position information and seam feature information from the style structure information, and map the cutting line position information and seam feature information to the basic geometric frame through the detail optimization network of the structure generation submodule, generating an enhanced geometric frame containing the cutting line outline and seam protrusion.
[0083] Step S1231: Perform coordinate transformation processing on the cutting line position information in the style structure information, and convert the 2D coordinate point sequence of the cutting line position information into the 3D coordinate point sequence of the basic geometric frame surface.
[0084] When processing the cutting line position information, since the cutting line position information in the style structure information is a 2D coordinate point sequence, while the basic geometric frame is a 3D structure, coordinate transformation is required. A coordinate transformation algorithm converts each point in the 2D coordinate point sequence into a 3D coordinate point on the surface of the basic geometric frame. This transformation process needs to consider the shape and size of the basic geometric frame to ensure that the transformed 3D coordinate points can be accurately mapped to the surface of the basic geometric frame.
[0085] Step S1232: Generate a clipping line profile along the 3D coordinate point sequence on the surface of the basic geometric frame. The clipping line profile forms a concave line structure by adjusting the position of the vertices on the surface of the basic geometric frame.
[0086] Step S12321: Smooth the 3D coordinate point sequence to eliminate abrupt changes in the coordinate point sequence and generate a continuous 3D curve trajectory.
[0087] To make the clipping line outline more natural and smooth, the 3D coordinate point sequence needs to be smoothed. A smoothing algorithm adjusts each point in the coordinate point sequence, eliminating abrupt changes. The smoothing algorithm appropriately offsets the current point based on the positional relationship with adjacent points, resulting in a continuous 3D curve trajectory for the entire coordinate point sequence.
[0088] Step S12322: Determine a set of vertices on the surface of the basic geometric frame that intersect with the 3D curve trajectory, the set of vertices including vertices located on the 3D curve trajectory and vertices adjacent to the 3D curve trajectory.
[0089] On the surface of the basic geometric framework, determine the set of vertices that intersect with the 3D curve trajectory based on its position. By traversing all vertices on the surface of the basic geometric framework, determine whether each vertex intersects with or is adjacent to the 3D curve trajectory. Add vertices located on the 3D curve trajectory and their neighboring vertices to a vertex set, which will be used for subsequent vertex position adjustments.
[0090] Step S12323: Perform position adjustment processing on the vertices in the vertex set. Move the vertices located on the 3D curve trajectory in the opposite direction of the normal vector of the basic geometric frame surface by a first preset distance. Calculate the moving distance of the vertices adjacent to the 3D curve trajectory in a linear decreasing manner according to the ratio of their lateral distance to the center of the 3D curve trajectory to the preset maximum influence distance, forming a concave structure that decreases in gradient from the center of the trajectory to both sides, and obtain the adjusted vertex position.
[0091] For each vertex in the vertex set, its position is adjusted according to its relationship with the 3D curve trajectory. Vertices located on the 3D curve trajectory move a first preset distance in the opposite direction of the normal vector to the surface of the basic geometric framework, forming a concave central portion. For vertices adjacent to the 3D curve trajectory, their lateral distance to the center of the 3D curve trajectory is calculated. This lateral distance is then compared with a preset maximum influence distance, and the movement distance is calculated in a linearly decreasing manner according to the ratio. Thus, from the trajectory center to both sides, the movement distance of the vertices gradually decreases, forming a gradient-decreasing concave structure. After adjustment, the new vertex positions are obtained.
[0092] Step S12324: Perform mesh optimization processing on the adjusted vertex positions to ensure smooth edge transition of the recessed structure and generate a clipping line profile containing the recessed line structure.
[0093] To make the clipping line outline more aesthetically pleasing and natural, mesh optimization is required for the adjusted vertex positions. The mesh optimization algorithm adjusts the mesh of the basic geometric framework, making the edge transitions of the concave structure smoother. By fine-tuning the vertex positions and connectivity of the mesh, potential sharp edges and discontinuities are eliminated, ultimately generating a clipping line outline containing the concave line structure.
[0094] Step S1233: Perform type identification processing on the seam feature information in the style structure information to determine the splicing method corresponding to the seam feature information, wherein the splicing method is flat seam, overlock seam, or cross seam.
[0095] By analyzing the feature information of the seams, a classification algorithm is used to determine the corresponding splicing method. The classification algorithm compares the features in the seam feature information, such as shape and size, with the features of predefined plain seams, overlock seams, or cross seams to determine the splicing method.
[0096] Step S1234: Determine the height and smoothness parameters of the seam protrusions according to the splicing method, specifically including: flat seam corresponds to the first preset height parameter and the first preset smoothness parameter, overlock seam corresponds to the second preset height parameter and the second preset smoothness parameter, and back seam corresponds to the third preset height parameter and the third preset smoothness parameter, wherein the first preset height parameter is less than the second preset height parameter and less than the third preset height parameter, and the first preset smoothness parameter is greater than the second preset smoothness parameter and greater than the third preset smoothness parameter.
[0097] Based on the determined splicing method, select the corresponding height and smoothness parameters from the preset parameter table. Different splicing methods correspond to different parameter values. Plain seam, due to its relatively simple splicing method, has a smaller corresponding height parameter and a larger smoothness parameter; overlock seam has a relatively complex splicing method, with moderate corresponding height and smoothness parameters; and backstitch has the most complex splicing method, with the largest corresponding height parameter and the smallest smoothness parameter.
[0098] Step S1235: On the surface of the splicing area of the basic geometric frame, a splicing seam protrusion structure is generated according to the height parameter and smoothness parameter. The splicing seam protrusion structure is formed by adding a displacement in the normal direction at the vertex of the surface of the basic geometric frame to form a protruding line structure.
[0099] On the surface of the splicing area of the basic geometric framework, a splicing seam protrusion structure is generated based on the selected height and smoothness parameters. By adding a displacement in the normal direction to the vertices of the splicing area, the vertices move a certain distance in the normal direction, forming a protruding line structure. The height parameter determines the height of the protrusion, and the smoothness parameter determines the shape of the protrusion and the smoothness of the transition.
[0100] Step S1236: Integrate the cut line contour and the seam protrusion structure into the basic geometric frame to generate an enhanced geometric frame that includes the cut line contour and the seam protrusion.
[0101] The generated cut-out outline and seam protrusion structure are integrated with the basic geometric framework. By merging and adjusting the vertex information and connectivity of the cut-out outline and seam protrusion structure with the corresponding information of the basic geometric framework, they are made into a whole, ultimately generating an enhanced geometric framework that includes the cut-out outline and seam protrusion.
[0102] Step S124: Perform surface bonding processing on the initial material texture map and the enhanced geometric frame. Adjust the scaling ratio and rotation angle of the initial material texture map according to the texture extension rules in the material attribute information to generate an adapted material texture map that is completely bonded to the surface area of the enhanced geometric frame.
[0103] During surface lamination, the scaling and rotation angle of the initial material texture map are first adjusted according to the texture extension rules in the material property information. The texture extension rules define the extension method and direction of the texture on the surface of the base geometry. By adjusting the scaling, the size of the texture map matches the surface area of the enhanced geometry; by adjusting the rotation angle, the direction of the texture adapts to the surface features of the enhanced geometry. After adjustment, the initial material texture map is laminated to the surface of the enhanced geometry, generating a perfectly fitted material texture map that fully conforms to the surface area.
[0104] Step S125: Perform data fusion processing on the enhanced geometric framework and the adapted material texture map to generate a 3D clothing model that simultaneously includes geometric contour features and material texture features. The geometric contour features include cutting line contour parameters and seam protrusion parameters, and the material texture features include texture fitting scaling ratio parameters and rotation angle parameters.
[0105] The enhanced geometric framework and the adapted material texture map are fused together. The data fusion algorithm combines the geometric information of the enhanced geometric framework and the texture information of the adapted material texture map to generate a new dataset. This dataset contains geometric contour features and material texture features. The geometric contour features include clipping line contour parameters and seam protrusion parameters, while the material texture features include texture fitting scaling parameters and rotation angle parameters. Finally, a 3D clothing model containing both geometric contour features and material texture features is generated based on this dataset.
[0106] Step S130: Based on the geometric contour features and material texture features of the 3D clothing model, perform rendering parameter adaptation processing to generate a rendering parameter combination that matches the 3D clothing model.
[0107] In this embodiment, in order to make the 3D clothing model present a realistic effect during rendering, it is necessary to perform rendering parameter adaptation processing based on its geometric contour features and material texture features.
[0108] Step S131: Extract the cutting line contour parameters and seam protrusion parameters from the geometric contour features of the 3D clothing model, and analyze the curvature change trend of the cutting line contour and the height distribution characteristics of the seam protrusion.
[0109] Cutting line contour parameters and seam protrusion parameters are extracted from the 3D garment model. Cutting line contour parameters include information such as the position and shape of the cutting line, while seam protrusion parameters include information such as the height and shape of the protrusion. The curvature variation trend of the cutting line contour parameters is calculated through analysis. This curvature variation trend reflects the degree and change of curvature in the cutting line. For the seam protrusion parameters, their height distribution characteristics are statistically analyzed to understand the height variation of the protrusion at different locations.
[0110] Step S132: Determine the lighting parameter adaptation rules based on the curvature change trend and height distribution characteristics. The lighting parameter adaptation rules include the alignment rules between the main light source direction and the extension direction of the cutting line contour, and the positive correlation rules between the intensity of the auxiliary light source and the height of the splice seam protrusion.
[0111] Step S1321: Extract the maximum curvature point and minimum curvature point in the curvature change trend of the cut line contour, and determine that the main extension direction of the cut line contour is the direction from the minimum curvature point to the maximum curvature point.
[0112] When analyzing the curvature variation trend of the cutting line profile, identify the points of maximum and minimum curvature. The point of maximum curvature indicates where the cutting line is most curved, and the point of minimum curvature indicates where the curvature is least curved. The direction from the point of minimum curvature to the point of maximum curvature is determined as the main extension direction of the cutting line profile. This main extension direction reflects the overall direction of the cutting line.
[0113] Step S1322: Take the main extension direction as the reference direction of the main light source direction, and set the angle between the main light source direction and the reference direction to not exceed a preset angle range, so as to form an alignment rule between the main light source direction and the extension direction of the cutting line contour.
[0114] The determined main extension direction is used as the reference direction for the main light source. To ensure the lighting effect highlights the clipping line outline, the angle between the main light source direction and the reference direction is set to not exceed a preset angle range. The preset angle range can be adjusted according to actual needs. Generally, a smaller angle range allows the main light source to better illuminate the clipping line outline, forming an alignment rule between the main light source direction and the extension direction of the clipping line outline.
[0115] Step S1323: Extract the maximum and minimum height values from the height distribution characteristics of the splice seam protrusion, and calculate the ratio coefficient between the height value of each point in the splice seam protrusion area and the maximum height value.
[0116] The maximum and minimum height values are extracted from the height distribution characteristics of the splice seam protrusions. Then, for each point within the splice seam protrusion area, a ratio coefficient between its height value and the maximum height value is calculated. This ratio coefficient reflects the proportional relationship between the height of that point and the maximum height.
[0117] Step S1324: Set the auxiliary light source intensity by multiplying the base intensity value by the proportional coefficient to form a positive correlation rule between the auxiliary light source intensity and the height of the splice seam protrusion.
[0118] Based on the calculated scaling factor, the intensity of the auxiliary light source is set. The base intensity value is multiplied by the scaling factor to obtain the auxiliary light source intensity for each point. Thus, the higher the elevation of the seam protrusion, the greater the auxiliary light source intensity, establishing a positive correlation between the auxiliary light source intensity and the seam protrusion height.
[0119] Step S1325: Integrate the alignment rule and the positive correlation rule into a lighting parameter adaptation rule.
[0120] By integrating the alignment rules between the direction of the main light source and the extension direction of the cutting line contour, and the positive correlation rule between the intensity of the auxiliary light source and the height of the seam protrusion, a complete lighting parameter adaptation rule is formed. This lighting parameter adaptation rule specifies the parameter setting method for the main light source and the auxiliary light source, enabling reasonable setting of lighting parameters according to the geometric contour characteristics of the 3D clothing model.
[0121] Step S133: Extract the texture scaling ratio parameter and rotation angle parameter from the material texture features of the 3D clothing model, and analyze the texture density distribution characteristics of the material texture map in different surface areas.
[0122] Texture scaling and rotation angle parameters are extracted from the material texture features of the 3D clothing model. The texture scaling parameter reflects the scaling degree of the material texture map when it is attached to the surface of the enhanced geometric frame, while the rotation angle parameter indicates the rotation direction of the texture map. By analyzing the material texture map in different surface regions, the number and distribution of texture units are statistically analyzed, thereby obtaining the texture density distribution characteristics. Different surface regions may have different texture densities due to differences in geometry and location.
[0123] Step S134: Determine the shading parameter adaptation rules based on the texture density distribution characteristics. The shading parameter adaptation rules include the positive correlation rule between diffuse reflection coefficient and texture density, and the matching rule between specular reflection range and texture rotation angle.
[0124] Step S1341: Determine the positive correlation rule between diffuse reflection coefficient and texture density.
[0125] This study analyzes the relationship between texture density distribution characteristics and diffuse reflectance coefficient. Generally, the higher the texture density, the more dispersed the light reflection in that area, resulting in a more pronounced diffuse reflectance effect. Therefore, a positive correlation rule is established between diffuse reflectance coefficient and texture density: the higher the texture density, the higher the diffuse reflectance coefficient. By conducting experiments and analyses on regions with different texture densities, a suitable mapping relationship can be determined, allowing the diffuse reflectance coefficient to be dynamically adjusted according to the texture density.
[0126] Step S1342: Determine the matching rules between the specular reflection range and the texture rotation angle.
[0127] The rotation angle of a texture affects the direction and extent of light reflection on its surface. As the texture rotates, the position and extent of specular reflection also change accordingly. By simulating and analyzing textures at different rotation angles, a matching rule between the specular reflection range and the texture rotation angle can be determined. For example, the texture can be divided into different regions based on the rotation angle, with each region corresponding to a specific specular reflection range, thus achieving a precise match between the specular reflection range and the texture rotation angle.
[0128] Step S1343: Integrate the above two rules into a color parameter adaptation rule.
[0129] By integrating the positive correlation rule between diffuse reflectance coefficient and texture density and the matching rule between specular reflectance range and texture rotation angle, a complete shading parameter adaptation rule is formed. This shading parameter adaptation rule specifies how to set the diffuse reflectance coefficient and specular reflectance range under different texture densities and rotation angles to achieve the best shading effect.
[0130] Step S135: Combine the lighting parameter adaptation rules and the shading parameter adaptation rules to generate a rendering parameter combination that includes the main light source direction parameter, the auxiliary light source intensity parameter, the diffuse reflection coefficient parameter, and the specular reflection range parameter.
[0131] The lighting parameter adaptation rules and shading parameter adaptation rules are merged. During the fusion process, it is necessary to ensure the coordination and consistency between the various parameters. For example, the main light source direction parameters and auxiliary light source intensity parameters need to work in conjunction with the diffuse reflection coefficient parameters and specular reflection range parameters to achieve the overall lighting and shading effect. By comprehensively considering and adjusting the parameters under different rules, a rendering parameter combination is generated that includes the main light source direction parameters, auxiliary light source intensity parameters, diffuse reflection coefficient parameters, and specular reflection range parameters. This rendering parameter combination can precisely control the rendering process based on the geometric contour features and material texture features of the 3D clothing model.
[0132] Step S140: Call the rendering module to render the 3D clothing model according to the combination of rendering parameters, and generate a 3D rendering display screen containing multiple angle views.
[0133] In this embodiment, the rendering module is a software module with powerful rendering capabilities, which can render 3D clothing models according to the combination of input rendering parameters.
[0134] Step S141: Determine the set of key display angles for the 3D clothing model, including front view, side view and back view.
[0135] Before rendering, it's necessary to determine the key display angles for the 3D clothing model. A front view showcases the garment's front appearance, including features like the collar and front placket; a side view displays the garment's side silhouette, such as the shape of the sleeves and the body's lines; and a back view reveals the garment's back design, such as the hem and back seams. By determining these key display angles, all aspects of the 3D clothing model can be comprehensively displayed.
[0136] Step S142: Configure the viewpoint parameters of the rendering module by inputting the line-of-sight direction parameters and field-of-view range parameters of each viewpoint in the set of key display angles into the rendering module.
[0137] To enable the rendering module to render according to a set of key display angles, viewpoint parameters need to be configured. The viewing direction and field of view parameters for each viewpoint are input into the rendering module. The viewing direction parameter determines the observer's line of sight, defining the portion of the 3D clothing model visible from that viewpoint; the field of view parameter specifies the size of the viewpoint, affecting the breadth of the image. By accurately configuring these parameters, the rendering module can accurately render the image of the 3D clothing model from each viewpoint.
[0138] Step S143: Input the main light source direction parameter and auxiliary light source intensity parameter in the rendering parameter combination into the lighting control unit of the rendering module, and adjust the position and intensity of the scene light source through the lighting control unit.
[0139] The main light source direction parameter and auxiliary light source intensity parameter from the rendering parameter combination are input into the lighting control unit of the rendering module. The lighting control unit adjusts the position and intensity of the scene light sources based on these parameters. The main light source direction parameter determines the direction of illumination from the main light source, while the auxiliary light source intensity parameter controls the brightness of the auxiliary light source. By adjusting the position and intensity of the light sources, different lighting effects can be created, highlighting the geometric contours and material textures of the 3D clothing model.
[0140] Step S144: Input the diffuse reflection coefficient parameter and specular reflection range parameter in the rendering parameter combination into the shading calculation unit of the rendering module, and adjust the reflection characteristics of the surface material of the 3D clothing model through the shading calculation unit.
[0141] The diffuse reflection coefficient and specular reflection range parameters from the rendering parameter set are input into the shading calculation unit of the rendering module. The shading calculation unit adjusts the reflective properties of the 3D clothing model's surface material based on these parameters. The diffuse reflection coefficient affects the degree of diffuse reflection of light on the material surface, while the specular reflection range parameter determines the range and intensity of specular reflection. By adjusting these reflective properties, the material of the 3D clothing model can appear more realistic and vivid.
[0142] Step S145: Perform view-by-view rendering processing on the 3D clothing model. In each view, call the lighting control unit and the shading calculation unit to perform lighting and shading calculations on the 3D clothing model to generate a rendering image of the corresponding view.
[0143] Step S1451: For the current viewpoint, obtain the line-of-sight direction parameters and field-of-view range parameters of the viewpoint, and determine the visible area of the 3D clothing model under this viewpoint.
[0144] For each key display angle, the line-of-sight direction parameters and field-of-view parameters are first obtained. Based on these parameters, the visible area of the 3D clothing model under that viewpoint is determined. By calculating the intersection of the line of sight with the surface of the 3D clothing model, as well as the boundary of the field of view, it is possible to accurately determine which parts are visible and which parts are occluded.
[0145] Step S1452: The illumination control unit calculates the incident light intensity at each surface point in the visible area based on the direction parameters of the main light source and the intensity parameters of the auxiliary light source. The incident light intensity includes the direct illumination intensity of the main light source and the indirect reflected illumination intensity of the auxiliary light source.
[0146] The lighting control unit calculates the incident light intensity at each surface point within the visible area based on the direction parameters of the main light source and the intensity parameters of the auxiliary light source. The direct illumination intensity of the main light source depends on its position and intensity, as well as the relative position and angle between the surface point and the main light source. The indirect reflected illumination intensity of the auxiliary light source needs to consider the reflection and scattering of light in the scene. By comprehensively calculating these two types of illumination intensities, the total incident light intensity at each surface point within the visible area is obtained.
[0147] Step S1453: The shading calculation unit calculates the reflected light intensity of each surface point in the visible area based on the diffuse reflection coefficient parameter and the specular reflection range parameter. The reflected light intensity includes diffuse reflection intensity and specular reflection intensity.
[0148] The shading calculation unit calculates the reflected light intensity at each surface point within the visible region based on the diffuse reflection coefficient and specular reflection range parameters. Diffuse light intensity is related to the diffuse reflection coefficient and the incident light intensity; the larger the diffuse reflection coefficient, the stronger the diffuse light intensity. Specular reflection intensity depends on the specular reflection range parameters, the normal direction of the surface point, the viewing direction, and the direction of the light source. By calculating the diffuse and specular reflection intensities separately, the total reflected light intensity at each surface point is obtained.
[0149] Step S1454: The incident light intensity and the reflected light intensity are superimposed to calculate the final light intensity value of each surface point in the visible area.
[0150] The calculated incident and reflected light intensities are superimposed to obtain the final light intensity value for each surface point within the visible region. This final light intensity value takes into account both incident and reflected light, reflecting the actual brightness of that surface point under the current illumination conditions.
[0151] Step S1455: Determine the color value of each pixel in the visible area based on the final light intensity value and the color information of the material texture map.
[0152] Based on the final light intensity value and the color information from the material texture map, the color value of each pixel within the visible area is determined. The color information from the material texture map provides the base color of the pixel, while the final light intensity value affects the brightness and saturation of the color. By combining the two, the color values are adjusted so that the color of the pixel can realistically reflect the appearance of the 3D clothing model under the current lighting conditions.
[0153] Step S1456: Perform image synthesis processing on the color values of each pixel within the visible area to generate a rendered image of the current viewpoint.
[0154] The color values of each pixel within the visible area are used for image compositing. The image compositing algorithm combines the pixel positions and color values into a complete image. This method generates a rendered image of the 3D clothing model from the current viewpoint.
[0155] Step S146: Stitch the rendered images from each perspective to generate a 3D rendered display screen that includes a front view, a side view, and a rear view.
[0156] The rendered images generated from various key display angles are stitched together. During the stitching process, it's crucial to ensure smooth and natural transitions between images, avoiding noticeable seams. Using a suitable stitching algorithm, the front, side, and rear views are combined to generate a 3D rendered display screen encompassing multiple perspectives. This 3D rendered display screen comprehensively showcases the appearance and details of the 3D clothing model, providing users with an intuitive viewing experience.
[0157] Step S150: Output the 3D rendered display screen as the final effect display result.
[0158] The generated 3D rendered display is then output. There are several output methods, such as saving the image as a file for easy viewing and sharing later; or displaying it on a specific display device, such as a computer screen or projector, allowing users to directly observe the final effect. By outputting the 3D rendered display, the entire process of showcasing the 3D rendering effect driven by the large clothing model is completed, providing an effective means for clothing design and presentation.
[0159] Regarding data collection and privacy protection, the design terminal encrypts the design input data using advanced encryption algorithms to encrypt style structure diagrams and material sample diagrams, preventing data theft during transmission. For storage, the data is stored on a secure server employing multi-layered security mechanisms, including firewalls and intrusion detection systems, to ensure data security. Furthermore, strict access control is implemented for personnel, ensuring that only authorized personnel can access and process this data, further protecting the security of sensitive privacy data.
[0160] For the construction and training of the large-scale clothing model, the model consists of multiple modules, including a structure generation submodule and a material generation submodule. The structure generation submodule contains a morphological encoding network and a detail optimization network, while the material generation submodule contains a texture mapping network. These modules collaborate through specific connections to process the clothing design dataset and generate the 3D model.
[0161] The training process begins with preparing a large amount of training data, including a dataset of clothing designs in different styles and materials. This training data is then input into a large-scale clothing model, and the model's parameters are adjusted using the backpropagation algorithm. The specific training steps include forward propagation, loss calculation, and backpropagation. During forward propagation, the input data passes through various modules of the large-scale clothing model, generating output results. Then, the loss between the output results and the true labels is calculated; the loss function measures the difference between the model's output and the true value. Finally, the backpropagation algorithm updates the model's parameters based on the loss value, gradually bringing the large-scale clothing model's output closer to the true value. Several important parameters need to be set during training, such as the learning rate and batch size. The learning rate controls the step size of parameter updates, while the batch size determines the amount of data used in each training iteration. Through continuous training and parameter adjustment, the large-scale clothing model learns the characteristics and patterns of the clothing design data, improving the quality and accuracy of the generated 3D clothing models.
[0162] In specific applications, large-scale clothing models are closely integrated with the fields of clothing design and presentation. The model's input data is a collection of clothing design data, including style structure information and material attribute information; the output data is a 3D rendered display containing multiple views. This input-output setup reflects the inherent connection between the model and the specific field. By inputting the designer's design data, the model can generate intuitive 3D rendered displays, helping designers better showcase their design results, while also providing consumers with a more realistic clothing experience.
[0163] Figure 2 The illustration shows exemplary hardware and software components of a large-scale clothing model-driven 3D rendering effect display system 100, which can implement the ideas of this application, according to some embodiments of this application. For example, processor 120 can be used in the large-scale clothing model-driven 3D rendering effect display system 100 and to perform the functions in this application.
[0164] The 3D rendering effect display system 100 driven by a large clothing model can be a general-purpose server or a special-purpose server; both can be used to implement the 3D rendering effect display method driven by a large clothing model of this application. Although only one server is shown in this application, for convenience, the functions described in this application can be implemented in a distributed manner on multiple similar platforms to balance the load.
[0165] For example, a 3D rendering and display system 100 driven by a large clothing model may include a network port 110 connected to a network, one or more processors 120 for executing program instructions, a communication bus 130, and various forms of storage media 140, such as a disk, ROM, or RAM, or any combination thereof. Exemplarily, the 3D rendering and display system 100 driven by a large clothing model may also include program instructions stored in ROM, RAM, or other types of non-transitory storage media, or any combination thereof. The methods of this application can be implemented according to these program instructions. The 3D rendering and display system 100 driven by a large clothing model also includes an I / O interface 150 between the computer and other input / output devices.
[0166] For ease of explanation, only one processor is described in the 3D rendering effect display system 100 driven by a large clothing model. However, it should be noted that the 3D rendering effect display system 100 driven by a large clothing model in this application may also include multiple processors. Therefore, the steps performed by one processor as described in this application may also be performed jointly by multiple processors or individually. For example, if the processor of the 3D rendering effect display system 100 driven by a large clothing model performs steps A and B, it should be understood that steps A and B may also be performed jointly by two different processors or individually by one processor. For example, the first processor performs step A, the second processor performs step B, or the first processor and the second processor jointly perform steps A and B.
[0167] Furthermore, this embodiment of the invention also provides a readable storage medium, which has computer-executable instructions pre-set in it. When the processor executes the computer-executable instructions, the above-mentioned method for displaying 3D rendering effects driven by a large clothing model is realized.
[0168] It should be noted that, in order to simplify the description of the present invention and thus help to understand one or more embodiments of the invention, multiple features may sometimes be grouped into one embodiment, drawing or description thereof in the foregoing description of the embodiments of the present invention.
Claims
1. A method for displaying 3D rendering effects driven by a large clothing model, characterized in that, The method includes: Obtain a clothing design data set, which includes multiple design element units, each of which contains style structure information and material attribute information; The clothing design dataset is processed using a large clothing model to generate a 3D model, resulting in a 3D clothing model that includes geometric contour features and material texture features. Based on the geometric contour features and material texture features of the 3D clothing model, rendering parameter adaptation processing is performed to generate a rendering parameter combination that matches the 3D clothing model. The rendering module is invoked to render the 3D clothing model according to the combination of rendering parameters, generating a 3D rendered display screen containing multiple angle views; The 3D rendered display screen is output as the final effect display result; The process of generating a 3D model from the clothing design dataset using a large clothing model, resulting in a 3D clothing model containing geometric contour features and material texture features, includes: The style structure information in the clothing design dataset is input into the structure generation submodule of the clothing model. The style structure information is processed by the morphological encoding network of the structure generation submodule to generate a basic geometric framework representing the overall shape of the clothing. The material attribute information in the clothing design dataset is input into the material generation submodule of the clothing model. The material attribute information is processed by the texture mapping network of the material generation submodule to generate an initial material texture map corresponding to the surface area of the basic geometric frame. The basic geometric framework is subjected to detail feature enhancement processing. The cutting line position information and seam feature information in the style structure information are extracted. The cutting line position information and seam feature information are mapped to the basic geometric framework through the detail optimization network of the structure generation submodule, generating an enhanced geometric framework containing cutting line outlines and seam protrusions. The initial material texture map is surface-fitted to the enhanced geometric frame. The scaling ratio and rotation angle of the initial material texture map are adjusted according to the texture extension rules in the material attribute information to generate an adapted material texture map that is completely fitted to the surface area of the enhanced geometric frame. The enhanced geometric framework and the adapted material texture map are fused together to generate a 3D clothing model that includes both geometric contour features and material texture features. The geometric contour features include cutting line contour parameters and seam protrusion parameters, and the material texture features include texture fitting scaling parameters and rotation angle parameters. The rendering parameter adaptation process based on the geometric contour features and material texture features of the 3D clothing model to generate a rendering parameter combination that matches the 3D clothing model includes: Extract the cutting line contour parameters and seam protrusion parameters from the geometric contour features of the 3D clothing model, and analyze the curvature variation trend of the cutting line contour and the height distribution characteristics of the seam protrusion. The lighting parameter adaptation rules are determined based on the curvature change trend and height distribution characteristics. The lighting parameter adaptation rules include the alignment rules between the main light source direction and the extension direction of the cutting line contour, and the positive correlation rules between the intensity of the auxiliary light source and the height of the splice seam protrusion. Extract the texture scaling ratio and rotation angle parameters from the material texture features of the 3D clothing model, and analyze the texture density distribution characteristics of the material texture map in different surface areas; The shading parameter adaptation rules are determined based on the texture density distribution characteristics. The shading parameter adaptation rules include the positive correlation rule between diffuse reflection coefficient and texture density, and the matching rule between specular reflection range and texture rotation angle. By combining the lighting parameter adaptation rules and the shading parameter adaptation rules, a combination of rendering parameters is generated, including the main light source direction parameter, the auxiliary light source intensity parameter, the diffuse reflection coefficient parameter, and the specular reflection range parameter.
2. The method for displaying 3D rendering effects driven by a large clothing model according to claim 1, characterized in that, The step involves performing detail enhancement processing on the basic geometric framework, extracting the cut line position information and seam feature information from the style structure information, and mapping the cut line position information and seam feature information to the basic geometric framework through the detail optimization network of the structure generation submodule, generating an enhanced geometric framework containing cut line outlines and seam protrusions, including: The cutting line position information in the style structure information is subjected to coordinate transformation processing to convert the 2D coordinate point sequence of the cutting line position information into a 3D coordinate point sequence of the basic geometric frame surface; A clipping line profile is generated on the surface of the basic geometric frame along the sequence of 3D coordinate points. The clipping line profile forms a concave line structure by adjusting the position of the vertices on the surface of the basic geometric frame. The seam feature information in the style structure information is processed for type identification to determine the splicing method corresponding to the seam feature information, wherein the splicing method is flat seam, overlock seam, or cross seam. The height and smoothness parameters of the seam protrusions are determined according to the splicing method, specifically including: flat seams correspond to the first preset height parameter and the first preset smoothness parameter, overlock seams correspond to the second preset height parameter and the second preset smoothness parameter, and backstitch seams correspond to the third preset height parameter and the third preset smoothness parameter, wherein the first preset height parameter is less than the second preset height parameter and less than the third preset height parameter, and the first preset smoothness parameter is greater than the second preset smoothness parameter and greater than the third preset smoothness parameter; On the surface of the splicing area of the basic geometric frame, a splicing seam protrusion structure is generated according to the height parameter and smoothness parameter. The splicing seam protrusion structure is formed by adding a displacement in the normal direction at the vertex of the surface of the basic geometric frame to form a protruding line structure. The cut-out outline and the seam protrusion structure are integrated into the basic geometric framework to generate an enhanced geometric framework that includes the cut-out outline and the seam protrusion.
3. The method for displaying 3D rendering effects driven by a large clothing model according to claim 2, characterized in that, The step of generating a clipping line profile along the 3D coordinate point sequence on the surface of the basic geometric frame, wherein the clipping line profile forms a concave line structure by adjusting the position of the vertices on the surface of the basic geometric frame, includes: The 3D coordinate point sequence is smoothed to eliminate abrupt changes and generate a continuous 3D curve trajectory. A set of vertices intersecting the 3D curve trajectory is determined on the surface of the basic geometric framework. The set of vertices includes vertices located on the 3D curve trajectory and vertices adjacent to the 3D curve trajectory. The positions of the vertices in the vertex set are adjusted by moving the vertices located on the 3D curve trajectory in the opposite direction of the normal vector of the basic geometric frame surface by a first preset distance. The moving distance of the vertices adjacent to the 3D curve trajectory is calculated in a linear decreasing manner according to the ratio of their lateral distance to the center of the 3D curve trajectory to the preset maximum influence distance, forming a concave structure that decreases in gradient from the center of the trajectory to both sides, thus obtaining the adjusted vertex positions. The adjusted vertex positions are subjected to mesh optimization to ensure smooth edge transitions of the recessed structure, generating a clipping line profile containing the recessed line structure.
4. The method for displaying 3D rendering effects driven by a large clothing model according to claim 1, characterized in that, The lighting parameter adaptation rules are determined based on the curvature change trend and height distribution characteristics. These rules include alignment rules between the main light source direction and the cutting line contour extension direction, and a positive correlation rule between the auxiliary light source intensity and the height of the seam protrusion. Extract the maximum and minimum curvature points from the curvature change trend of the cut line contour, and determine that the main extension direction of the cut line contour is the direction from the minimum curvature point to the maximum curvature point; The main extension direction is used as the reference direction of the main light source direction, and the angle between the main light source direction and the reference direction is set to not exceed a preset angle range, thus forming an alignment rule between the main light source direction and the extension direction of the cutting line contour. Extract the maximum and minimum height values from the height distribution characteristics of the splice seam protrusion, and calculate the ratio coefficient between the height value of each point in the splice seam protrusion area and the maximum height value; The auxiliary light source intensity is set by multiplying the base intensity value by the aforementioned proportional coefficient to form a positive correlation rule between the auxiliary light source intensity and the height of the splice seam protrusion; The alignment rule and the positive correlation rule are integrated into a lighting parameter adaptation rule.
5. The method for displaying 3D rendering effects driven by a large clothing model according to claim 1, characterized in that, The rendering module is invoked to render the 3D clothing model according to the combination of rendering parameters, generating a 3D rendered display screen containing multiple angle views, including: Determine the set of key display angles for the 3D clothing model, including front view, side view, and back view; The rendering module is configured with viewpoint parameters by inputting the line-of-sight direction parameters and field-of-view range parameters of each viewpoint in the set of key display angles into the rendering module. The main light source direction parameter and auxiliary light source intensity parameter in the rendering parameter combination are input into the lighting control unit of the rendering module, and the position and intensity of the scene light source are adjusted by the lighting control unit. The diffuse reflection coefficient parameter and specular reflection range parameter in the rendering parameter combination are input into the shading calculation unit of the rendering module, and the shading calculation unit adjusts the reflective properties of the surface material of the 3D clothing model. The 3D clothing model is rendered from one viewpoint to another. Under each viewpoint, the lighting control unit and the shading calculation unit are called to perform lighting and shading calculations on the 3D clothing model to generate a rendered image of the corresponding viewpoint. The rendered images from various perspectives are stitched together to generate a 3D rendered display screen that includes a front view, a side view, and a rear view.
6. The method for displaying 3D rendering effects driven by a large clothing model according to claim 5, characterized in that, The step of performing view-by-view rendering on the 3D clothing model, which involves calling the lighting control unit and the shading calculation unit to perform lighting and shading calculations on the 3D clothing model from each viewpoint to generate a rendered image for the corresponding viewpoint, includes: For the current viewpoint, obtain the line-of-sight direction parameters and field-of-view range parameters of the viewpoint, and determine the visible area of the 3D clothing model under this viewpoint; The illumination control unit calculates the incident light intensity at each surface point in the visible area based on the direction parameters of the main light source and the intensity parameters of the auxiliary light source. The incident light intensity includes the direct illumination intensity of the main light source and the indirect reflected illumination intensity of the auxiliary light source. The coloring calculation unit calculates the reflected light intensity of each surface point in the visible area based on the diffuse reflection coefficient parameter and the specular reflection range parameter. The reflected light intensity includes diffuse reflection intensity and specular reflection intensity. The incident light intensity and the reflected light intensity are superimposed to calculate the final light intensity value of each surface point in the visible area; Based on the final light intensity value and the color information of the material texture map, determine the color value of each pixel in the visible area; The color values of each pixel within the visible area are processed to generate a rendered image from the current viewpoint.
7. The method for displaying 3D rendering effects driven by a large clothing model according to claim 1, characterized in that, The acquisition of the clothing design data set includes multiple design element units, each containing style structure information and material attribute information, including: Receive design input data from the design terminal, the design input data including style structure diagrams drawn with drawing tools and material sample diagrams selected from the material library; Information extraction processing is performed on the style structure diagram to identify the outline lines, cutting marks and splicing symbols in the style structure diagram, and the coordinate point sequence of the outline lines, the position information of the cutting marks and the type information of the splicing symbols are integrated into style structure information; The material sample image is subjected to attribute analysis processing to extract the texture pattern features, color distribution features and surface gloss features from the material sample image. The repetition period of the texture pattern features, the main color tone parameter of the color distribution features and the reflection type information of the surface gloss features are integrated into material attribute information. Each style structure diagram and its corresponding material sample diagram are associated as a design element unit, and multiple design element units are combined into a clothing design data set.
8. A 3D rendering effect display system driven by a large clothing model, characterized in that, The device includes a processor and a memory, the memory being connected to the processor. The memory is used to store programs, instructions, or code, and the processor is used to execute the programs, instructions, or code in the memory to implement the 3D rendering effect display method driven by the large clothing model as described in any one of claims 1-7.
Citation Information
Patent Citations
Image rendering method and device in virtual scene, electronic equipment and storage medium
CN117101127A
Virtual human clothing generation method and device, equipment and medium
CN117710581A
Method and device for optimizing garment sewing effect
CN119722977A