WaitForPresent
WaitForPresent

@WaitForPresent@mastodon.gamedev.place

Making Code go brrrrrrrrr at Keen Games. Previously Shapefarm, Ubisoft.

October 28, 2022

Does anyone know what a good approach is to finding the optimal local transform of a mesh to construct it's BVH? I would assume you'd do something like calculating the average of the face normal weighted by the faces surface area to get the first plane and repeat that in 2D but not sure this really gives an optimal result 🤔

Parallelizing the physics solver by Dennis Gustafson (youtu.be/Kvsvd67XUKw?si=moTxJq) was a really cool talk. Always cool to see how people tackle an optimization Problem. The only thing I fundamentally disagree with is the use of parallel_for. This might look really innocent but will starve the CPU after each iteration and while not a lot of time seems to be lost per iteration you also have ramp-up/down costs of the threadpool. Used without care this ends up in a death by a thousand cuts scenario.

Dennis Gustafsson – Parallelizing the physics solver – BSC 2025 - Dennis Gustafsson – Parallelizing the physics solver – BSC 2025

YouTube

Dennis Gustafsson – Parallelizing the physics solver – BSC 2025

Elk Logo

Welcome to Elk!

Elk is a nimble Mastodon web client. You can login to your Mastodon account and use it to interact with the fediverse.

Expect some bugs and missing features here and there. Elk is Open Source and we're actively improving it as a community project. Join us and let's build it together!

If you'd like to report a bug, help us testing, give feedback, or contribute, reach out to us on GitHub and get involved.

To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!

TAKAHASHI ShuujiJoaquín SánchezAnthony FuPatakDaniel Roe三咲智子 Kevin Deng

The Elk Team