Overview

This project revolved around simulating cloth. How to create a realistic cloth with stretch and pull, and one that collides with the world and itself.


Part 1

No Shear

Only Shear

All


Part 2

A low damping causes the cloth to bounce back.

Low density and high ks causes the cloth to look close to a square.

High density and low ks causes the top to sag more

Pinned4


Part 3

Ks = 5000

Ks = 500

Ks = 50000

The difference between these results can be best described as the stiffness of the cloth. A higher ks causes the cloth to reach farther outward, while the lower ks can better surround the sphere more closely and thus falls lower.

So sleepy


Part 4

Early collision

More folding

All better

I will be plane

A higher ks or lower density causes the cloth to fold outwards more, while a lower ks or higher density collapses more vertically until it is crushed into the floor.


Part 5

All                                        Ambient lighting

Diffuse Lighting                        Specular Lighting

Texture mapping

Bump map

16 x 16                                128 x 128

Mirror