Dioma on Nostr: #[0] have you heard of gjk/epa? Doesn't solve the tunneling issue, but it's a robust ...
Published at
2023-04-27 20:38:40Event JSON
{
"id": "ed72378038612f59fc46642dadf844ccd79c69f983a41178301a978d55f9ce6e",
"pubkey": "4372de9911e892f39c56c41e5789cb37d587d98ed2642235b7a87c6cb7887eaf",
"created_at": 1682627920,
"kind": 1,
"tags": [
[
"p",
"d540295588183537c015bb197bb408de3c37f917bd9855eb357d41b06f7e331b",
"wss://relay.mostr.pub"
],
[
"e",
"f7db2fd3938b2a6ef43d27a4a63eab2ee764829620d15c8370d8787a9df4a9b8",
"wss://relay.mostr.pub",
"reply"
],
[
"mostr",
"https://kiwifarms.cc/objects/b840bf6a-278c-4353-8e8b-c3abd5d1beb8"
]
],
"content": "#[0] have you heard of gjk/epa?\nDoesn't solve the tunneling issue, but it's a robust algorithm to resolving colission between all kinds of primitives. (every shape that you can write a closest point to algorithm)\n\nI've implemented those for my own engine based on these articles before doing something simpler for the voxel engine. The code is all there. Worth checking out. \n\nhttps://blog.winter.dev/2020/gjk-algorithm/\nhttps://blog.winter.dev/2020/epa-algorithm/",
"sig": "6e88bda617c8e82e0db6fce66d57daf18b4567bde7c18733a9f880d64d56f105ebe4eebd85b23d50570adc1d70dc831683c359da458f2368d7ecba05793949c8"
}