I still need to calm down and systematically organize my game engine knowledge, jotting down some notes as I go.
Engine Overview
| Perspective | One-line Definition | Keywords |
|---|---|---|
| Technical perspective | The underlying framework for building “The Matrix” | Matrix Foundation |
| Productivity perspective | A toolchain that turns creativity/imagination into industrialized production | Creative Pipeline |
| Systems perspective | The art of complex compromise under limited compute + real-time constraints | Real-time Complexity |
Engine History
- 1960-80s: No engine concept; cartridges/arcade boards were burned directly; complete games were built within 40 KB.
- 1990: John Carmack first extracted reusable modules from Wolf3D → Doom, and the term “Game Engine” was born.
- 1996: Graphics cards appeared; the Quake engine + OpenGL established the 3D + networked architecture.
- 2000-10: Console generations iterated; compute increased 200,000x → code size grew from 10 K → 10 M lines; dedicated middleware emerged (Havok-Physics, FMOD-Sound, SpeedTree…).
- 2010-now: Commercial engines formed a three-way rivalry (UE/Unity/in-house); engines became infrastructure, spilling over into film/TV, simulation, digital twins, and the metaverse.
Engine Architecture
| |
Graphics is only a small part of it; the engine ≠ rendering.
Course Structure
- Engine fundamentals and layered thinking (this section)
- Real-time Render Pipeline (Forward/Deferred/transparent sorting/mobile optimization)
- Animation system (Clip→Blend→IK→Motion Matching)
- Physics and collision (rigid body→particles→cloth→vehicles; performance budget)
- Gameplay architecture (Entity-Component, events, scripting, visual programming)
- VFX & particles (GPU Sprite, Niagara concepts)
- AI and Pathfinding (NavMesh, Behavior Tree, perception, Crowd)
- Camera/3C (Character-Camera-Control)
- Toolchain design (Reflection, Serialization, data compatibility, plugin mechanism)
- Multithreading and task systems (Job System, Data-Oriented)
- Network synchronization basics (Lockstep, State Synchronization, prediction, lag compensation)
- Open world and streaming (World Partition, HLOD, PCG)
- Global illumination and real-time ray tracing (SSGI, Lumen, RTX)
- Frontier topic 1: Motion Matching + machine learning animation
- Frontier topic 2: Procedural generation (PCG) + city/terrain
- Frontier topic 3: Data-oriented architecture (ECS) and the limits of engine performance
- Mini-engine practical course (code walkthrough: Update loop→module breakdown)
Recommended Materials
Main book: “Game Engine Architecture” 4th edition (English) / 3rd edition (Chinese) Supplementary: Games101 (graphics), Games103 (physics), Games202 (advanced rendering)
Chapter Summary
- An engine is the art of compromise under real-time constraints.
- Algorithms account for only 10%; the remaining 90% is tools, data, collaboration, and compatibility.
- Update() is the engine’s “Big Bang” entry point—follow it to trace any engine.
- To build engines, learn to build tools first; the users are artists and designers first, programmers second.
- Changing the engine while the plane is flying—and not letting the plane fall—that’s live iteration.