My curtain, but not my credits
September 12th, 2008 • demo, flash, general, lab, papervision3d, wow
The real tricky coding was done by http://www.clublime.com. But his demo is down for some reason. So I just changed his cloth idea a little to get a really nasty green curtain.
demo and source are here:
http://experiments.alexmil.de/pv3d-curtain/
The idea isn’t verry so tricky at all. The plane is analysed and on everey “corner” (just look on it with applied wireframe material) a “ball” with physics is added. Theses objects will not be rendered. Balls are “wired up” with constraints. When the physics kick in the balls move. Their new position (x,y,z) is also the position of the plane vertices. Hm doesn’t sound simple at all… but it really is. Major problem is – as i explained earlier – the performance on planes with a huge amount of vertices.

just saw a similar experiment here http://justin.everett-church.com/index.php/2008/10/23/flash-player-10-experiment-1-cloth-texture-mapping/
Maybe it’s interesting for you