Skip to content

Add Turntable Camera Mode for 360° Building Inspection #58

Description

@snjsomnath

Feature Request: Turntable Camera Mode

Description

Add a turntable camera mode that allows users to automatically rotate around buildings for comprehensive 360° inspection and presentation purposes.

Current State

The application currently supports:

  • Perspective and orthographic camera views via CameraManager
  • Manual camera controls (mouse wheel zoom, middle mouse drag pan)
  • Static camera positioning and view management

Proposed Feature

Implement a turntable mode that:

  • Automatically rotates the camera around the currently selected building or scene center
  • Maintains consistent distance and elevation during rotation
  • Provides speed controls (slow, medium, fast)
  • Can be toggled on/off with keyboard shortcut Y
  • Pauses rotation when user interacts with manual controls
  • Resumes rotation after a brief delay when manual interaction stops

Technical Implementation

  • Extend the existing CameraManager class
  • Add turntable state management to camera controls
  • Implement smooth orbital rotation with configurable parameters
  • Add UI controls in the left toolbar
  • Integrate with existing keyboard shortcut system

Suggested Keyboard Shortcut

  • Y: Toggle turntable mode on/off (follows existing single-letter pattern like G, S, F, T, R)

UI Integration

  • Add turntable toggle button to the left toolbar
  • Show turntable status indicator when active
  • Add speed control options in building config panel

Use Cases

  1. Design Review: Automatically inspect buildings from all angles
  2. Presentations: Smooth camera movement for client demos
  3. Quality Assurance: Systematic building inspection workflow
  4. Export/Documentation: Consistent camera movement for screenshots

Acceptance Criteria

  • Turntable mode toggles with Y keyboard shortcut
  • Camera smoothly orbits around scene center or selected building
  • Manual camera controls (mouse wheel, middle drag) temporarily override turntable
  • Speed is adjustable (at least 3 preset speeds)
  • Integrates with existing CameraManager without breaking current functionality
  • Compatible with both perspective and orthographic camera modes
  • No performance impact on 3D rendering

Priority

Medium - Enhancement that improves user experience and design workflow efficiency

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions