Skip to content

Implementation and rendering of a Spring-Mass softbody cloth, with generation from images.

License

Notifications You must be signed in to change notification settings

RonanSandoval/CMPUT-414-Cloth-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=============================================
CMPUT 414 W2022 Project - University of Alberta
Team 7 - Eyes of Sauron
Natalie Iwaniuk, Jamie Powers, Ronan Sandoval
=============================================

Included Files:
- lib : A library of useful webGL functions from kanda and matsuda and Google
- testimages : folder of images that can be used for cloth generation, obtained from Wei Guo
    http://www.icj-e.org/download/ICJE-7-4-38-44.pdf 
- index.html : HTML file to run the render
- project.js : Main JS file with WebGL boilerplate and implementation of cloth generation
- cloth.js : Implementation of cloth object
- mass.js : Implementation of mass object
- spring.js : Implementation of spring object

How to Run:
- Run `index.html` to open a webpage with the cloth render and a user interface.

- An online version is also available on https://applepiesleth.github.io/CMPUT-414-Cloth-Simulation

References:
- Codes in this implementation are referenced with inline comments.
- WebGL libraries taken from "webgl programming guide: Interactive 3D graphics programming with WebGL" by
  Matsuda, K., Lea, R., & Xie, G

About

Implementation and rendering of a Spring-Mass softbody cloth, with generation from images.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published