Three.js position and direct the camera
问题 For me is impossible after hours/days of search to find the answer to such a central problem in Three.js: I know 1) the position of the camera (=my eyes) 2) The direction of the camera (of my eyes) 3) the direction of my head. Generate the camera (we ignore camera angle, near/far, aso). The nearest I get is as follows: camera = new THREE.PerspectiveCamera(150, window.innerWidth / window.innerHeight, 0.1, 5000); camera.position.x = myParams.eye_x; camera.position.y = myParams.eye_y; camera