‹ BackHN Continuity

Thread

SDF vs. MSDF vs. Slug: GPU Text Rendering

180 points · 72 comments · ibobev

  1. seanw265 · · focus · HN ↗
    Interesting read. Text rendering techniques have always fascinated me.

    I'm a bit confused because at some points it seems like the author is conflating "tessellation" and "Rive". Are they the same thing? As an uneducated reader, my understanding would be that Rive is an implementation of a renderer using the tessellation approach. But surely a generic tessellation approach could support perfect arbitrary transformations even if Rive doesn't?

    Maybe there's something I'm missing.

    Also, a nitpick: in the "head to head" section, the author highlights Slug's better performance in green for the entries that it wins (or ties). For the sake of fairness, shouldn't we highlight the winners in every category? Surely Rive's "low" memory usage beats Slug's "moderate"?

    1. exDM69 · · focus · HN ↗
      > But surely a generic tessellation approach could support perfect arbitrary transformations

      Yes, but at typical font sizes this generates a lot of tiny triangles (0 to few pixels) which perfoms badly on GPUs.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.