Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / amazing article on verlet integration (and more)

Author
Message
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 17th Feb 2010 06:59 Edited at: 17th Feb 2010 07:08
I was searching for how to create a 2 dimensional n-body simulation (triggered by my "why is stuff flat" thread), and on a youtube video, this guy basically said "n-body problem, verlet integration, and barnes-hut algorithm" (video in question). I had no clue what the second two were, so I googled. I couldn't really wrap my head around the explanation (of verlet integration) on wikipedia, so I googled more (I even googled with bing XD)

This article cleared up everything and then some: http://www.gamedev.net/reference/programming/features/verletPhys/default.asp

Not only does it make it easy to see what verlet integration, it also discusses verlet, vertex-based objects, and talks about collision detection and response, vertex movement, and rotation.

The first two images on that page cleared up a lot with me. Basically, the common method is called "Euler Integration". You take a step in your program, move your objects, take another step, etc.

(everything being a vector except for the scalar timestep).
opposed to verlet integration:


There's even a demo of everything the guy talks about.

Really awesome article.

[edit]

euler integrations and verlet integrations are not accurate to the actual path objects would take. Look at the images on this page:
http://en.wikipedia.org/wiki/Euler_method


David R
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: 3.14
Posted: 17th Feb 2010 13:21
Wow, I have a book on physics engines etc. in general but it doesn't approach this article in terms of how specific it is / clarity of explanation.

Bookmarked. Thanks for pointing it out

09-f9-11-02-9d-74-e3-5b-d8-41-56-c5-63-56-88-c0

Login to post a reply

Server time is: 2025-05-24 23:48:39
Your offset time is: 2025-05-24 23:48:39