-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update: New Box-branding for Oculus Touch models (#58)
- Loading branch information
Showing
31 changed files
with
11,103 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
window.WebVRConfig = { | ||
// Forces availability of VR mode, even for non-mobile devices. | ||
FORCE_ENABLE_VR: false, | ||
|
||
// Complementary filter coefficient. 0 for accelerometer, 1 for gyro. | ||
K_FILTER: 0.98, | ||
|
||
// How far into the future to predict during fast motion (in seconds). | ||
PREDICTION_TIME_S: 0.040, | ||
|
||
// Flag to disable touch panner. In case you have your own touch controls. | ||
TOUCH_PANNER_DISABLED: false, | ||
|
||
// Flag to disabled the UI in VR Mode. | ||
CARDBOARD_UI_DISABLED: false, // Default: false | ||
|
||
// Flag to disable the instructions to rotate your device. | ||
ROTATE_INSTRUCTIONS_DISABLED: false, // Default: false. | ||
|
||
// Enable yaw panning only, disabling roll and pitch. This can be useful | ||
// for panoramas with nothing interesting above or below. | ||
YAW_ONLY: false, | ||
|
||
// To disable keyboard and mouse controls, if you want to use your own | ||
// implementation. | ||
MOUSE_KEYBOARD_CONTROLS_DISABLED: true, | ||
|
||
// Prevent the polyfill from initializing immediately. Requires the app | ||
// to call InitializeWebVRPolyfill() before it can be used. | ||
DEFER_INITIALIZATION: false, | ||
|
||
// Enable the deprecated version of the API (navigator.getVRDevices). | ||
ENABLE_DEPRECATED_API: false, | ||
|
||
// Scales the recommended buffer size reported by WebVR, which can improve | ||
// performance. | ||
// UPDATE(2016-05-03): Setting this to 0.5 by default since 1.0 does not | ||
// perform well on many mobile devices. | ||
BUFFER_SCALE: 0.5, | ||
|
||
// Allow VRDisplay.submitFrame to change gl bindings, which is more | ||
// efficient if the application code will re-bind its resources on the | ||
// next frame anyway. This has been seen to cause rendering glitches with | ||
// THREE.js. | ||
// Dirty bindings include: gl.FRAMEBUFFER_BINDING, gl.CURRENT_PROGRAM, | ||
// gl.ARRAY_BUFFER_BINDING, gl.ELEMENT_ARRAY_BUFFER_BINDING, | ||
// and gl.TEXTURE_BINDING_2D for texture unit 0. | ||
DIRTY_SUBMIT_FRAME_BINDINGS: false | ||
}; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.