Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Draft] Screen recorder component #7

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pawelbudziszewski
Copy link
Member

A component that captures the outcome of the rendering pipeline and saves it into png files on the local drive. Frames are recorded in defined intervals in the game mode.

Screenshot from 2024-03-05 17-59-51

Parameters:

  • Enable screen capturing - if turned on, frames will be recorded after entering game mode.
  • Output image path - path and file name (without extension) where files will be saved. It may be relative or absolute. Relative path will be resolved in reference to "{project_path}/Cache/{linux|windows|...}". WARNING: "~" is not recognized as user's home.
  • Capture framerate - desired capture framerate - it won't be higher than this value. This framerate corresponds to simulation time, which can be scaled using "Tick scale" parameter. If this framerate is lower or equal to zero, frames will be captured without limit.
  • Tick scale - simulation time scaling coefficient. 1.0 means no scaling. This parameter can be used to slow down the simulation time if more fps are required.

The system does not wait till the screenshot is saved, so if the capture framerate is set too high or the simulation runs too slow, some frames may be skipped. In such cases, it is advised to lower the tick scale.

@pawelbudziszewski pawelbudziszewski changed the title Screen recorder component [Draft] Screen recorder component Sep 10, 2024
@pawelbudziszewski pawelbudziszewski marked this pull request as draft September 10, 2024 16:02
Signed-off-by: Paweł Budziszewski <[email protected]>
Signed-off-by: Paweł Budziszewski <[email protected]>
Signed-off-by: Paweł Budziszewski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant