twClothSolver is a Verlet Cloth Solver implemented as a Maya Plugin. I created this as a university test project to explore the possibilities of GPU multithreading within the context of Dependency Graph based VFX centered DCCs. It is by no means a stress-tested production ready solution.
Its features include:
- The deformer source code as a Python plugin blockout version
- The C++ API version
- CUDA and OpenMP multithreading, which can be switched during execution
- OOP codebase with solver functionality completely detached from Maya interface, for easy porting to other apps
- Position and convex collision constraints
- OpenGL viewport feedback of solver attributes
- Easy quality/speed balancing thanks to naive repetition based constraint calculation
- Convenience API commands to create and connect constraints