cancel
Showing results for 
Search instead for 
Did you mean: 

[Samsung Gear VR] Is it possible to freeze any camera rotations without jitters ?

Anonymous
Not applicable
Hello everybody,

I'm currently developping a native android
application for Samsung Gear VR
that is basically a 360 video player (It
uses exoplayer2).

I would like to completely disable the
camera's rotations in order to force the user to see only a fixed part
of the 360 video (no matter where he wants to gaze).
To do this, I
changed the cameraRigType of my mainCamera to the Freeze type.
(http://www.gearvrf.org/api_reference/v4.1/Framework/org/gearvrf/GVRCameraRig.GVRCameraRigType.Freeze.html)

But
the results I get are not as expected. Yes the camera is now froze, but
when the phone is rotating, some video jitters appears and they are very
discomforting. Why ?
Is there a way to avoid this jitters ?
Do exist some methods that i could use to ignore all IMU inputs ?

In
the documentation it says that changing the type of the cameraRig
changes the way the rig uses the rotation data of the sensors.
(http://www.gearvrf.org/api_reference/v4.1/Framework/org/gearvrf/GVRCameraRig.GVRCameraRigType.html)
Do you know which class does send this rotation data to the camera rig ?

Thank you for the reading,
I'm here if you need any precisions.

Antoine.



2 REPLIES 2

Anonymous
Not applicable
I've tested to freeze the camera using the same method on gvr-photo360, and there is no flickering at all !
So I think this is related to my application, maybe exoplayer ? My version of exoplayer is r2.4.0.

I'm currently trying to test it on gvr-video360.

I'll keep you updated.

Anonymous
Not applicable
Finally I've updated the version of the gear framework from 3.2 to 4.1.0-SNAPSHOT in the build.gradle and it works properly !