Conversation

Replying to
Gotcha! I'm curious how L2 and L-infinite spaces compare in terms of step iterations. It seems to me that exact SDFs would not be worth the extra steps in most cases.
1
1
Replying to
I don't know, but intuitively I imagine it takes 1.73x more steps on average? It'd be great if somebody that has actually used Linf for raymarching can confim.
1
2
Replying to
I'd guess that the average would be between 1 and 1.73, but not sure how to integrate that. I'm strongly considering writing Linf ray marcher now
1
1
Replying to
Selfish answer: go for it, we'll all learn a lot from it! (add a L2/Linf switch) But I think might have insights and can tell you without having to do an implementation.
1
2
Replying to and
we went with linf originally purely because ellipsoids, but irrc leaned into it as there was some neat forms for other (simpler) shapes; re step count, we didnt sphere trace so its wasnt a big issue. rather, we start the ray v close to 0 surface anyway, and just ...
1
3
look for the zero crossing with a fairly limited loop 'inside' a brick of 8x8x8 sdf values. the slow pixels are the grazing ones anyway, which is true for Linf as it is for L2. another overlooked aspect of Linf: it has a really strong artistic 'look' under softblend etc
1
8