The example provided only works on a mobile device, in my case an iphone
This IS NOT about using gestures to pinch zoom or buttons to press to zoom or viewport zoom, this question is related to device orientation to mimic optical zoom in Three.js by moving the physical mobile device forward and backward in a users available space?
Over the weekend I found this very interesting example from threejs.org:
Equirectangular panorama demo with DeviceOrientation controls:
yeah, no one is going to type that on there mobile phone, so here you go for the URL alternative: http://bit.ly/2NDZ0zx
Still not easy enough, I created a QR-Code with: https://www.qr-code-generator.com/
My first thought this could be done with the gyroscope/accelerometer using the z-axis?
If not possible no problem that is why I am asking before I dig myself out of my own rabbit hole!
Thanks for the help!
Researching in all the places across the web(cough cough stackoverflow) apparently i’ve come up with a new concept for the example: Equirectangular panorama
How I came up with optical zoom is figuring out what my iPhone lens is doing with the iPhone application provided. This is also not digital zoom since that requires cropping the edges with a photo editor.