COS426 Assignment 5 Cloth Simulation — Writeup
Switch to: Simulation
that all images in this writeup were generated directly by my solution code or provided by the course staff (exception: art contest submissions may pass through intermediary software like GIMP)
that no other student has viewed my writeup explanations or my writeup images
that my solution code is my own work; particularly that my solution was not copied from any other student's solution code, and that no other student copied their solution directly code from me
that I did not discuss assignment specifics or view the solution code of any other student besides that of my (optional) partner
that I have followed all other course collaboration and course plagiarism policies as written on the course website.
YOUR NAME HERE (your-netid-here)
Collaborated with: PARTNER NAME HERE (partner-netid-here)
Table of Contents
- (0.5) Event listeners
- (1.0) Cloth
- (1.5) Constraints
- (1.0) Gravity
- (1.5) Verlet integration
- (0.5) Floor collision
- (1.5) Sphere collision
- (1.5) Box collision
- (1.0+) Extensions
- (1.0+) Art Contest
Event Listeners
Briefly describe your implementation of adding event listeners to the scene. In particular, list all of the keys that you have bound to an action, and briefly describe the action, as below:
- "ArrowUp": Move the looked-at particle upwards.
Cloth
Briefly describe your implementation of building the cloth out of particles and springs.
Constraints
Briefly describe how you enforced the constraints between particles within the cloth.
Gravity
Briefly describe how you accounted for the force of gravity acting on the cloth.
Verlet integration
Briefly describe how you implemented Verlet integration in order to compute new particle positions.
Deliverable (click me): Please include an image of your cloth (not wireframe) with "Corners" pinned and no objects in the scene in its
final resting state, to demonstrate that your cloth updates its particle positions properly over time.
Floor collision
Briefly describe how you handled floor collisions.
Deliverable (click me): Please include an image of your cloth (not wireframe) with "OneEdge" pinned and no objects in the scene in its
final resting state, to demonstrate that your cloth does not clip through the floor.
Sphere collision
Briefly describe how you handled sphere collisions.
Deliverable (click me): Please include an image of your cloth (not wireframe) with "OneEdge" pinned and the sphere object in the scene
in a resting state. Increase the size of the cloth to 700 so that it remains draped over the sphere.
Box collision
Briefly describe how you handled box collisions.
Deliverable (click me): Please include an image of your cloth (not wireframe) with "TwoEdges" pinned and the box object in the scene
in a resting state. Increase the size of the cloth to 700 so that it remains draped over the box.
Extensions
Briefly describe any extensions that you chose to complete. Please include images and/or videos as necessary so that we can see what you've done!
Art contest
Briefly describe your submission to the art contest. Please include images and/or videos as necessary so that we can see what you've done!