MANUAL STUDY / MULTIPLE SCENES + ON DEMAND
One canvas. Many clocks.
Multiple scenes share a drawing buffer through viewport/scissor rectangles. On-demand rendering shares an invalidation rule: schedule one frame, then let changes request another.
Preparing scene study—
Creating independent scenes, viewport math, copy targets, and render invalidation…
- family
- —
- views
- —
- policy
- —
- viewport origin
- —
- pending frame
- —
- render calls
- —
- copy targets
- —
- frames
- —
bottom-left framebuffer coordinatesone invalidation → one frame
Scene study failed.The renderer could not initialize.
The local route keeps WebGL as the source of truth. Copy mode creates 2D previews only after each WebGL viewport is rendered; on-demand modes stop the continuous loop and expose the pending-frame coalescer.
THREE.JS FOUNDATIONS / MULTIPLE SCENES + ON DEMAND