I I need to simulate clothing meshes for hanging garments

  • I
  • Thread starter Thread starter AI_Messiah
  • Start date Start date
AI Thread 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 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. 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 think it's easist first to watch a short vidio clip I find these videos very relaxing to watch .. I got to thinking is this being done in the most efficient way? The sand has to be suspended in the water to move it to the outlet ... The faster the water , the more turbulance and the sand stays suspended, so it seems to me the rule of thumb is the hose be aimed towards the outlet at all times .. Many times the workers hit the sand directly which will greatly reduce the water...
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...
Back
Top