https://people.xiph.org/~tterribe/notes/edt.html
The resulting code (linked at the end of the page) is a bit more complicated than the standard distance transform, but only by a modest constant factor.
I'm thinking we might make it to 8K screens before that level of coordination happens.
Sub-pixel distance transform - https://news.ycombinator.com/item?id=36809404 - July 2023 (31 comments)
I see no H.
Edit: oh wow. I missed that one.
SDFs are for some reason riddled with false beliefs. Earlier this year it drove me nuts to learn that boolean operations for SDFs are not correct
The goal isn't boolean operations over distances themselves, because as you point out that makes no sense. What you often want though is boolean operations over the surfaces the functions are returning the distance to. For example, you have one function that gives the distance to the surface of a sphere, and another that gives the distance to the surface of a cube, and you want to AND them, to get a function that gives you the distance to whichever surface is closer. That explanation probably doesn't make any sense, so just check out the page I linked which has some great visualizations.
They're not?