WebGL2 viewport
GPU depth testing, a quad wireframe, a ground grid and colour-ID picking.
The viewport is a WebGL2 renderer. It uses a GPU depth buffer, draws a Maya-style quad wireframe, and puts the ground grid under the scene.
The camera orbits, pans and zooms, and switches between perspective and orthographic views. The toolbar sets the selection mode, the transform tools and the snapping targets. Picking renders object and face IDs into an off-screen buffer, so a click can select a face on a dense mesh.
Some work is still open. Geometry buffers are rebuilt every frame instead of only after a topology change, per-vertex normal shading is not finished, and the selection highlight has no separate pass. The 1M-face and 60 FPS targets are not validated yet, and content thumbnails are still generated on demand rather than in a headless job.
The renderer is in src/ui/editor/webgl_renderer.js. Moving it into src/renderer/ is part of the same cleanup.