Verlet physics engine demo
Community Forums/Showcase/Verlet physics engine demo
| ||
Just put together my current verlet physics system into a small zip. get it here: www.freewebs.com/botbuilder/downloads.htm Only 16K! Although if my site doesn't work, I probably ran out of bandwidth, as I only got 100Mb. E1 and E2 are just basic physics example E3 is a cube colliding with mathamatical spheres E4 sux. it's a flat cloth colliding with a flat ground. E5 has potential. change the second parameter of "vcloth" to 6 E8 is a cool snake demo. yep. 100 verlets runnin fast. works with 1000 if you have a fast machine. I shoulda included the cloth on sphere demo but I was lazy. Maybe next demo. |
| ||
very nice man very nice indeed :D |
| ||
thank you. I think I'll compile some cooler examples.... post um up on the board since their tiny. |
| ||
Thank you for sharing |
| ||
That cloth example is cool |
| ||
Graphics3D 640,480,0,2 Dim RetV2.verlet(25,25) Include "cam code.bb" Include "verletlib.bb" Include "verlet entities/cloth.bb" Include "worlds/quad box.bb" s.sph_col=csph.sph_col(root_group,-30,-160,-30,30,-100,30) so=CreateSphere() ScaleEntity so,30,30,30 PositionEntity so,0,-130,0 r=MilliSecs() SeedRnd 1 st1.structure=vcloth.structure(10,10,5) repetitions st1,4 PositionEntity cam,0,-50,-200 While Not KeyHit(1) update dophysics positionreps docam RenderWorld Flip Wend here's a much better cloth example. please note that this is real time physics, and when you have a slow computer, or alot of stuff runing, the results are unsatisfactory. sometimes the cloth actually goes through the sphere. |
| ||
Very nice stuff :) The main thing stopping people using this stuff is the ease of use and cage building. |
| ||
an editor would be nice for cage building... i do hope u finish this, as this will definetly be one of the best stuff happening for blitz |
| ||
Yeah. Once I get all my stuff working properly, perhaps integration into singularity, I'll Definitly work on a cage editer. I remember one guy had somthing kinda like a cage editer. Only worked for objects that are cylindrical around the x/z axis though. Hmm. Actually I don't see to much for stopping me from making one now. I would like to make it look pretty with say, BlitzUI or somthing. |