dearlordylord / webgpu-gjk

0 stars 0 forks source link

Draft #1

Open dearlordylord opened 2 years ago

dearlordylord commented 2 years ago

modules needed:

renderer

math model

profiler

Recommendation

Write a 2d math model with a test suite first. It's hopefully would be enough to leverage GPU and to see the difference; we can grow from there

dearlordylord commented 2 years ago

https://surma.dev/things/webgpu/

dearlordylord commented 2 years ago

https://github.com/gfx-rs/wgpu

dearlordylord commented 2 years ago

https://github.com/Sopiro/Physics/blob/45f70c41ea1792e1eb86c0090055483ed7903beb/src/detection.ts

dearlordylord commented 2 years ago

https://cse442-17f.github.io/Gilbert-Johnson-Keerthi-Distance-Algorithm/ great visual no source code

dearlordylord commented 2 years ago

https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=5951

dearlordylord commented 2 years ago

"The GJK algorithm can also be combined with the EPA algorithm (Expanding-Polytope Algorithm) to determine penetration depth [van den Bergen 2004]"

dearlordylord commented 2 years ago

https://github.com/bulletphysics/bullet3/blob/master/docs/GPU_rigidbody_using_OpenCL.pdf

dearlordylord commented 2 years ago