thatopen-impl-navigation
Installation
SKILL.md
ThatOpen Navigation: OrthoPerspectiveCamera
Overview
OrthoPerspectiveCamera extends SimpleCamera and provides three built-in
navigation modes (Orbit, FirstPerson, Plan) with switchable perspective and
orthographic projections. It wraps the camera-controls library and manages
dual Three.js cameras (PerspectiveCamera + OrthographicCamera).
Package: @thatopen/components (core — works in browser and Node.js)
Dependency: camera-controls >= 3.1.2
Prerequisites
- World must be created with
OrthoPerspectiveCameraas the camera type. Seethatopen-impl-viewerfor full viewer setup. components.init()MUST be called after camera assignment for the render loop to start.