in the discription: "A physics simulation project in OpenGL/GLSL for my MSc, featuring cloth, a jelly, and many balls..." so your video includes many balls!! xD
BVH is not well suited to partial updates, as you need to update the whole tree. Sweep 'n' prune on the other hand enables you to performe the structure update much faster and updating only the elements you need. If you read about it a bit more you'll understand it better.
I'm not sure about that. There seem to be efficient schemes to update a BVH. I think the default broadphase of the bullet physics engine uses one (I think two actually one for the static and one for the dynamic bodies). And IIRC they even accelerated it on the gpu using opencl. The link to the source doesn't work anymore. What did you use for sorting (for the sweep and prune)?
Bullet has 2 options, sweep'n'prune and a 'dynamic AABB tree' which supports fast updates/insertions/deletions which definitely makes sense for the broad phase. GPU acceleration will be very interesting, although highly experimental as OpenCL is barely out. Fileden is down so no data unfortunately.. I used std::sort for sweep'n'prune, so nothing really interesting there
Balls to you!
p5qlse 10 months ago
in the discription: "A physics simulation project in OpenGL/GLSL for my MSc, featuring cloth, a jelly, and many balls..." so your video includes many balls!! xD
flaffy9000 1 year ago
how did you run theses files?
j1d22 1 year ago
Was there a reason for not using the BVH in the broadphase?
veers0r 1 year ago
BVH is not well suited to partial updates, as you need to update the whole tree. Sweep 'n' prune on the other hand enables you to performe the structure update much faster and updating only the elements you need. If you read about it a bit more you'll understand it better.
detheli 1 year ago
I'm not sure about that. There seem to be efficient schemes to update a BVH. I think the default broadphase of the bullet physics engine uses one (I think two actually one for the static and one for the dynamic bodies). And IIRC they even accelerated it on the gpu using opencl. The link to the source doesn't work anymore. What did you use for sorting (for the sweep and prune)?
Thanks for the quick reply, it's appreciated!
veers0r 1 year ago
No problem :)
Bullet has 2 options, sweep'n'prune and a 'dynamic AABB tree' which supports fast updates/insertions/deletions which definitely makes sense for the broad phase. GPU acceleration will be very interesting, although highly experimental as OpenCL is barely out. Fileden is down so no data unfortunately.. I used std::sort for sweep'n'prune, so nothing really interesting there
detheli 1 year ago
Mmm, balls.
Spitfirebird 2 years ago
Wow dude. That frame rate is amazing.
dandymcgee 2 years ago
The balls are inert!
bigfartsmell 2 years ago 4
wow! very well done.
Keinlicht 2 years ago
I touched god looking at this demo.
props. more props if u get that ref. :).
Digital3DG 2 years ago
thats really amazing! I really like the cloth!
omgsomuchppl 3 years ago
is this ur own physics engine? or a physics engine like AGEiA physX?
ConnorEglinton 3 years ago
It's my own, as part of a project.
detheli 3 years ago
Apsogh fusikh thumizei ligo Ageia..
Bilios213 3 years ago