Renders a high quality movie by extracting the current rayshader scene with render_highquality(), generating camera motion from supplied or saved rayrender interactive keyframes with rayrender::generate_camera_motion(), and passing the result to rayrender::render_animation(). Screen-space text and lines are retained and reprojected for each frame by rayrender.

render_movie_hq(
  frames = 360,
  type = "linear",
  closed = TRUE,
  damp_motion = TRUE,
  render_highquality_args = list(),
  keyframes = NULL,
  ...
)

Arguments

frames

Default 360. Number of frames in the generated camera motion.

type

Default "linear". Type of transition between saved keyframes. Other options are those supported by rayrender::generate_camera_motion().

closed

Default TRUE. Whether to close the camera path by returning to the first saved keyframe.

damp_motion

Default TRUE. Whether to damp quick camera movements.

render_highquality_args

Default list(). Additional arguments passed to render_highquality() when extracting the scene. return_scene = TRUE is always applied.

keyframes

Default NULL. Keyframes returned by rayrender::get_saved_keyframes(). When supplied, these are passed directly to rayrender::generate_camera_motion() without reading the currently saved interactive keyframes.

...

Additional parameters to pass to rayrender::render_animation().

Value

Invisibly returns the value from rayrender::render_animation().