Game Visual Lab
Lecture 8 — Game Assets
GPU: 2D
🗺️
Asset box graph — a whole game install at a glance Slides 5–23

The area of each box is its byte size; colour is the asset type (static models and animation are separate, so .nif/.mdl sits apart from .kf/.lip/.egm/.vcd). Click a category or extension to zoom; switch Group by to pack to pivot the same bytes by archive/container. Hover for the path, logical URI and source pack. Load an index produced by scripts/index_game.py to replace the demo with Portal 2, Half-Life 2, Oblivion, Morrowind or Baldur’s Gate.

files — size — archives —
Game
Server indexes load on demand · metadata only
Group by
demo data · drag an index JSON onto the graph
Packs

The tab starts with synthetic Portal 2, Oblivion and Baldur’s Gate II entries. Run python3 scripts/index_game.py /path/to/game --out index.json, then load the JSON here. BSA/VPK/ESP/BIF contents are indexed; payloads are never extracted. Entries carry a logical URI and pack note, not a copy of the asset.

✂️
UV unwrapping — paint the atlas, rotate the cube Slide 15

The six faces are laid out as a cross on the right. Draw on any face and the three.js cube updates; drag the cube to rotate it. The labels and grid show how the atlas maps onto the model.

Mode
18
Colour
drag the cube to orbit
The cube (three.js)
Unwrapped atlas — draw here