3 ms·
What are the challenges in writing such a system? Is this a matter of keeping track of forces that work on e.g. a triangular basis element, and doing hit-testi
by amelius 9y ago
What are the challenges in writing such a system?
Is this a matter of keeping track of forces that work on e.g. a triangular basis element, and doing hit-testing so the triangles cannot move through objects or other triangles?
- tsherif 9y agoThe basic system is pretty simple: just make sure the points you're tracking on the cloth don't move further than a certain distance away from each other. Doing it on the GPU is a bit tricky because you have to know which constraints you can check in parallel. Here are the two primary references I used: https://viscomp.alexandra.dk/?p=147 https://viscomp.alexandra.dk/?p=147 http://http.download.nvidia.com/developer/presentations/2005/SIGGRAPH/ClothSimulationOnTheGPU.pdf http://http.download.nvidia.com/developer/presentations/2005...
- olewhalehunter 9y agohttps://en.wikipedia.org/wiki/Verlet_integration https://en.wikipedia.org/wiki/Verlet_integration