Brain-Score 95/100 TECH Brendan Galea · 13:20

The Math behind (most) 3D games - Perspective Projection

3-Second Blueprint (English)

  1. Orthographic projection centers the near plane at the origin and scales [l,r], [b,t], and [n,f] into Vulkan's canonical box.
  2. Perspective projection sets homogeneous w = z for perspective division while mapping z non-linearly to preserve depth ordering.
  3. Vertical field of view (n * tan(theta/2)) and window aspect ratio parameterize the frustum into the final perspective matrix.
Perspective MatrixHomogeneous CoordinatesVulkan Clip SpaceView Frustum

3-Sekunden-Fazit (Deutsch)

  1. Orthografische Projektion zentriert die Near-Ebene im Ursprung und skaliert [l,r], [b,t], [n,f] in Vulkans kanonisches Volumen.
  2. Perspektivprojektion setzt homogenes w = z für die Perspektivdivision und bildet z nichtlinear ab, um Tiefenwerte zu erhalten.
  3. Vertikales Sichtfeld (n * tan(theta/2)) und Seitenverhältnis bestimmen die Kegelstumpf-Grenzen der finalen Perspektivmatrix.
PerspektivmatrixHomogene KoordinatenVulkan Clip SpaceSichtkegelstumpf

Note / Hinweis: Blueprints are AI-generated educational summaries (0% Politics · 0% Religion · 0% Brainrot) and do not constitute medical, legal, or financial advice. / KI-generierte Zusammenfassung zu Bildungszwecken – ersetzt keine medizinische, rechtliche oder finanzielle Fachberatung.