Turntable Camera
Automated camera rotation and sequence rendering for 360° product/site views.
Overview
Automated camera rotation and sequence rendering for 360° product/site views.
Inputs (12)
- Target (Point): Focal point for camera center axis
- Radius (Number): Orbital distance to camera location
- Elevation (Number): Z-axis elevation offset of camera relative to target
- Frames (Integer): Number of frame captures per 360 loop
- Directory (Text): Output directory where images are saved
- Prefix (Text): Prefix for the image files
- Width (Integer): Export width in pixels
- Height (Integer): Export height in pixels
- DPI (Integer): Print resolution in Dots Per Inch
- Transparent (Boolean): Export with a transparent background
- Scale Items (Boolean): Scale lineweights and screen items
- Run (Boolean): Trigger the export loop
Outputs (5)
- Orbit Path (Curve): The circular path of the camera.
- Camera Points (Point): Calculated 3D camera coordinates.
- Target Out (Point): Passthrough of the focal target point.
- File Paths (Text): Paths of exported PNG frames.
- Info (Text): Component execution HUD.
Method, assumptions and simplifications
The same notes appear in the component's Info output.
Method
- Places Frames camera points evenly on a horizontal circle of Radius around Target, at Elevation above it, starting on the +X axis and turning anticlockwise; Orbit Path is the closed polyline through them.
- When Run is True and Directory is set, it moves the active viewport camera to each point looking at Target, captures it with Rhino ViewCapture at Width × Height (no grid or axes, optional transparency and scaled screen items) and saves Prefix0000.png and so on with DPI metadata; the original view is then restored.
Assumptions
- The active viewport and its display mode are the ones to render.
Simplifications and limits
- Lens and up vector are kept from the current viewport. Exports run on every solution while Run stays True.