tween_camera_orientation: Interpolate Camera Orientation with a Quaternion Spline

View source: R/util-functions.R

tween_camera_orientationR Documentation

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
)

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.

Value

List containing interpolated lookat positions and camera up vectors.


rayrender documentation built on Sept. 16, 2026, 9:08 a.m.