You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
many thanks for this great widget. But i still haven't found the solution to begin the view with the gyroscope at the curent camera orientation. In fact, with gyroscope = true, the panorama view always begin at the 0px in the left onload.
I tried :
onready: function() { window.PSV.toggleDeviceOrientation();}
and :
default_position, or default_long in the parmas without success.
Did you encountered the same issue ?
Thank you.
The text was updated successfully, but these errors were encountered:
Found it.
in three.doc.jsf, it deals with th value of alpha:
var alpha = scope.deviceOrientation.alpha ? THREE.Math.degToRad( scope.deviceOrientation.alpha ) + this.alphaOffsetAngle : 0; // Z
Just adding the value of the current orientation of the device to alpha.
Hi,
many thanks for this great widget. But i still haven't found the solution to begin the view with the gyroscope at the curent camera orientation. In fact, with gyroscope = true, the panorama view always begin at the 0px in the left onload.
I tried :
onready: function() { window.PSV.toggleDeviceOrientation();}
and :
default_position, or default_long in the parmas without success.
Did you encountered the same issue ?
Thank you.
The text was updated successfully, but these errors were encountered: