aole/ClothSimulator
소개
Cloth Simulator
디자인 및 미디어측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalClothSimulator
Program to design to clothes and drape the resulting mesh in 3D.
Design the clothes in 2D window, then simulate the clothes in 3D window to get realistic folds.
The cloth is affected by gravity, collision geometry and other forces.

How to Use
- Click and Drag LMB on an empty area to create a rectangle in the 2D window.
- Click and Drag LMB on a shape to move it.
- Click and Drag LMB over an existing vertex to move it.
- Hold Ctrl and LMB Click on a segment to create a vertex there (the new vertex will be in drag mode).
- Click and Drag MMB to Pan 2D Window.
- Drag and drop an image file to display it over the 2D window.
- Simulate Cloth physics (press SPACEBAR to toggle simulation)
Compile Dependency
- wxWidgets
- glew
- glm
Build and Run on Windows
Install Visual Studio 2022/2026 or its Build Tools with Desktop development with C++, a Windows SDK, and C++ CMake tools for Windows. Git must be on PATH.
From PowerShell in this folder:
powershell -ExecutionPolicy Bypass -File .\build.ps1
powershell -ExecutionPolicy Bypass -File .\run.ps1
The first build downloads vcpkg and builds the pinned wxWidgets, GLEW, and GLM
dependencies. Later builds reuse them. The default is a 64-bit Release build;
pass -Configuration Debug to both scripts for a Debug build.
The executable is build\Release\ClothSimulator.exe. Use run.ps1 to start it
with the correct working directory for shaders and sample objects. OpenGL 3.2
driver support is required. The generated build\ClothSimulator.sln can also be
opened in Visual Studio; use this instead of the legacy root solution, which
references an older toolset and hard-coded SDK paths.
관련 프로젝트 살펴보기
불러오는 중…