nhirata/Aframe-tests

Images aren't centered with the simulators

Opened this issue · 3 comments

Not sure why ; with the iPhone simulator is off center. as if the device was lying flat on a table.

Need to face it as if it was standing portrait in front of the end user. Investigating some means to do this.

You can tell it's as if the phone is set on a table because the composite shows the blending point which is at the top of the image.

So after doing a lot of research and finding device orientation is readonly...
and also that iphone simulator used to have apps that can be manipulated by real iphones in order to change the position, I couldn't find one that was more recent that works with 9.3.1

Not sure if it's possible on the latest.

In any cases, I did find a work around : http://people.mozilla.org/~nhirata/webvr/Comptest_files/a_data/index.html

I had to < a-entity position="0 0 -5" rotation="270 0 0" > < a-camera />
Having said that the position and the y rotation has to be investigated to see the model in front. Not sure if there's a way to detect iPhone simulator versus real device. I need to investigate that as well as if there's a way to change the file so that it recognizes the differences between the two.

pollyfill won't work unless the poly fill is in the page viewed as the browser is in the simulator not on the desktop.