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

~2d ago

joreg: Workshop on 22 02: Unlocking Shader Artistry: A Journey through ‘The Book of Shaders’ with FUSE. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-12-book-of-shaders/

~13d ago

joreg: Talk and Workshop on February 15 & 16 in Frankfurt: https://visualprogramming.net/blog/vvvv-at-node-code-frankfurt/

~14d ago

woei: @Joanie_AntiVJ: think so, looks doable

~15d ago

xd_nitro: Anyone remember who increased projector brightness by removing some components that product the color?

~15d ago

Joanie_AntiVJ: This looks super interesting (vectors over network) would anyone here know how to implement this in beta? https://github.com/madmappersoftware/Ponk

~22d ago

joreg: Workshop on 01 02: Data Sensing and Logging with Arduino Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-09-data-sensing-and-logging-with-arduino-and-vvvv/

~27d ago

domj: I've added myself to vvvv specialists available for hire See at the bottom, lmk if you want to collab or in need of tutoring! ❤️

~1mth ago

joreg: Workshop on 25.01: Create Sequencers and Precise Clock Based Tools. Signup here: https://thenodeinstitute.org/courses/ws23-vvvv-08-create-sequencers-and-precise-clock-based-tools-in-vvvv-gamma/