three-kit

Capture and measure

Shooting the mockup page, and reading real frame numbers from it and from the app. Loaded by steps 4 and 5.

Shots

Frame numbers in the app

The page’s readout is the mockup’s cost. The app’s real frame comes from three-audit on the app’s own scene: install its helpers there in dev (installAuditHelpers(scene, { renderer })) if the app doesn’t already, then:

Scene totals

summary() and census() count every mesh in the scene, culled or not: they are the world’s worth, not the frame’s. Use them for counts per geometry and to spot unnamed geometry (CircleGeometry:…, BufferGeometry:…); use ledger() for what a frame really draws.

More of scene-mockups