News for hackers. Stuff that matters.
Re:Drape – a Fabric Simulator by lmcnish14 on Friday June 03, 2016 @04:04PM (#11832836)
That's pretty cool! Do you have any plans to have it respect the boundaries of solid objects it comes in contact with such as the poles it's tethered to? Currently, the cloth will go through the poles instead of interacting with the poles as solid objects.
Re:Drape – a Fabric Simulator by aatish on Saturday June 04, 2016 @10:59AM (#11836551)
I'd started off this project by using a fancier ray-tracing method of detecting and avoiding collisions with arbitrary shaped objects. Unfortunately it was just too slow for satisfying real-time performance. So finally, I went with doing the collision detection in a case-by-case way for more simple shapes (ball, table, etc.). The poles would be easy to add as an option, I may try to add that in. Thanks for the suggestion!