# Physics Simulation Forum

 Page 1 of 1 [ 2 posts ]
 Print view Previous topic | Next topic
Author Message
 Post subject: Cloth simulationPosted: Wed Apr 20, 2011 12:05 am

Joined: Tue Apr 19, 2011 11:46 pm
Posts: 11
I made a cloth simulation using c++. It uses implicit backward euler integration and continuous collision detection for cloth-object and cloth self-collision. Strain limiting was used to simulate inextensible cloth. BVH/AABB was implemented to avoid n^2 collision checking. Rendering was done in Maya using AnimOBJ(http://code.google.com/p/animobj) which is made by myself as well.

Below is a link to the short video.

I am currently trying to implement global collision treatment methods based on papers below.

If you have some experience with global collision treatment, please share your idea with me. I implemented the second one (volume preserving impulses) and have some problem with convergence. I believe the matrix is not really definite and need to use GMRES. I am using conjugate gradient now.

Also the first paper is somehow confusing.

Thank you.

Top

 Post subject: Re: Cloth simulationPosted: Thu Jun 27, 2013 5:40 am

Joined: Tue Apr 19, 2011 11:46 pm
Posts: 11
Since my previous posting, I've been developing my own simultaneous proximity and continuous collision handling method for cloth simulation. I tried a couple of approaches like ones linked above and was not satisfied much. Below is a link to my current approach in youtube.

http://youtu.be/6yKrcV16k6A

The idea is basically creating a big linear equation and solve it rather than treating individual collisions iteratively until it converges. It is kind of similar to LCP but I am using impulses and proximity information in position level rather than velocity level. The matrix of linear equation can be over-constrained and ill-conditioned due to the complexity and irregularity of collision distribution. I overcome the problem by using conditional regularization. This research is still on-going but I just want to share it.

Attaching a screenshot to show the stress test with more clothes.

 Attachments: Cloth2D_Test 2013-06-26 22-09-16-09.jpg [ 236.18 KiB | Viewed 560 times ]
Top

 Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending
 Page 1 of 1 [ 2 posts ]

#### Who is online

Users browsing this forum: No registered users and 2 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum

Search for:
 Jump to:  Select a forum ------------------ BULLET PHYSICS LIBRARY USERS    General Bullet Physics Support and Feedback    Release Announcements    Applications, Games, Demos or Movies using Bullet PHYSICS AUTHORING TOOLS, SERIALIZATION AND STANDARDS    Physics authoring tools, serialization, standards and related topics RESEARCH AND DEVELOPMENT IN COLLISION DETECTION & PHYSICS. Don't post Bullet support questions here!    Research and development discussion about Collision Detection and Physics Simulation    Links, Papers, Libraries, Demos, Movies, Comparisons       Non-technical forum and license/patent discussion    Career Opportunities