generate_viewpoints

Function generate_viewpoints 

Source
pub fn generate_viewpoints(config: &ViewpointConfig) -> Vec<Transform>
Expand description

Generate camera viewpoints using spherical coordinates.

Spherical coordinate system (matching TBP habitat sensor conventions):

  • Yaw: horizontal rotation around Y-axis (0° to 360°)
  • Pitch: elevation angle from horizontal plane (-90° to +90°)
  • Radius: distance from origin (object center)