Content-Length: 268084 | pFad | http://github.com/CptNemo0/ClothSimulation

75 GitHub - CptNemo0/ClothSimulation: XPBD Cloth Simulation
Skip to content

CptNemo0/ClothSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XPBD Cloth Simulation

Cloth simulation based on XPBD paper. Made with:

  • C++
  • DirectX
  • ImGui

Stretching constraints are solved using graph colouring with typical Gauss-Seidel method, while sheer and bending constraints are solved using Jacobi method.

Steering:

  • Press mouse wheel to rotate around the centre.
  • Scroll to zoom in/out

YouTube video: https://www.youtube.com/watch?v=psMpRK0Np5k

Solid Image

Result at 16k vertices (2 ss' glued together).

Building from source:

  1. Ensure that your windows machine has developer mode enabled.
  2. Install visual studio.
  3. Install C++ for windows desktop app development from Visual Studio Installer
  4. Install C++ for games development from Visual Studio Installer
  5. Generate the project using CMake: cmake -B build
  6. Go to build folder and open .sln file.
  7. Select correct startup project
  8. Build it using VS.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/CptNemo0/ClothSimulation

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy