View Full Version : Verlet integration ?

 Polimeno06 June 2008, 11:21 PMcan anyone explain me what exactly it does ??? and if possible, show a simple formula to start playing in MXS. references : http://www.vimeo.com/1101897 http://www.d3coy.com/downloads/Realtime%20Maxscripted%20Physics.rar http://www.d3coy.com/gallery.htm ps: if someone have more references, please, post !
loocas
06 June 2008, 07:15 PM
can anyone explain me what exactly it does ???

and if possible,
show a simple formula to start playing in MXS.

references :

http://www.vimeo.com/1101897

http://www.d3coy.com/gallery.htm

ps:

if someone have more references, please, post !

The Verlet formula helps you to calculate "particle" position at time with forces, such as velocity, gravity etc... in mind. As a result of this, you can "simulate" dynamics in real-time. Just like d3coy demonstrates on his blog on the three bells. A very nice demo, btw.

Btw: by "particle", I actually mean a point in space. It can be a vertex, it can be an actual particle or even a point helper, or whatever, since you'll be calculating values for X, Y and Z coordinate, which, in turn, gives you the complete Point3 position value (in Max language) for your object.

Polimeno
06 June 2008, 09:44 PM
EDIT:

cool.... do you know how to use it ?

researchs :

http://www.teknikus.dk/tj/gdc2001.htm
http://www.codeproject.com/KB/GDI-plus/PolygonCollision.aspx?print=true
http://www.gamedev.net/reference/programming/features/verlet/
http://www.fisica.uniud.it/~ercolessi/md/md/node21.html (http://www.fisica.uniud.it/%7Eercolessi/md/md/node21.html)
http://forums.cgsociety.org/search.php?searchid=431864
http://features.cgsociety.org/story_custom.php?story_id=4026&page=2
http://processing.org/discourse/yabb_beta/YaBB.cgi
http://www.win.tue.nl/dynamo/publications/aynif.pdf
http://www.peroxide.dk/papers/collision/collision.pdf
http://spench.net/drupal/software/verlet
http://www.grc.nasa.gov/WWW/K-12/airplane/conmo.html
http://www.harveycartel.org/metanet/tutorials/tutorialA.html
http://www.myphysicslab.com/collideSpring.html

Polimeno
06 June 2008, 10:01 PM
good ones:

http://www.gamasutra.com/resource_guide/20030121/jacobson_01.shtml

"
standard verlet integration x’ = xt1
xt1 += (xt1 – xt0) + a . dt
xt0 = x’

"

http://www.gamedev.net/community/forums/topic.asp?topic_id=201766

i tried to understand and translate, but i don´t have enough knowledges to do that yet.........=S

could someone show me a little standard formula to test inside MXS ??

loocas
06 June 2008, 10:13 PM
EDIT:

cool.... do you know how to use it ?

researchs :

http://www.teknikus.dk/tj/gdc2001.htm
http://www.codeproject.com/KB/GDI-plus/PolygonCollision.aspx?print=true
http://www.gamedev.net/reference/programming/features/verlet/
http://www.fisica.uniud.it/~ercolessi/md/md/node21.html (http://www.fisica.uniud.it/%7Eercolessi/md/md/node21.html)
http://forums.cgsociety.org/search.php?searchid=431864
http://features.cgsociety.org/story_custom.php?story_id=4026&page=2
http://processing.org/discourse/yabb_beta/YaBB.cgi
http://www.win.tue.nl/dynamo/publications/aynif.pdf
http://www.peroxide.dk/papers/collision/collision.pdf
http://spench.net/drupal/software/verlet
http://www.grc.nasa.gov/WWW/K-12/airplane/conmo.html
http://www.harveycartel.org/metanet/tutorials/tutorialA.html
http://www.myphysicslab.com/collideSpring.html

Nice finds, thanks ;)

As for an actual MXS code, I'll be doing some R&D in this field soon, so I'll come back and post my results when they're done. At the moment, I only have a few snippets which, alone, aren't of much use.

Basically, what it all the formuals say is that you're calculating a position of an object (a Point3 value in Max) in time. The current time, for which you calculate the whole formula, is marked with a letter "t", the time step is marked with a "Dt" (D meaning the triangle, which reads Delta, meaning "offset"). So you step back and forth in time (which is possible in Max as you already know where the object is, was and will be thanks to the animation curves) and calculate given properties.

In the end, this whole Verlet Integration forula will result in an real-time dynamics simulation, very primitive though, but you can work on off of that and build extremely complex systems with this knowledge.

As I said, I'll be doing some R&D in this field soon, so I'll come back if you haven't figured it out by then.

CGTalk Moderation
06 June 2008, 10:13 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.

1