How to use the ARView function from three
Find comprehensive JavaScript three.ARView code examples handpicked from public code repositorys.
56 57 58 59 60 61 62 63 64 65
document.body.appendChild(canvas) scene = new THREE.Scene() // Creating the ARView, which is the object that handles // the rendering of the camera stream behind the three.js scene arView = new THREE.ARView(vrDisplay, renderer) // The ARPerspectiveCamera is very similar to THREE.PerspectiveCamera, // except when using an AR-capable browser, the camera uses // the projection matrix provided from the device, so that the
0
0
1
three.Vector3 is the most popular function in three (22341 examples)