• Orbital rotate via methods e.g. when user pressed a HTML button, point of view changes. • Fit view to the target object • Boundary area of movement • Dolly to cursor You may also need:
• Drag to rotate • Rotate and translate via methods • Fit the object to view • Boundary (thanks to @FMS_Cat) • Dolly to cursor (thanks to @FMS_Cat) and more… Features
const clock = new THREE.Clock(); const scene = new THREE.Scene(); const camera = new THREE.PerspectiveCamera( 60, width / height, 0.01, 1000 ); camera.position.set( 0, 0, 5 ); const renderer = new THREE.WebGLRenderer(); renderer.setSize( width, height ); document.body.appendChild( renderer.domElement ); Make your scene