Author |
Message |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
Posted: Sun May 17, 2009 11:23 pm Post subject: Physics Simulation Using Verlet Integration [WIP] |
|
|
I am planning on making a complete constraint based rigid and possibly soft body physics engine based on Verlet Integration.
So far I have a fairly complete 2D vector class and a basic particle class with the main integration formula.
I know Turing is a bad choice for this speed wise, but the only other graphics library I am familiar with is SDL, and I don't want to be struggling with both things at the same time.
I am in grade 11 and didn't know the first thing about vectors or anything like that until I started reading about this a few weeks ago.
Everything is based off of the 3D version of this found here.
It is quite boring looking right now. But if anyone with any knowledge about this kind of stuff takes a look at it, I would like to know if I am doing it right
So here it is. The next thing I plan to do is creating a solid object by making simple constraints between the particles.
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Verlet.zip |
Filesize: |
1.46 KB |
Downloaded: |
348 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
saltpro15
![](http://compsci.ca/v3/uploads/user_avatars/9776171634ced6278d14c2.png)
|
Posted: Mon May 18, 2009 3:34 pm Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
cool, hope it goes well
|
|
|
|
|
![](images/spacer.gif) |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
Posted: Mon May 18, 2009 3:37 pm Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
Anyone know anything about vectors and such care to comment?
|
|
|
|
|
![](images/spacer.gif) |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
Posted: Mon May 18, 2009 9:42 pm Post subject: Re: Physics Simulation Using Verlet Integration [WIP] |
|
|
Update
Now with an object class and simple constraints with a small demo.
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Verlet.zip |
Filesize: |
2.96 KB |
Downloaded: |
144 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
Posted: Tue May 19, 2009 6:09 pm Post subject: Re: Physics Simulation Using Verlet Integration [WIP] |
|
|
[Update]
You can now make your own shapes using the shape class using addVertice and addConstraint.
I have also added a rectangle class for easy creation of rectangles.
Description: |
|
![](http://compsci.ca/v3/pafiledb/images/icons/clip.gif) Download |
Filename: |
Verlet.zip |
Filesize: |
4.22 KB |
Downloaded: |
209 Time(s) |
|
|
|
|
|
![](images/spacer.gif) |
tenniscrazy
![](http://compsci.ca/v3/uploads/user_avatars/16168420744a9c16d226a1c.jpg)
|
Posted: Wed May 20, 2009 11:51 am Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
thats very cool, it seems realistic as far as i can tell with changing what i could make sense of. Is there any way to change the elasticity of the object?
I look forward to the mouse interaction
|
|
|
|
|
![](images/spacer.gif) |
saltpro15
![](http://compsci.ca/v3/uploads/user_avatars/9776171634ced6278d14c2.png)
|
Posted: Wed May 20, 2009 5:15 pm Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
very cool! the frame rate lags just a bit on my computer, not much, but just enough for some trailing to be evident. other than that it's excellent, can't wait for mouse interaction!
ps. hope you're enjoying those 650 bits
|
|
|
|
|
![](images/spacer.gif) |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
Posted: Wed May 20, 2009 7:33 pm Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
Right now the constraints act only as infinitely stiff springs.
|
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
leafs23
|
Posted: Wed May 20, 2009 7:42 pm Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
cool program
|
|
|
|
|
![](images/spacer.gif) |
singeroi
|
Posted: Sat May 23, 2009 5:09 am Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
make that really really cool im trying it out, good thing i stumbled on this..
simulation assurance vie
|
|
|
|
|
![](images/spacer.gif) |
zero-impact
![](http://compsci.ca/v3/uploads/user_avatars/872397874480c7089d4888.gif)
|
|
|
|
![](images/spacer.gif) |
katherine04
|
Posted: Thu May 28, 2009 12:05 pm Post subject: Re: Physics Simulation Using Verlet Integration [WIP] |
|
|
thanks for the thread, zero-impact!
simulation rachat de credit
|
|
|
|
|
![](images/spacer.gif) |
cricky
|
Posted: Thu Jul 23, 2009 11:19 am Post subject: RE:Physics Simulation Using Verlet Integration [WIP] |
|
|
interesting thanks a lot for this one...
commission de surendettement
- commission de surendettement, vous pouvez demander un dossier de surendettement.
|
|
|
|
|
![](images/spacer.gif) |
|