{"action":"closed","issue":{"url":"https://api.github.com/repos/ValveSoftware/openvr/issues/163","repository_url":"https://api.github.com/repos/ValveSoftware/openvr","labels_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/163/comments","events_url":"https://api.github.com/repos/ValveSoftware/openvr/issues/163/events","html_url":"https://github.com/ValveSoftware/openvr/issues/163","id":160348802,"number":163,"title":"SetHighQualityOverlay() doesn't work","user":{"login":"matrixcr","id":4946788,"avatar_url":"https://avatars.githubusercontent.com/u/4946788?v=3","gravatar_id":"","url":"https://api.github.com/users/matrixcr","html_url":"https://github.com/matrixcr","followers_url":"https://api.github.com/users/matrixcr/followers","following_url":"https://api.github.com/users/matrixcr/following{/other_user}","gists_url":"https://api.github.com/users/matrixcr/gists{/gist_id}","starred_url":"https://api.github.com/users/matrixcr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matrixcr/subscriptions","organizations_url":"https://api.github.com/users/matrixcr/orgs","repos_url":"https://api.github.com/users/matrixcr/repos","events_url":"https://api.github.com/users/matrixcr/events{/privacy}","received_events_url":"https://api.github.com/users/matrixcr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-15T06:39:14Z","updated_at":"2016-06-15T11:21:14Z","closed_at":"2016-06-15T11:21:14Z","body":"I used to show a image on a high quality overlay, it works fine before my steamvr get updated yesterday. It now just shows the steamvr grids now. Here's the code snippet. What's wrong?\r\n\r\n\t\tvr::IVROverlay *overlay = vr::VROverlay();\r\n\t\tvr::EVROverlayError err = overlay->FindOverlay(overlayKey, &m_overlay);\r\n\t\tif (err == vr::VROverlayError_UnknownOverlay)\r\n\t\t{\r\n\t\t\terr = overlay->CreateOverlay(overlayKey, overlayTitle, &m_overlay);\r\n\t\t\tif (err != vr::VROverlayError_None)\r\n\t\t\t\treturn;\r\n\t\t}\r\n\r\n\t\toverlay->SetHighQualityOverlay(m_overlay);\r\n\t\toverlay->SetOverlayFlag(m_overlay, vr::VROverlayFlags_Panorama, true);\r\n\t\toverlay->SetOverlayFromFile(m_overlay, strFullPath.c_str());\r\n\t\toverlay->SetOverlayAlpha(m_overlay, 1.0f);\r\n\r\n\t\tvr::HmdMatrix34_t mat;\r\n\t\tmat.m[0][0] = 1.0f; mat.m[1][0] = 0.0f; mat.m[2][0] = 0.0f;\r\n\t\tmat.m[0][1] = 0.0f; mat.m[1][1] = 1.0f; mat.m[2][1] = 0.0f;\r\n\t\tmat.m[0][2] = 0.0f; mat.m[1][2] = 0.0f; mat.m[2][2] = 1.0f;\r\n\t\tmat.m[0][3] = 0.0f; mat.m[1][3] = 0.0f; mat.m[2][3] = -0.25f;\r\n\r\n\t\toverlay->SetOverlayTransformTrackedDeviceRelative(m_overlay, vr::k_unTrackedDeviceIndex_Hmd, &mat);\r\n\t\toverlay->ShowOverlay(m_overlay);"}}
{"actor":{"display_login":"matrixcr"}}