Skip to content

Instantly share code, notes, and snippets.

@DuFF14
Created October 18, 2016 14:41
Show Gist options
  • Save DuFF14/04a0de9c07788be3d71a53130e17452c to your computer and use it in GitHub Desktop.
Save DuFF14/04a0de9c07788be3d71a53130e17452c to your computer and use it in GitHub Desktop.
HDK 1.3/1.4 server config with direct mode
{
"sleep": 0,
"renderManagerConfig": {
"meta": {
"schemaVersion": 1
},
"renderManagerConfig": {
"directModeEnabled": true,
"directDisplayIndex": 0,
"directHighPriorityEnabled": true,
"numBuffers": 2,
"verticalSyncEnabled": true,
"verticalSyncBlockRenderingEnabled": true,
"renderOverfillFactor": 1.2,
"renderOversampleFactor": 1.0,
"window": {
"title": "OSVR",
"fullScreenEnabled": true,
"xPosition": 1920,
"yPosition": 0
},
"display": {
"rotation": 0,
"bitsPerColor": 8
},
"prediction": {
"enabled": true,
"staticDelayMS": 16,
"leftEyeDelayMS": 7.5,
"rightEyeDelayMS": 0,
"localTimeOverride": true
},
"timeWarp": {
"enabled": true,
"asynchronous": false,
"maxMsBeforeVSync": 3
}
}
},
"display": {
"meta": {
"schemaVersion": 1
},
"hmd": {
"device": {
"properties": {
"vendor": "OSVR",
"model": "HDK",
"num_displays": 2,
"Version": "1.3",
"Note": "OSVR HDK 1.3 in DirectMode"
}
},
"field_of_view": {
"monocular_horizontal": 92,
"monocular_vertical": 92,
"overlap_percent": 100,
"pitch_tilt": 0
},
"resolutions": [
{
"width": 1920,
"height": 1080,
"video_inputs": 2,
"display_mode": "horz_side_by_side",
"swap_eyes": 0
}
],
"distortion": {
"type": "mono_point_samples",
"mono_point_samples_built_in": "OSVR_HDK_13_V2"
},
"aliases": {
"/me/head": {
"child": "/com_osvr_Multiserver/OSVRHackerDevKit0/semantic/hmd"
}
},
"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
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment