algan_utils¶
Functions
- render_all_funcs(module_name, render_settings=None, profile=True, overwrite=True, start_index=0, max_rendered=-1, output_dir=None, output_path=None, file_extension='mp4', **kwargs)[source]¶
- render_to_file(file_name=None, output_dir=None, output_path=None, render_settings=None, overwrite=True, codec='h264', file_extension=None, **kwargs)[source]¶
Runs all of the animations specified in the active
Scene
, then renders the animations to video as captured by the activeCamera
, and saves the video to a file.- Parameters:
file_name – Name of the output file (without extension). If None will use DEFAULT_OUTPUT_FILENAME.
output_dir – Directory where to save the video. If None will use the directory of the running script.
render_settings – The
RenderSettings
object to use to specify video properties. If None will use DEFAULT_RENDER_SETTINGS.overwrite – Whether the existing file at the output destination should be overwritten if one exists.
codec – The codec to use to encode the video frames.