Undergrad I need to simulate clothing meshes for hanging garments

  • Thread starter Thread starter AI_Messiah
  • Start date Start date
Click For Summary
The discussion focuses on simulating clothing meshes for hanging garments without the need for traditional cloth simulation, emphasizing the use of low-poly triangle meshes. The user seeks a straightforward explanation suitable for someone with basic math skills, aiming to create a model that allows for garment removal during animation. Suggestions include using compute shaders and techniques to push vertices of the mesh while maintaining shape, as well as methods for determining node placement on the model's surface. The conversation also touches on the importance of mesh properties, such as mass per unit area and whether the fabric is elastic or fixed in dimension. Overall, the goal is to achieve a realistic hanging effect without complex simulation features.
AI_Messiah
Messages
5
Reaction score
0
TL;DR
I don't need cloth simulation. I need to simulate clothing meshes. Made of triangles and I need an answer that someone with High School math can understand.
I don't need cloth simulation. I need to simulate clothing meshes. Made of triangles and I need an answer that someone with High School math can understand. I am actually using the time it takes for someone to answer to create a model with less geometry than the one I have been using. I want clothing that can be removed on a model that will be animated. I don't need stretching or wrinkles on my meshes, I just need gravity. I have an idea of how I could do it, but I don't know how to apply it. I will be using compute shaders for this (GPGPU). What I think I could do is push the vertices of the mesh outside the model and mark the ones that are loose, but how do I maintain the shape. then have another pass that iterates over the mesh in 2 dimensions and compare it with itself, but how do I start from the top and successively pass the vertices down. The clothing meshes will have a low poly count.
 
Physics news on Phys.org
AI_Messiah said:
TL;DR Summary: I don't need cloth simulation. I need to simulate clothing meshes. Made of triangles and I need an answer that someone with High School math can understand.

I don't need cloth simulation. I need to simulate clothing meshes.
It would be more polite if you would say "please" somewhere in your thread start.

Please show us what you have so far with your simulations. You can use "Attach files" to upload screenshots of your simulations so far.
 
Does the mesh have a specified mass per unit area, that can become tension in hanging fabric?
Is the cloth mesh fixed in dimension, like a Dacron sailboat sail, or is it elastic, like a stretchy knitted fabric?

You could look at the model from above and then lower the mesh as a sheet onto the model. At each step, there will be a line of nodes in contact between the model and the mesh. That line will be extended outwards in the mesh, and downwards over the model.

Any two known node points, on the model surface, can be extended down the surface of the model to find where the next node will lie. That can be done by finding the intersection of two spheres with the model surface. The radius of the spheres are the length of the mesh triangle edges, which forms a circular line of contact, that line penetrates the surface of the model at the 3D position of the new node. Maybe solve the 3D intersection, by searching the surface of the model, for the one point that is r1 and r2 from the previous two nodes, n1 and n2 respectively.

Where there is an overhang in the model, each new mesh node will hang in space below previously placed points, like a skirt, away from the surface. Wrinkles and pleats will form naturally, determined by the way the mesh hangs or falls.
 
Can the fibers slide at the crossovers or are they locked?
 
I do not have a good working knowledge of physics yet. I tried to piece this together but after researching this, I couldn’t figure out the correct laws of physics to combine to develop a formula to answer this question. Ex. 1 - A moving object impacts a static object at a constant velocity. Ex. 2 - A moving object impacts a static object at the same velocity but is accelerating at the moment of impact. Assuming the mass of the objects is the same and the velocity at the moment of impact...

Similar threads

  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
Replies
21
Views
5K
Replies
4
Views
2K
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K