Xinrong Hu, Chen Yang, Jinxing Liang*, Tao Peng And Jin Huang
(Engineering Research Center of Hubei Province for Clothing Information,Wuhan,China)
(School of Computer Science and Artificial Intelligence, Wuhan Textile University,Wuhan,China)
*Corresponding author:Jinxing Liang, Engineering Research Center of Hubei Province for Clothing Information, Wuhan, China
Submission: April 01, 2022; Published: April 20, 2022
ISSN 2578-0271 Volume 6 Issue 4
The present work aims to briefly overview the simulation of fabrics in computer graphics, including the rendering of knitted fabrics and the physical simulation or animation of fabrics. The future directions for fabric simulation under the megatrend of deep neural networks are also discussed.
Keywords: Fabric simulation; Knitted fabric; Physical simulation
In the computer graphics field, the physical simulation has a long research history, especially the fabrics simulation has achieved considerable research results in the film, game, animation, and other industries. However, the complex structure of knitted fabrics leads to few related studies. With the development of knitting technology, peoples’ aesthetic and functional needs continue to improve. In addition to traditional knitted clothing, more and more functional knitted products, such as medical supplies and sportswear, are also in increasing demand. Knitted fabrics are widely used in garments due to their unique elastic properties, which are fundamentally different from the properties of woven fabrics. The properties of knitted fabrics come from the nonlinear three-dimensional kinematics of long or inter-loop yarns. Despite significant progress in cloth animation, we still do not know how to faithfully model knitted fabrics. Existing cloth simulation solvers mainly employ elastic sheet mechanics models inspired by woven materials, paying less attention to the model itself and more to important simulation challenges such as efficiency, stability, and robustness.
Whether in computer graphics field or others, most research on cloth mechanics has focused on woven fabrics, due to the simplicity of woven fabrics simulation and the widespread use of woven fabrics in many engineering applications. Woven fabrics simulation is the main application of cloth simulation in computer graphics, however, in clothing, knitted fabrics are as commonly used as woven fabrics. Many very ordinary garments, such as T-shirts or leggings, are made of knitted fabrics, not woven fabrics. Meanwhile, realistic complex physics simulators are invaluable to many scientific and engineering disciplines, yet traditional simulators can be prohibitively expensive to create and use. Proposing a simulator can take years of engineering effort, and often must trade off versatility and accuracy within a narrow set of settings. High-quality simulators require a lot of computing resources, which makes scaling very difficult. Even the best method is often inaccurate due to insufficient knowledge or difficulty in approximating fundamental physics and parameters. An attractive alternative to traditional simulators is to use machine learning to train simulation networks directly from observational data, however, standard end-to-end learning methods struggle to overcome large state spaces and complex dynamics. At present, the traditional knitted fabric simulation method is very complex and needs to adjust multiple parameters at the same time, while the learning-based simulation method can only perform simple cloth simulation. Therefore, we think it is very valuable work to study a learning-based method in knitted fabric simulation.
Cloth simulation has a long history in computer graphics. The earliest Baraff and Witkin used a dynamically defined rigid spring model [1], which can prevent penetration between cloths, and applied an implicit integration scheme to improve efficiency. After that, Choi and Ko developed a semi-implicit solution method [2], which can effectively deal with the buckling instability problem. Bridson et al. [3] deal with all point-triangle and edge-edge pair collisions in the mesh through impulse responses. Then Harmon et al. combined asynchronous variational ensemble with dynamical data structures. For collision detection, this can be done with potential barriers, which effectively approximate nested families of quadratic potentials. In the work of Ainsley et al. [4], they further speed up this approach by orders of magnitude.
Otaduy et al. [5] proposed an implicit treatment based on complementary collision constraints and a new solution for large mixed linear complementary problems [6]. However, work in recent years has shown that cloth simulations under implicit time steps can be performed more efficiently by optimizing auxiliary variables to represent strain. Meanwhile, with the recent popularity of the material point method, Jiang et al. [7] also applied the material point method to cloth simulation. They classified particles into three types and performed Euler-Lagrangian space in the material point method respectively. mapping between. Modern simulators use elastic rod theory to simulate the motion of a single yarn or thread [8]. Kaldor et al. [9] pioneered the simulation of yarn-level fabrics, followed by some work on improving collision handling methods [10], and using persistent contact to simulate woven fabrics [11] and knitted fabrics [12].
Leaf et al. [13] proposed a GPU-operated approach to interactively author and edit periodic small yarn patches that reproduce a large number of quiescent stitches and patterns under tension. Yuksel et al. [14] proposed a grid of stitches to create large-scale virtual knitting patterns. Then Wu et al. [15] ensured that they could actually be made. Narayanan et al. [16] introduced a set of tools for converting virtual knitted patterns into machinemade garments. In the computer graphics field, researchers often think of cloth as an elastic solid whose potential energy increases as it deforms from a resting state. Typical methods for discretizing such elastic solids are particle-spring networks [17], discrete thin shells [18], Finite-difference-based continuum mechanics solutions [19], finite elements [20] and Material point method [21]. When it is necessary to simulate the cloth structure at the macro scale, there is an open-source finite element shell solver project. Although these methods have high accuracy in the simulation field, it is difficult for traditional simulation methods to balance accuracy and computational efficiency in computer graphics. So, in recent years, people have begun to pay attention to data-driven learning-based related methods.
Data-driven simulation [22] has been an important area of applied research in physics and graphics. Compared wit engineering model simulators, data-driven simulators can predict complex phenomena more effectively [23]: for example, some works use simulation networks that learn partial fluids to make faster simulation predictions [24]. In recent studies, related work based on graph neural networks [25] has been proposed. And Graph Networks (GN) [26] have been shown to learn the dynamics of forward computation in various environments involving interactions between many entities as Effective. GN maps an input graph to an output graph with the same structure but possibly different node, edge and graph-level attributes. And it can be trained to learn a form of message passing [27], where latent information is passed between nodes through edges. GNs and their variants, such as interaction networks, can learn to model rigid bodies, mass-spring, many-body problems, robotic control systems [28], and non-physical systems such as multi-body Agent dynamics [29], algorithm execution [30] and other dynamic knowledge graph settings [31]. Ummenhofer et al. [32] proposed to use continuous convolution (CConv) as a solver for simulation, which is a nongraph structure-based fluid simulation method. Recently, Sanchez-Gonzalez et al. [33] proposed Graph Network Based Simulation (GNS), which encodes discrete particles in a fluid into a graph structure with adjacency information. Then they used the graph network as a solver to compute gradients and decode back to the original space. However, these methods cannot be directly used in the simulation process of the cloth because the structural characteristics of the cloth are different from those of the general freely constrained particles. Currently, there is also some work to learn material models for cloth from example data. Wang et al. [34] proposed a low-cost setup for measuring the characteristics of fabrics under tensile and flexural tests and optimized a piecewise linear material model. Miguel et al. [35] developed a measurement device to capture more complex 3D deformations of cloth with complete position and force data. And Miguel et al. [36] showed how to inexpensively measure the internal tensile and bending friction of cloth and optimize the required parameters based on sparse data. Further studies discussed incremental fitting of separable models for convex hyperelastic materials [37] and orthotropic models for woven fabrics based on commercial tests [38]. In recent years, with the popularity of graph networks for simulation, Pfaff et al. [39] used graph networks to simulate cloth (Figure 1).
Figure 1:Sample of knitted fabric model..
Meanwhile, data-driven learning-based methods have also been used to add details to coarse simulations. Wang et al. [40] used a pre-computed database of high-resolution simulations to add detailed wrinkles to coarse simulations at an interactive rate. Zhang et al. [41] proposed a multi-network framework to learn high-definition details from low-resolution clothing fold textures. The framework can enhance the normal map of different folds for cloth of different materials through a classifier. However, the current research on data-driven simulation still has a lot of research space for the simulation of yarn-level knitted fabrics with complex loop texture structures.
Data-driven fabric simulation has only slowly emerged in the recent environment where graphics are influenced by deep learning. It is a relatively new direction, especially the simulation of knitted fabrics, because it is more difficult than woven fabrics and the patterns are more complex. So, there is a huge research space. We believe that we can use the classical model simulation as the framework, use the neural network as the solver to converge the energy, and map the texture of the knitted fabric to the mesh through the network. Compared with the previous method, this not only improves the efficiency, but also the actual simulation effect is closer to the real effect. Therefore, we believe that there are the following problems to be solved: First, the model needs to be redesigned for the deep network, and a suitable encoding method needs to be found to convert the relevant parameters of the model in the traditional method into the data that the deep network can learn. Second, we should obtain the corresponding data, that is, the generation of the data set. The existing data sets are mainly for simple simulation scenarios of fabrics and the knitted fabrics are relatively lacking. So, the simulation and data extraction of knitted fabrics is a key point. Last, we should correspond he local knitted fabric model to the primitive on the global cloth mesh.
© 2022 Jinxing Liang. This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and build upon your work non-commercially.