Skip to content

Instantly share code, notes, and snippets.

@DuFF14
Created June 7, 2017 01:07
Show Gist options
  • Save DuFF14/063cac8eb77424d80ed19f3beb2bc53f to your computer and use it in GitHub Desktop.
Save DuFF14/063cac8eb77424d80ed19f3beb2bc53f to your computer and use it in GitHub Desktop.
server config file for galaxy s6, to be place in /sdcard/osvr/
/* The default config file, as used with the HDK, is fully auto-detected, so no configuration required. */
/* See the JSON-Schema for server config or other samples to see possible options. */
{
"display": {
"meta": {
"schemaVersion": 1
},
"hmd": {
"device": {
"vendor": "Samsung",
"model": "Galaxy S6",
"num_displays": 1,
"Version": "1.1",
"Note": "Samsung Galaxy S6"
},
"field_of_view": {
"monocular_horizontal": 90,
"monocular_vertical": 101.25,
"overlap_percent": 100,
"pitch_tilt": 0
},
"resolutions": [
{
"width": 2560,
"height": 1440,
"video_inputs": 1,
"display_mode": "horz_side_by_side",
"swap_eyes": 0
}
],
"distortion": {
"distance_scale_x": 1,
"distance_scale_y": 1,
"polynomial_coeffs_red": [0, 1, -1.74, 5.15, -1.27, -2.23 ],
"polynomial_coeffs_green": [0, 1, -1.74, 5.15, -1.27, -2.23 ],
"polynomial_coeffs_blue": [0, 1, -1.74, 5.15, -1.27, -2.23 ]
},
"rendering": {
"right_roll": 0,
"left_roll": 0
},
"eyes": [
{
"center_proj_x": 0.5,
"center_proj_y": 0.5,
"rotate_180": 0
},
{
"center_proj_x": 0.5,
"center_proj_y": 0.5,
"rotate_180": 0
}
]
}
},
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": false,
"directDisplayIndex": 0,
"directHighPriorityEnabled": false,
"numBuffers": 2,
"verticalSyncEnabled": false,
"verticalSyncBlockRenderingEnabled": false,
"renderOverfillFactor": 1.0,
"window": {
"title": "OSVR",
"fullScreenEnabled": false,
"xPosition": 0,
"yPosition": 0
},
"display": {
"rotation": 0,
"bitsPerColor": 8
},
"timeWarp": {
"enabled": true,
"asynchronous": false,
"maxMsBeforeVSync": 5
}
}
},
"plugins": [
"com_osvr_android_sensorTracker"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment