Skip to content

pedromsferraz/PhysicsBasedClothAnimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.