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,
...
)Default 360. Number of frames in the generated camera motion.
Default "linear". Type of transition between saved keyframes.
Other options are those supported by rayrender::generate_camera_motion().
Default TRUE. Whether to close the camera path by returning to
the first saved keyframe.
Default TRUE. Whether to damp quick camera movements.
Default list(). Additional arguments passed
to render_highquality() when extracting the scene. return_scene = TRUE is
always applied.
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().
Invisibly returns the value from rayrender::render_animation().