| ▲ | Periodic Spaces(ianthehenry.com) | |||||||||||||
| 42 points by surprisetalk 7 days ago | 8 comments | ||||||||||||||
| ▲ | ghusbands 2 days ago | parent | next [-] | |||||||||||||
A simpler way: You can avoid sampling neighbours by clamping the ray-march step so it never moves further than the current cell's boundary (plus a tiny epsilon). That way, you only cross into adjacent cells at the edge and avoid the 8 to maybe 26 extra SDF samples. (This only works if the geometry is entirely contained within each cell.) | ||||||||||||||
| ▲ | kscarlet 2 days ago | parent | prev | next [-] | |||||||||||||
Cool language! What language and library is this? | ||||||||||||||
| ||||||||||||||
| ▲ | omnicognate 2 days ago | parent | prev | next [-] | |||||||||||||
What's an SDF? | ||||||||||||||
| ||||||||||||||
| ▲ | NKosmatos 2 days ago | parent | prev | next [-] | |||||||||||||
Just opening this page is a "heavy" benchmark for your PC/browser :-) | ||||||||||||||
| ▲ | yakbarber 2 days ago | parent | prev [-] | |||||||||||||
Huh | ||||||||||||||