» 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 | 1416 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

~3d ago

joreg: Workshop on 01 08: Augmented Reality using OpenCV, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-augmented-reality-using-opencv-in-vvvv/

~12d ago

joreg: Workshop on 18 07: Fluid simulations in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-fluid-simulations-in-fuse/

~12d ago

joreg: Workshop on 17 07: Working with particles in FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-working-with-particles-in-fuse/

~22d ago

joreg: Here's what happened in June in our little univvvverse: https://visualprogramming.net/blog/2024/vvvvhat-happened-in-june-2024/

~24d ago

joreg: We're starting a new beginner tutorial series. Here's Nr. 1: https://visualprogramming.net/blog/2024/new-vvvv-tutorial-circle-pit/

~25d ago

joreg: Registration is open for LINK - the vvvv Summer Camp 24! Full details and signup are here: https://link-summercamp.de/

~25d ago

joreg: Workshop on 11 07: Compute Shader with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-compute-shader-with-fuse/

~1mth ago

joreg: Workshop on 27 06: Rendering Techniques with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-rendering-techniques-with-fuse/

~1mth ago

joreg: Workshop on 20 06: All about Raymarching with FUSE, signup here: https://thenodeinstitute.org/courses/ss24-vvvv-all-about-raymarching-with-fuse/

~1mth ago

joreg: vvvv gamma 6.5 is out, see changelog: https://thegraybook.vvvv.org/changelog/6.x.html