ThreeJS Camera Control - 1
An example of loading an animated 3D model and allowing camera to be controlled using mouse in WebGL using ThreeJS
library. Sample model created using Mixamo
To make this work, the scripts listed below are required: :
- ColladaLoader - for loading model in .dae format
- OrbitControls - predefined camera controls with mouse
Left click and move mouse to rotate camera, right and click and move to pan. Press space key to reset.