dearlordylord / webgpu-gjk

0 stars 0 forks source link

Draft #1

Open dearlordylord opened 1 year ago

dearlordylord commented 1 year 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 1 year ago

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

dearlordylord commented 1 year ago

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

dearlordylord commented 1 year ago

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

dearlordylord commented 1 year ago

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

dearlordylord commented 1 year ago

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

dearlordylord commented 1 year 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 1 year ago

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

dearlordylord commented 1 year ago