~/talk

High Performance Graphics and Text Rendering on the GPU

Talkat Meeting C++ 2019 · 2019-11-14..11-16· [creative-coding]
links:none on file
links:none on file
slides:none on file

Demo shows crisp, scalable text rendered entirely on the GPU using CS paint, which wraps Vulkan (using the Vulkan C++ bindings) and GLM; text uses a small fragment shader that samples a texture produced by a multi-channel signed distance field, computes a median of three channels and smoothstep to produce sharp outlines at any scale. Source, demo and build scripts live on GitHub, Latin-1 atlas generation runs ~250 ms, MoltenVK enables macOS, and planned work includes HarfBuzz integration and on-the-fly glyph atlas creation.

AI-written summary · about

  1. 0:00Start
  2. 8:17showing how fonts scale
  3. 14:03start at the very beginning of a vulcan
  4. 28:13scaling up text on the cpu
  5. 34:30set up a smoothing constant
  6. 50:00creating the distance field textures on the fly
  7. 52:20generate geometry for each individual glyph
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.