All Projects → sam007961 → FastMassSpring

sam007961 / FastMassSpring

Licence: MIT license
Interactive cloth simulator using the method described in the SIGGRAPH paper "Fast Simulation of Mass-Spring Systems" by Liu, T., Bargteil, A. W., Obrien, J. F., & Kavan, L.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects
GLSL
2045 projects

Projects that are alternatives of or similar to FastMassSpring

ICON
ICON: Implicit Clothed humans Obtained from Normals (CVPR 2022)
Stars: ✭ 641 (+277.06%)
Mutual labels:  computer-graphics, cloth-simulation
CompenNet
[CVPR'19] End-to-end Projector Photometric Compensation
Stars: ✭ 35 (-79.41%)
Mutual labels:  computer-graphics
Anime4k
A High-Quality Real Time Upscaler for Anime Video
Stars: ✭ 14,083 (+8184.12%)
Mutual labels:  computer-graphics
Pytorch Cyclegan And Pix2pix
Image-to-Image Translation in PyTorch
Stars: ✭ 16,477 (+9592.35%)
Mutual labels:  computer-graphics
Dyna Kinematics
A 2D rigid-body dynamics simulator with some cool features for generating beautiful animations.
Stars: ✭ 195 (+14.71%)
Mutual labels:  computer-graphics
Libwethair
A Multi-Scale Model for Simulating Liquid-Hair Interactions
Stars: ✭ 232 (+36.47%)
Mutual labels:  computer-graphics
Tinykaboom
A brief computer graphics / rendering course
Stars: ✭ 2,077 (+1121.76%)
Mutual labels:  computer-graphics
TermGL
2D & 3D graphics engine in the terminal [C/C++]
Stars: ✭ 219 (+28.82%)
Mutual labels:  computer-graphics
t-rex
A Chrome T-Rex game remake using javascript and threejs. Online demo: https://rossning92.github.io/t-rex
Stars: ✭ 89 (-47.65%)
Mutual labels:  computer-graphics
Nimgl
NimGL is a Nim library that offers bindings for popular libraries used in computer graphics
Stars: ✭ 218 (+28.24%)
Mutual labels:  computer-graphics
Ipc
Incremental Potential Contact (IPC) is for robust and accurate time stepping of nonlinear elastodynamics. IPC guarantees intersection- and inversion-free trajectories regardless of materials, time-step sizes, velocities, or deformation severity.
Stars: ✭ 215 (+26.47%)
Mutual labels:  computer-graphics
Blender
Official mirror of Blender
Stars: ✭ 4,175 (+2355.88%)
Mutual labels:  computer-graphics
Usd Resources
A curated list of USD projects and resources
Stars: ✭ 250 (+47.06%)
Mutual labels:  computer-graphics
Light Field Video
Light field video applications (e.g. video refocusing, focus tracking, changing aperture and view)
Stars: ✭ 190 (+11.76%)
Mutual labels:  computer-graphics
raytracing-go
A simple Go library for 3D ray-tracing rendering, implementing the book Ray Tracing in One Weekend. 📸
Stars: ✭ 53 (-68.82%)
Mutual labels:  computer-graphics
Xpp
Visualization of Motions for Legged Robots in ros-rviz
Stars: ✭ 177 (+4.12%)
Mutual labels:  computer-graphics
Scancomplete
[CVPR'18] ScanComplete: Large-Scale Scene Completion and Semantic Segmentation for 3D Scans
Stars: ✭ 213 (+25.29%)
Mutual labels:  computer-graphics
Structured3d
[ECCV'20] Structured3D: A Large Photo-realistic Dataset for Structured 3D Modeling
Stars: ✭ 224 (+31.76%)
Mutual labels:  computer-graphics
unity-cloth-simulation
A mass-spring-damper based real-time cloth simulation I wrote for a class project.
Stars: ✭ 42 (-75.29%)
Mutual labels:  cloth-simulation
Photon-v2
A program that takes photographs of a virtual world.
Stars: ✭ 75 (-55.88%)
Mutual labels:  computer-graphics

Fast Mass-Spring System Simulator

A C++ implementation of Fast Simulation of Mass-Spring Systems [1], rendered with OpenGL. The dynamic inverse procedure described in [2] was implemented to constrain spring deformations and prevent the "super-elastic" effect when using large time-steps.

Dependencies

  • OpenGL, freeGLUT, GLEW, GLM for rendering.
  • OpenMesh for computing normals.
  • Eigen for sparse matrix algebra.

Building

You need to install OpenGL, GLEW and GLUT on your system to build. The rest of the dependencies will be automatically fetched by cmake during configuration.

To build, run the following commands from the root directory of the project:

mkdir build
cd build
cmake ..
cmake --build .

On Windows, you will likely need to specify the directories containing GLUT and GLEW in CMAKE_PREFIX_PATH so that cmake can find them.

cmake .. -DCMAKE_PERFIX_PATH:PATH=/path/to/libs

You will also need to copy the DLLs to the build directory if they are not available globally.

Demonstration

curtain_hang curtain_ball

References

[1] Liu, T., Bargteil, A. W., Obrien, J. F., & Kavan, L. (2013). Fast simulation of mass-spring systems. ACM Transactions on Graphics,32(6), 1-7. doi:10.1145/2508363.2508406

[2] Provot, X. (1995). Deformation constraints in a mass-spring modelto describe rigid cloth behavior. InGraphics Interface 1995,147-154.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].