2 ms·
So, the basics for taking any ol' Three.JS scene and getting it to run on a WebVR enabled browser comes down to querying for HMDs and Orientation sensors; passi
by moron4hire 12y ago
So, the basics for taking any ol' Three.JS scene and getting it to run on a WebVR enabled browser comes down to querying for HMDs and Orientation sensors; passing an HMD object to the requestFullScreen function; handling resize events to set the render dimensions of the canvas by the HMD dimensions, but its CSS dimensions by the window dimensions; creating a THREE.VRControls object to wrap the camera object; and creating a THREE.VREffect object to wrap around the renderer.
What sort of difficulties were you running into with this particular demo that made it more difficult than that?