Font Size: a A A

Research And Implementation Of A Physically-Based Cloth Simulation Algorithm

Posted on:2010-01-08Degree:MasterType:Thesis
Country:ChinaCandidate:X X SuFull Text:PDF
GTID:2178360278473539Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
In the past decades, the cloth simulation has become more and more import in the research area of computer graphics. Nowadays cloth simulation has been used in many areas we are familiar with such as computer animation, games and the dress CAD. Cloth simulation is a key technology in these applications.In this paper, we use the physically-based after we studied and compared the three methods. This method supplies a real-time and facility modeling. When we use this method, firstly we study the physical features of the cloth such as the mass, the elasticity coefficient, etc. Then we regard the whole cloth as a surface which its thickness is 0, divide the cloth plane along longitude and latitude. The intersections of the longitude and the latitude are called particles, which share the same mass and the particles are connected by the virtual springs. In this process we modeled our mass-spring model.The process of the cloth's movement can be regarded as the result of the composition of forces on the cloth. To simulate this effect, we establish the second ordinary differential equations based on the Newton's Second Law about the time step. And we choose the the four order Runge-Kutta method to solve them for its fast computation speed and its relatively stability. The results of the equations are the positions and the velocities of the masses in every time step. So far we simulate the movement of the cloth accordingly. Further more, to obtain the more realistic, we import the Phys SDK which is popular in the game developing. We simulate the cloth's movement status by applying the mechanism in PhysX.After the steps above, we choose the pattern in our library and map the pattern onto our model by texture mapping technology. And so far we complete our cloth simulation.Moreover, in the case of the collision between the cloth and the rigid body in the scene, we solve it by a relative easy and quick algorithm of collision detection based on AABB box. Finally we add some interactive measures including shadow, wind, light, dragging, ect to enhance our simulation effect and we simulate scenes such as curtain, table cloth, flag.
Keywords/Search Tags:Cloth Simulation, Mass-Spring Model, Collision Detection, Texture Mapping
PDF Full Text Request
Related items