Cloth Simulation

Blitz3D Forums/Blitz3D Programming/Cloth Simulation

Akat(Posted 2004) [#1]
anyone know how to code for cloth simulation like u can see in most latest game (especially Prince of Persia)?


jhocking(Posted 2004) [#2]
There's cloth simulation in Prince of Persia? Damn, I really have to check that game out.

But, er, you refer to "most" new games. What games have cloth simulation? While it has been a little while since I grabbed a new game, I've never seen cloth simulation in a game. Unless someone knows a super optimzation trick, the minor visual improvement of cloth simulation is not worth the CPU hit.


Akat(Posted 2004) [#3]
ninja turtles...
onimusha 3...
Shinobi...
more...


Skitchy(Posted 2004) [#4]
I'd use Tokamak to build a sort of 'linked grid' and match them to each vertex on the cloth. You could then set the 'stiffness' of the cloth by limiting the joints etc.


fredborg(Posted 2004) [#5]
Have a look here: http://freespace.virgin.net/hugo.elias/models/m_cloth.htm

It's pretty simple!


aCiD2(Posted 2004) [#6]
fredborg: thanks so much for that tutorial! :) you got any other physics tutorials? id like to try verlet simulation - seems simple but im just curious what points i should take into mind before i start work on it.


Bot Builder(Posted 2004) [#7]
Nice verlet tut -> http://www.ioi.dk/Homepages/thomasj/publications/gdc2001.htm

This is the one that I, miracle, andreas_blixt, and probably others used to make their verlet systems.

Hugo elias also has alot of other interesting tutorials:

http://freespace.virgin.net/hugo.elias/

Check out models. that's what you are probably lokkin for.


Moses(Posted 2004) [#8]
Well here an example of a verlet system, i can't remember who did it(it doesn't say anywhere in the source) or where i downloaded it, so here you go: http://www.somethingelsesoft.com/verlet3d-1.15.zip