Hi everyone,
Is it possible to record offscreen part of the scene to video, or capture as image? I’ve tried the following:
-
Offscreen canvas, but it doesn’t support record video. I searched forum that seems capture screenshot is possible with a hack (like setting an internal variable first), but I followed and no successful callback and no error either.
-
I tried follow the approach in this forum post:
https://forum.babylonjs.com/t/record-certain-part-of-the-scene-in-babylon-using-babylon-recorder/51986
but this approach cannot record anything that isn’t drawing on the canvas
Why I want to do this is because I want to show user some content, but I created some animations on the other side where I don’t want user to see and record videos (or frame sequences) in the background. The worker approach would be perfect, but if it can’t be done, at least I want to do the recording for the content that user cannot see. Please advice how to achieve this if it is even possible to do. Thank you very much
Antony.