~/talk

Intro to 3D Graphics

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [creative-coding, web-performance]
links:none on file
slides:none on file

A compact C++ renderer replaces Unity/Unreal: 1,500 lines produce a 56k executable that implements 4x4 matrix transforms, model→world→view→screen pipeline, rasterization, per-pixel depth buffer and texture mapping without a GPU. It runs single-threaded at about 30 million pixels per second (~30 FPS at 1080p), demonstrates the perspective interpolation error (derivative discontinuity), shows simple fixes, and sketches tradeoffs and multithreading approaches for rasterization and memory-copy costs.

AI-written summary · about

  1. 0:00Introduction to 3D concepts
  2. 5:42Points, vectors, and matrices
  3. 9:18Programming 3D math structures
  4. 12:08Matrix transformation operations
  5. 16:14Combining transformations
  6. 18:29Meshes and surfaces
  7. 22:27Coordinate space pipelines
  8. 26:38Viewports and projection
  9. 33:11Mapping textures and windings
  10. 37:13Rasterization and depth buffers
  11. 43:38Handling perspective errors
  12. 48:14Demo and visualization
  13. 55:49Optimizations and conclusion
~/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.