https://github.com/kingnobro/cloth-simulation
Naive Cloth Sewing based on OpenGL
https://github.com/kingnobro/cloth-simulation
simulation
Last synced: 5 months ago
JSON representation
Naive Cloth Sewing based on OpenGL
- Host: GitHub
- URL: https://github.com/kingnobro/cloth-simulation
- Owner: kingnobro
- Created: 2021-11-22T06:24:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-02-22T02:41:04.000Z (over 3 years ago)
- Last Synced: 2025-03-31T11:51:10.260Z (6 months ago)
- Topics: simulation
- Language: C++
- Homepage:
- Size: 23.6 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Naive-Cloth-Sewing
### Cloth Sewing
[](https://imgtu.com/i/HxqTVf)
[](https://imgtu.com/i/T7HWdO)
[](https://imgtu.com/i/T7HReK)### Triangulation
[](https://imgtu.com/i/T7HgL6)
### Implementation
1. Cloth Simulation based on Mass-Spring System
2. High Efficiency Collision Detection
3. Constrained Delaunay Triangulation
4. Parsing Cloth Data from `.dxf` and Sewing them together.### Build
You need to make following modifications in Visual Studio,
- INCLUDE
- LIB
- Additional Dependencies: `glfw3.lib`, `assimp-vc142-mt.lib`
- Preprocessor Definitions: `_CRT_SECURE_NO_WARNINGS`### Future Work
- Cloth Self Collision
- Multilayer Cloth Simulation### Reference
1. [Cloth Simulation](https://github.com/xxMeow/ClothSimulation)
2. [CDT: Constrained Delaunay Triangulation](https://github.com/artem-ogre/CDT)
3. [Efficient Cloth Model and Collision Detection for Dressing Virtual People](http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.103.4540&rep=rep1&type=pdf)
4. [dxflib](https://qcad.org/en/90-dxflib)
5. [assimp](https://www.assimp.org/)