webvr-ui icon indicating copy to clipboard operation
webvr-ui copied to clipboard

Update to work with three.js rev86

Open arturitu opened this issue 8 years ago • 3 comments
trafficstars

Actually doesn't work correctly if you use last version of threejs (r86) (and I suppose and above) Is there any plan to update to with with the last revision of threejs which is not using VREffect and VRControls yet?

arturitu avatar Jul 27 '17 05:07 arturitu

thanks for bringing this to our attention, we will look into this, it is our plan to support future THREE.js versions

hapticdata avatar Jul 27 '17 15:07 hapticdata

Do you have any update on this? Many thanks!

jbroberg avatar Aug 15 '17 06:08 jbroberg

I have created a pull request for three.js that resolves this issue. I am hoping this gets merged as it is best for the device to be captured through the event.

Until then you can work around the issue with one additional step:

var enterVR = new webvrui.EnterVRButton(renderer.domElement, {});
enterVR.getVRDisplay().then(display=> renderer.vr.setDevice(display));

hapticdata avatar Aug 29 '17 18:08 hapticdata