» Sphere physic Dx11
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Sphere physic Dx11

effect
Credits: http://stackoverflow.com/questions/345838/ball-to-ball-collision-detection-and-handling

about

Basic physic engine with static and dynamic sphere, ported from here http://stackoverflow.com/questions/345838/ball-to-ball-collision-detection-and-handling
you can't really stack sphere as they become instable , also if the sphere move to fast the collision might be miss... both of this might be fix by using continuous collision detection and finnally note that the sphere are not rotating...
You can actually get the colliding sphere id back with readback from buffer...

download

SpherePhysics.zip
15.08.14 [02:58 UTC] by sanch | 1322 downloads
simple physic simulation with sphere

jjjj 13/06/2016 - 17:51

Hi Sanch, Any idea on how to make the spheres stack on each other? you mention something about continuous collision, can you give me a hint on how to do this in the shader?

Thanks,
jjjj

sanch 16/06/2016 - 10:33

Hi, i did try several time and fail at having a stable system, i'm afraid i can't help...

anonymous user login

Shoutbox

~7d ago

Joanie_AntiVJ: I have an issue with some reflection calculations, any vector expert may know the secret of mirrors ? :) https://discourse.vvvv.org/t/help-to-mirror-a-vector/20523/4

~7d ago

Joanie_AntiVJ: I have an issue with some reflection calculations, any vector expert may know the secret of mirrors ? :) https://discourse.vvvv.org/t/help-to-mirror-a-vector/20523/4

~17d ago

joreg: @LCA remember that we also provide custom support for commercial projects: https://visualprogramming.net/#Support

~18d ago

LCA: where to ask about hardware setups: VL application over 26 1080p displays. maybe also with FUSE

~25d ago

tonfilm: @tobyk there is also this, who wants to win: https://bottosson.github.io/posts/oklab/

~1mth ago

tobyk: LCH is the best color space, all the other color spaces are now big losers. https://atmos.style/blog/lch-color-space

~1mth ago

schlonzo: "HowTo Work with Children" somehow I expected something else :D

~2mth ago

fleg: This Tuesday, Cologne: exhibition opening of "interwoven", textile disinformation patterns created with vvvv. https://fleg.de/news/exhibition-interwoven