pedromsferraz / PhysicsBasedClothAnimation

A 3D cloth animation created using Verlet Integration.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Physics-Based Cloth Animation

This project consists in a 3D simulation of cloth physics using Verlet Integration. It was developed as the final assignment for the Numerical Analysis class at PUC-Rio. The project consists of two parts: the physics simulation algorithm written in C++, and the visualization created with OpenGL 4+ using Qt Creator. For more details about the methodology and implementation, please check out the final report.

Features:

  • Create animations for any rectangular cloth.
  • Blinn-Phong Lighting Model, with diffuse, specular and ambient lighting.
  • Zoom and Arcball for adjusting the camera.

Animations

The following animations were created applying a sum of forces of gravity and dynamic wind to the cloth.

Two upper corner fixed points.

Two upper corner fixed mesh visualization.

Left side fixed.

Dependencies

  • OpenGL 4+
  • Qt Creator

Contact

Felipe Bernardi - fcbernar@gmail.com

Matheus Venturelli - matheuskventurelli@gmail.com

Pedro Ferraz - pedroferraz12@gmail.com

Credits and Thanks

Waldemar Celes, for teaching the Numerical Analysis class at PUC-Rio.

Marcelo Gattass, for teaching the Computer Graphics class at PUC-Rio.

Suellen Motta, for the excelent introduction to OpenGL using Qt Creator.

About

A 3D cloth animation created using Verlet Integration.


Languages

Language:C++ 99.3%Language:C 0.4%Language:GLSL 0.1%Language:CMake 0.1%Language:QMake 0.1%