Skip to content

Instantly share code, notes, and snippets.

@DuFF14
Last active September 9, 2017 01:30
Show Gist options
  • Save DuFF14/097911834b89503ea7c8b5cc08108f40 to your computer and use it in GitHub Desktop.
Save DuFF14/097911834b89503ea7c8b5cc08108f40 to your computer and use it in GitHub Desktop.
server config used to test OSVR-Unity-NativeVR suppoort.
{
"sleep": 0,
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": true,
"directDisplayIndex": 0,
"directHighPriorityEnabled": true,
"numBuffers": 2,
"verticalSyncEnabled": true,
"verticalSyncBlockRenderingEnabled": true,
"renderOverfillFactor": 1.0,
"renderOversampleFactor": 1.0,
"window": {
"title": "OSVR",
"fullScreenEnabled": true,
"xPosition": 1920,
"yPosition": 0
},
"display": {
"rotation": 180,
"bitsPerColor": 8
},
"prediction": {
"enabled": true,
"staticDelayMS": 26,
"leftEyeDelayMS": 0,
"rightEyeDelayMS": 0,
"localTimeOverride": true
},
"timeWarp": {
"enabled": true,
"asynchronous": false,
"maxMsBeforeVSync": 7
}
}
},
"display": {
"meta": {
"schemaVersion": 1
},
"hmd": {
"device": {
"properties": {
"vendor": "OSVR",
"model": "HDK",
"num_displays": 2,
"Version": "2.0",
"Note": "OSVR HDK 2.0 in DirectMode"
}
},
"field_of_view": {
"monocular_horizontal": 92,
"monocular_vertical": 92,
"overlap_percent": 100,
"pitch_tilt": 0
},
"resolutions": [
{
"width": 2160,
"height": 1200,
"video_inputs": 1,
"display_mode": "horz_side_by_side",
"swap_eyes": 0
}
],
"distortion": {
"type": "mono_point_samples",
"mono_point_samples_built_in": "OSVR_HDK_20_V1"
},
"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
}
]
}
},
"aliases": {"/me/head":"/com_osvr_Multiserver/OSVRHackerDevKit0/semantic/hmd"}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment