logoalt Hacker News

Periodic Spaces

34 pointsby surprisetalk12/03/20258 commentsview on HN

Comments

ghusbandslast Tuesday at 10:58 AM

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.)

NKosmatoslast Tuesday at 10:57 AM

Just opening this page is a "heavy" benchmark for your PC/browser :-)

kscarletlast Tuesday at 8:49 AM

Cool language! What language and library is this?

show 2 replies
omnicognatelast Tuesday at 11:45 AM

What's an SDF?

show 1 reply
yakbarberlast Tuesday at 8:28 AM

Huh