Learn R Programming

rayrender (version 0.42.0)

tween_camera_orientation: Interpolate Camera Orientation with a Quaternion Spline

Description

Interpolate Camera Orientation with a Quaternion Spline

Usage

tween_camera_orientation(
  positions,
  lookats,
  camera_ups,
  output_positions,
  closed = FALSE
)

Value

List containing interpolated lookat positions and camera up vectors.

Arguments

positions

Keyframe camera positions.

lookats

Keyframe lookat positions.

camera_ups

Keyframe camera up vectors.

output_positions

Interpolated camera positions.

closed

Default `FALSE`. Whether to use periodic orientation tangents.