Simulation fabric fitting simulation method based on virtual reality
By constructing a personalized three-dimensional mannequin model and simulated the physical behavior of the fabric, combined with the Phong reflection model, the problem of unreality and lack of personalization in the existing virtual fitting technology is solved, and a more realistic and interactive virtual fitting experience is achieved.
Patent Information
- Application Number
- CN202510300469.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2045-03-14
AI Technical Summary
The existing virtual fitting technology cannot truly reflect the texture, gloss and dynamic effects of the fabric, lacks personalization and interactivity, and the fabric simulation is inaccurate, resulting in poor user experience.
By obtaining the user's body shape parameters, we can build a personalized three-dimensional mannequin model, combine the stretching characteristic data of the fabric, simulate the stretching, bending and shearing behavior of the fabric, and use the Phong reflection model to enhance the visual effect.
It provides a more realistic, personalized and interactive virtual fitting experience, improves the online shopping experience, reduces return rates, and promotes the development of e-commerce.
Smart Images

Figure CN120146964A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual fitting, and more specifically, to a method for simulating fabric fitting based on virtual reality. Background Art
[0002] With the popularization of Internet shopping, more and more consumers choose to buy clothes online. However, traditional online shopping platforms have obvious limitations: most existing virtual fitting technologies rely on simple two-dimensional image synthesis or pre-recorded videos, which cannot truly reflect the texture, gloss, and dynamic effects of different fabrics on the human body, resulting in a lack of realism; since the body data of users cannot be directly measured, the size recommendations provided by many platforms are not accurate enough, increasing the return rate of ill-fitting goods; traditional virtual fitting systems fail to fully consider the personalized needs of users, such as different body shapes, postures, and movements, making the effect of virtual fitting quite different from the actual situation; existing technologies usually ignore the physical properties of the fabric itself, such as stretchability, elasticity, etc., making it impossible to accurately simulate the real behavior of the fabric during virtual fitting, reducing user trust and satisfaction.
[0003] Specifically, the main problems faced by existing virtual fitting technologies include:
[0004] Authenticity issue: It is difficult to provide a real fabric touch and visual effect, especially for high-end fabrics or special materials, and users cannot obtain an intuitive feeling.
[0005] Lack of personalization: Most virtual fitting systems fail to perform customized modeling based on the individual characteristics of users (such as body size parameters), affecting the authenticity and accuracy of the fitting effect.
[0006] Poor interactivity: The functions for users to adjust the position, angle, etc. of clothes in the virtual environment are limited, and they cannot freely try different styles and combinations like in a physical store.
[0007] Imprecise fabric simulation: The lack of in-depth research and simulation on the physical properties of fabrics makes the fabric performance during virtual fitting not realistic enough, resulting in a poor user experience.
[0008] Therefore, how to provide a method for simulating fabric fitting based on virtual reality is an urgent problem that needs to be solved by those skilled in the art. Summary of the Invention
[0009] In view of this, the present invention provides a method for simulating fabric fitting based on virtual reality to solve the technical problems existing in the above-mentioned prior art.
[0010] To achieve the above object, the present invention provides the following technical solutions:
[0011] A virtual reality-based simulation method for fabric simulation and virtual fitting, comprising:
[0012] Obtaining the body shape parameters of the user;
[0013] Constructing a three-dimensional human body model of the user based on the body shape parameters;
[0014] Determining the fabric required by the user, and respectively obtaining the tensile characteristic data of the fabric for different types of fabrics;
[0015] Simulating the tensile, bending and shearing behaviors of the fabric based on the tensile characteristic data of the fabric;
[0016] Rendering the fabric and using the Phong reflection model to enhance the visual effect.
[0017] Further, the body shape parameters of the user include: height parameter, weight parameter, shoulder width parameter, and waist circumference parameter.
[0018] Further, the expression of the three-dimensional human body model is:
[0019]
[0020] In the formula, S(u, v) is the surface of the human body model; P ij represents the position of the control point; u and v are the coordinate values in the parameter space, and are the B-spline basis functions in the u direction and the v direction respectively; n and m are the numbers of the control point grids in the two directions.
[0021] Further, the fabric behavior characteristics include: the tensile behavior of the fabric, the thickness of the fabric, the mass density of the fabric, and the friction coefficient of the fabric.
[0022] Further, Hooke's law is used to describe the tensile behavior of the fabric:
[0023]
[0024] In the formula, F is the acting force; A is the force-bearing area; ΔL is the change in length; L 0 is the original length.
[0025] Further, simulating the tensile, bending and shearing behaviors of the fabric based on the tensile characteristic data of the fabric includes:
[0026] Regarding the fabric as a network composed of multiple mass points and springs, and respectively updating the positions, velocities and accelerations of the mass points;
[0027] Determine whether a collision occurs between the mass points of the fabric and the human body model. When a collision occurs, calculate the collision force based on the normal direction and relative velocity of the collision point, and update the velocity and position of the mass point.
[0028] Furthermore, the update of the position of the mass point includes:
[0029] The update formula for the position of each mass point at time t+Δt is:
[0030]
[0031] In the formula, p i (t) is the position of mass point i at time t; v i (t) is the velocity of mass point i at time t; a i (t) is the acceleration of mass point i at time t; Δt is the time step.
[0032] Furthermore, the update of the velocity of the mass point includes:
[0033] The update formula for the velocity of the mass point at time t+Δt is:
[0034] v i (t+Δt) = v i (t) + a i (t)·Δt;
[0035] In the formula, v i (t) is the velocity of mass point i at time t; a i (t) is the acceleration of mass point i at time t; Δt is the time step.
[0036] Furthermore, the update of the acceleration of the mass point includes:
[0037] Take the acceleration as the force acting on the mass point. According to Newton's second law:
[0038]
[0039] In the formula, m i is the mass of mass point i; F i is the total force acting on mass point i, including gravity, spring force, friction force, etc.
[0040] Furthermore, use the Phong reflection model to enhance the visual effect, including:
[0041] I = k a I a +(k d I l (N·L))+(k s I l (R·V) n);
[0042] In the formula, I is the total light intensity; k a , k d , k s are the coefficients of ambient light, diffuse reflection light, and specular reflection light respectively; I a , I l are the intensities of the ambient light source and the point light source respectively; N is the normal vector; L is the vector pointing from the surface to the light source; R is the vector of the light ray reflected from the surface; V is the viewing direction vector; n is the specular highlight index.
[0043] As can be seen from the above technical solutions, compared with the prior art, the present invention discloses a method for simulating virtual fitting of fabrics based on virtual reality. In order to overcome the limitations of the prior art, by obtaining the body shape parameters of the user and constructing a personalized three-dimensional human body model, combined with the stretching characteristic data of the fabric, the stretching, bending, and shearing behaviors of the fabric are accurately simulated, and the Phong reflection model is used to enhance the visual effect of the fabric, so as to provide a more realistic, personalized, and interactive virtual fitting experience, improve the online shopping experience, reduce the return rate, and promote the development of e-commerce. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to the provided drawings.
[0045] Figure 1 It is a schematic flow chart of the method of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0047] The object of the present invention is to provide a virtual reality-based simulation fabric virtual fitting method, which includes: obtaining the body shape parameters of a user; constructing a three-dimensional human body model of the user based on the body shape parameters; determining the fabric required by the user, and respectively obtaining the stretching characteristic data of the fabric for different types of fabrics; simulating the stretching, bending and shearing behaviors of the fabric based on the stretching characteristic data of the fabric; performing rendering processing on the fabric, and using the Phong reflection model to enhance the visual effect. A solution is provided to overcome the limitations existing in the existing simulation fabric virtual fitting.
[0048] To make the above objects, features and advantages of the present invention more obvious and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0049] See Figure 1 , an embodiment of the present invention discloses a virtual reality-based simulation fabric virtual fitting method, including:
[0050] Obtaining the body shape parameters of a user;
[0051] Constructing a three-dimensional human body model of the user based on the body shape parameters;
[0052] Determining the fabric required by the user, and respectively obtaining the stretching characteristic data of the fabric for different types of fabrics;
[0053] Simulating the stretching, bending and shearing behaviors of the fabric based on the stretching characteristic data of the fabric;
[0054] Performing rendering processing on the fabric, and using the Phong reflection model to enhance the visual effect.
[0055] Further, the body shape parameters of the user include: height parameter, weight parameter, shoulder width parameter, waist circumference parameter.
[0056] Further, the expression of the three-dimensional human body model is:
[0057]
[0058] In the formula, S(u, v) is the surface of the human body model; P ij represents the position of the control point; u and v are the coordinate values in the parameter space, and are the B-spline basis functions in the u direction and the v direction respectively; n and m are the numbers of the control point grids in the two directions.
[0059] Specifically, by obtaining the body shape parameters of the user and constructing a personalized three-dimensional human body model, the user can see a virtual fitting effect closer to their actual body shape in the virtual environment, greatly improving the realism and personalized experience of virtual fitting.
[0060] Furthermore, the fabric behavioral characteristics include: the stretching behavior of the fabric, the thickness of the fabric, the mass density of the fabric, and the friction coefficient of the fabric.
[0061] Furthermore, Hooke's law is used to describe the stretching behavior of the fabric:
[0062]
[0063] where F is the applied force; A is the area under force; ΔL is the change in length; L 0 is the original length.
[0064] Furthermore, based on the stretching characteristic data of the fabric, the stretching, bending, and shearing behaviors of the fabric are simulated, including:
[0065] Regarding the fabric as a network composed of multiple mass points and springs, the positions, velocities, and accelerations of the mass points are updated respectively;
[0066] Determine whether a collision occurs between the mass points of the fabric and the human body model. When a collision occurs, calculate the collision force based on the normal direction and relative velocity of the collision point, and update the velocity and position of the mass point.
[0067] Furthermore, the update of the position of the mass point includes:
[0068] The update formula for the position of each mass point at time t+Δt is:
[0069]
[0070] where p i (t) is the position of mass point i at time t; v i (t) is the velocity of mass point i at time t; a i (t) is the acceleration of mass point i at time t; Δt is the time step.
[0071] Furthermore, the update of the velocity of the mass point includes:
[0072] The update formula for the velocity of the mass point at time t+Δt is as follows:
[0073] v i (t+Δt) = v i (t) + a i (t)·Δt;
[0074] where v i (t) is the velocity of mass point i at time t; a i (t) is the acceleration of mass point i at time t; Δt is the time step.
[0075] Further, updating the acceleration of the particle includes:
[0076] Regarding the acceleration as the force acting on the particle, according to Newton's second law:
[0077]
[0078] In the formula, m i is the mass of particle i; F i is the total force acting on particle i, including gravity, spring force, frictional force, etc.
[0079] Specifically, based on the stretching characteristic data of the fabric, the stretching, bending, and shearing behaviors of the fabric are simulated, making the fabric performance in the virtual fitting process more realistic, and enabling users to more intuitively feel the texture and effect of different fabrics. At the same time, the introduction of advanced virtual reality technology and physical simulation algorithms demonstrates the enterprise's strength in technological innovation, which helps to enhance the brand image and market competitiveness.
[0080] Further, using the Phong reflection model to enhance the visual effect includes:
[0081] I = k a I a +(k d I l (N·L))+(k s I l (R·V) n );
[0082] In the formula, I is the total light intensity; k a , k d , k s are the coefficients of ambient light, diffuse reflection light, and specular reflection light respectively; I a , I l are the intensities of the ambient light source and the point light source respectively; N is the normal vector; L is the vector from the surface to the light source; R is the vector of the light ray reflected from the surface; V is the viewing direction vector; n is the specular highlight index.
[0083] Specifically, using the Phong reflection model to enhance the visual effect of the fabric makes the gloss, color, and texture of the fabric more realistic, improving the user's visual experience. Through advanced image processing technology, the texture and details of the fabric can be more carefully presented, making the virtual fitting effect closer to the real world.
[0084] In the present specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts among the embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method part.
[0085] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for simulating fitting of simulated fabrics based on virtual reality, characterized in that: include: Get the user's body parameters; Based on the body shape parameters, construct a three-dimensional human body model of the user; Determine the fabrics that the user needs, and obtain the tensile property data of different types of fabrics; Based on the tensile property data of the fabric, simulate the stretching, bending and shearing behavior of the fabric; Fabrics are rendered and enhanced using the Phong reflection model.
2. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 1, characterized in that: The user's body parameters include: height parameter, weight parameter, shoulder width parameter, and waist circumference parameter.
3. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 1, characterized in that: The expression of the three-dimensional human body model is: Where S(u,v) is the surface of the human body model; P ij represents the position of the control point; u and v are the coordinate values in the parameter space, and are the B-spline basis functions in the u and v directions respectively; n and m are the number of control point grids in the two directions.
4. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 1, characterized in that: Fabric behavior characteristics include: fabric stretch behavior, fabric thickness, fabric mass density, and fabric friction coefficient.
5. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 4, characterized in that: Use Hooke's law to describe the stretching behavior of fabrics: Where F is the applied force; A is the force-bearing area; ΔL is the length change; and L0 is the original length.
6. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 1, characterized in that: Based on the tensile property data of the fabric, simulate the stretching, bending and shearing behavior of the fabric, including: The fabric is considered as a network consisting of multiple mass points and springs, and the position, velocity and acceleration of the mass points are updated respectively; Determine whether there is a collision between the mass point of the fabric and the human body model. When a collision occurs, calculate the collision force and update the velocity and position of the mass point based on the normal and relative velocity of the collision point.
7. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 6, characterized in that: Updating the position of the particle includes: The update formula for the position of each particle at time t+Δt is: In the formula, p i (t) is the position of particle i at time t; v i (t) is the velocity of particle i at time t; a i (t) is the acceleration of particle i at time t; Δt is the time step.
8. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 6, characterized in that: The update of the velocity of the particle includes: The update formula of the particle velocity at time t+Δt is: v i (t+Δt)=v i (t)+a i (t)·Δt; In the formula, v i (t) is the velocity of particle i at time t; a i (t) is the acceleration of particle i at time t; Δt is the time step.
9. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 6, characterized in that: Updating the acceleration of the particle includes: Taking acceleration as the force acting on the particle, according to Newton's second law: In the formula, m i is the mass of particle i; F i is the total force acting on particle i.
10. The method for simulated fitting of simulated fabrics based on virtual reality according to claim 1, characterized in that: Use the Phong reflection model to enhance visual effects, including: I=k a I a +(k d I l (N·L))+(k s I l (R·V) n ); Where I is the total light intensity; k a , k d , k s They are the coefficients of ambient light, diffuse light, and specular light; I a , I l are the intensities of the ambient light source and the point light source respectively; N is the normal vector; L is the vector pointing from the surface to the light source; R is the light vector reflected from the surface; V is the viewing direction vector; and n is the specular highlight index.
Citation Information
Patent Citations
Virtual fitting method, device and system and three-dimensional fabric material library establishment method and device
CN106502399A
A method and system for immersive virtual fitting with tactile experience
CN109388229A
Textile fabric physical property digital attribute simulation system and measurement method
CN111177929A
Virtual clothing management system and related method
CN117670461A
Vr system for Mongolian gown display
CN117830535A