render_all_viewpoints

Function render_all_viewpoints 

Source
pub fn render_all_viewpoints(
    object_dir: &Path,
    viewpoint_config: &ViewpointConfig,
    rotations: &[ObjectRotation],
    render_config: &RenderConfig,
) -> Result<Vec<RenderOutput>, RenderError>
Expand description

Render all viewpoints and rotations for a YCB object.

Convenience function that renders all combinations of viewpoints and rotations.

§Arguments

  • object_dir - Path to YCB object directory
  • viewpoint_config - Viewpoint configuration (camera positions)
  • rotations - Object rotations to render
  • render_config - Render configuration

§Returns

Vector of RenderOutput, one per viewpoint × rotation combination.