Abstract
Code world models, where coding agents or 3D programs construct a scene and explore it along a camera path, require specifying both how a world evolves across views and what each instance looks like. Existing renderers guide layout and camera motion with geometric proxies (such as depth maps, 3D boxes, or coarse meshes), assuming that the opening frame and text suffice to define appearance. This assumption breaks once exploration uncovers regions outside the initial view: newly emerging objects are absent from the opening frame, and neither coarse geometry nor text can specify exact visual identities, especially across multiple same-category instances. We present Ref-Renderer, which unifies time-varying structural proxies into a geometry flow and couples it with an independent bank of cached appearance assets. Because the continuous geometry flow already governs cross-frame motion and occlusion, we avoid warping references into a per-frame video canvas that ties encoding to one trajectory, scales tokens with duration, and limits viewpoint adaptation. Instead, each asset claims its proxy via a single-frame anchor, mapping continuous coordinates into the target box in the backbone's native 3D RoPE space via unmodified joint self-attention. Decoupling appearance tokens from clip length enables modular asset editing and elastic latent readout across inference-time token budgets. On 266 real clips, Ref-Renderer matches a dense per-frame canvas in reference fidelity with 38times fewer appearance tokens, while achieving accurate camera control from coarse geometry alone. Project Page: https://aawangas.github.io/ref-renderer/.