I am currently working on converting gyro data from Go Pro to Three.js coordinates in order to project the footage onto the inside of a sphere. My goal is to rotate the sphere and achieve 3D stabilization.
https://i.sstatic.net/VYHV6.png
The camera's orientation is set as Z, X, Y for the coordinates.
My approach involves applying a vector to rotate the sphere, similar to this:
this._nextVec3.set(this._next[0],this._next[1],this._next[2])
this.el.object3D.rotation.setFromVector3(this._nextVec3)
However, I am facing difficulty getting the rotation to align with the camera's rotation. I suspect it may be related to the left/right hand configuration. Could someone provide assistance?