Font Size: a A A

Research On Fabric Simulation Based On Opengl And Interaction

Posted on:2017-02-24Degree:MasterType:Thesis
Country:ChinaCandidate:D H LiFull Text:PDF
GTID:2271330485488798Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
Science and technology have made great progress for many years. With the continuous improvement of computer hardware, the fabric simulation which requires huge calculated amount has made further progress. The fabric simulation technique has got widely application in different domain such as E-commerce, virtual reality, CAD (Computer Aided Design) of clothes, virtual exhibition, animation and entertainment. Fabric is the accessory of people in real life, but classical fabric simulation almost has no interaction study or made easy experiment study between people and fabric. In view of this, some relative researches with cloth and garment were investigated.First, the physical simulation model base on mass-spring is built. After that, force analysis including spring force, gravity and wind force is applied to particles to find out resultant force. Then, explicit Euler one-step method is used to calculate the velocity and position of particles. In order to prevent the penetration phenomenon between multi objects during simulating, collision detection and response are needed.Second, the contour of garment piece is designed in the Autodesk CAD and used for uniformaly distributing the vertexes with its bounding box. Then, Bowyer-Watson algorithm is used to generate Delaunay triangles after removing excess masses outside the box’s boundary. Afterwards, adding structuaral springs, shear springs, seaming springs and the resultant force of each particle can be obtained after force analysis. Finally, importing a mannequin and establishing the ellipsoid bounding box, so collision detection and response can work to realize the virtual try-on effect.As the last part of interaction, inspired by the inverse process of vertex processing of OpenGL (Open Graphic Library) and mapping the client coordinates of mouse to fabric particle with mouse as an interactive mdedium. The client coordinate of mouse is converted to the camera space by vector form. This vector is converted to the direction of projection ray of the camera in the world space, and the start point of projection ray is the coordinate of camera. After that, if there is an intersection, we can get the interactive particle by regarding it as a sphere and control it with the movement of mouse through scaling transformation.
Keywords/Search Tags:Garment modeling, Cloth animation, Interaction, Collision detection
PDF Full Text Request
Related items