Open EslamNemr opened 5 years ago
What browser, device? Do you have a link to an example to reproduce?
my glitch not working the code but https://glitch.com/edit/#!/join/187b6783-9ddc-4f98-8ef3-860cd0868e13
and for live http://www.eskanengineering.ae/VR/VR.html
for live using last master
windows 10
browser chrome70.035
firefox 63.0.3
ie edge
and for mobile iphone 7 ios 12 safari and chrome
androied 5.1.1 firefox and chrome
What phone? The problem above with stereo rendering seems to happen in mobile. Do you see the problem in both iOS and Android? In browsers with WebVR enabled (Daydream)?
the problem in ios and androied both iphone 7 plus sony xperia z5 but vr working well with aframe 0.8.0
webvr enabled
i attached browser photo for obj loader issue with 0.8.0 and 0.8.2
for phone ios chrome version 70.0.3538.75 safari 12.1
androied chrome 70.0.3538.110 firefox 63.0.2
vr issue seems solved after remove the line i added this.renderer.setPixelRatio(window.devicePixelRatio); after line 75654 this line because resolution dropped for picture and obj after exiting vr any other solution for this resolution dropped after exit VR ?
I cannot reproduce this. I tested on A-Frame / Firefox / Oculus and canvas resizes as expected after exiting VR. The link provided above no longer loads. Useful info would be checking canvas both before entering and after exiting VR when the problem occurs:
document.querySelector('a-scene').renderer.getSize()
yes same result given the same height and width in enter and exit vr event but i debug on windows browser may be stereo rendering the reason in changing render size i solve it with add this.renderer.setPixelRatio(window.devicePixelRatio); in exit vr event listener for now.
@EslamNemr can you supply a working link to reproduce?
aframe master version just extend the view when entering vr mode in in the two screen
and aframe 0.8.2 thres issue loading obj with material
object and material on current aframe master loading correctly