Files
Miguel Ángel 5ffc3effa7 fix(engine): warm-up seek after session init to prevent parallel worker flash frames
When parallel workers each load a page independently, the first frame
captured by a worker could show an uninitialized WebGL render state —
typically a single flash frame with wrong 3D object orientation or
missing MeshPhysicalMaterial transmission effects. This happened
because the Three.js transmission pipeline needs at least one prior
render to populate its internal render targets.

Fix: after session initialization (page ready, fonts loaded, videos
ready), perform three warm-up seeks via the __hf protocol before
marking the session as initialized. The seeks prime the page's
render pipeline at t=0, t=duration/2, and t=0 again, ensuring WebGL
buffers and transmission render targets are fully initialized before
real frame capture begins.

Affects both screenshot and beginFrame capture modes.
2026-05-05 09:11:26 -07:00
..
2026-05-05 04:41:23 +00:00
2026-05-05 04:41:23 +00:00
2026-05-05 04:41:23 +00:00
2026-05-05 04:41:23 +00:00
2026-05-05 04:41:23 +00:00
2026-05-05 04:41:23 +00:00