Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/openvr.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Selan <jeremys@valvesoftware.com>2016-12-12 23:01:31 +0300
committerJeremy Selan <jeremys@valvesoftware.com>2016-12-12 23:01:31 +0300
commit9d48ccf90d709382a137de9bc429aab5f7cea5de (patch)
tree90deeca90eacd72e234cdcceea2a1a0734660d89 /samples
parent84e877f1e099173378759189609b90870f422130 (diff)
OpenVR SDK 1.0.5v1.0.5
General: * Added final support for submitting Vulkan overlays and eye images. See this document for more information: https://github.com/ValveSoftware/openvr/wiki/Vulkan * Added TextureType_Vulkan, VRVulkanTextureData_t * Rename EGraphicsAPIConvention -> ETextureType. * New synchronous MessageOverlay API. Use IVROverlay::ShowMessageOverlay to display a message with up to four buttons. * Added ETrackedDeviceClass, GenericTracker * Added ETrackedPropertyError, PermissionDenied IVRSystem (v15): * GetProjectionMatrix signature change, removed EGraphicsAPIConvention eProjType IVRCompositor (v19): * Added GetVulkanInstanceExtensionsRequired, GetVulkanDeviceExtensionsRequired IVROverlay (v14): * Added VROverlayFlags_VisibleInDashboard * GetOverlayTexture signature change (includes overlay texture bounds) * Added GetOverlayFlags * Added ShowMessageOverlay IVRTrackedCamera (v13): * Renamed GetCameraIntrinsics [git-p4: depot-paths = "//vr/steamvr/sdk_release/": change = 3739504]
Diffstat (limited to 'samples')
-rw-r--r--samples/bin/linux64/libopenvr_api.sobin394088 -> 394088 bytes
-rw-r--r--samples/bin/osx32/libopenvr_api.dylibbin308788 -> 308788 bytes
-rw-r--r--samples/bin/win32/openvr_api.dllbin267040 -> 267040 bytes
-rw-r--r--samples/bin/win64/openvr_api.dllbin314656 -> 314656 bytes
-rw-r--r--samples/hellovr_opengl/hellovr_opengl_main.cpp8
5 files changed, 4 insertions, 4 deletions
diff --git a/samples/bin/linux64/libopenvr_api.so b/samples/bin/linux64/libopenvr_api.so
index a7d57c6..3b4363f 100644
--- a/samples/bin/linux64/libopenvr_api.so
+++ b/samples/bin/linux64/libopenvr_api.so
Binary files differ
diff --git a/samples/bin/osx32/libopenvr_api.dylib b/samples/bin/osx32/libopenvr_api.dylib
index 2ac282b..647ec3f 100644
--- a/samples/bin/osx32/libopenvr_api.dylib
+++ b/samples/bin/osx32/libopenvr_api.dylib
Binary files differ
diff --git a/samples/bin/win32/openvr_api.dll b/samples/bin/win32/openvr_api.dll
index 0b0cc0e..7aa2b99 100644
--- a/samples/bin/win32/openvr_api.dll
+++ b/samples/bin/win32/openvr_api.dll
Binary files differ
diff --git a/samples/bin/win64/openvr_api.dll b/samples/bin/win64/openvr_api.dll
index 8b33ebb..bbcccde 100644
--- a/samples/bin/win64/openvr_api.dll
+++ b/samples/bin/win64/openvr_api.dll
Binary files differ
diff --git a/samples/hellovr_opengl/hellovr_opengl_main.cpp b/samples/hellovr_opengl/hellovr_opengl_main.cpp
index 64d1d47..5dfc5ae 100644
--- a/samples/hellovr_opengl/hellovr_opengl_main.cpp
+++ b/samples/hellovr_opengl/hellovr_opengl_main.cpp
@@ -691,9 +691,9 @@ void CMainApplication::RenderFrame()
RenderStereoTargets();
RenderCompanionWindow();
- vr::Texture_t leftEyeTexture = {(void*)leftEyeDesc.m_nResolveTextureId, vr::API_OpenGL, vr::ColorSpace_Gamma };
+ vr::Texture_t leftEyeTexture = {(void*)leftEyeDesc.m_nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
vr::VRCompositor()->Submit(vr::Eye_Left, &leftEyeTexture );
- vr::Texture_t rightEyeTexture = {(void*)rightEyeDesc.m_nResolveTextureId, vr::API_OpenGL, vr::ColorSpace_Gamma };
+ vr::Texture_t rightEyeTexture = {(void*)rightEyeDesc.m_nResolveTextureId, vr::TextureType_OpenGL, vr::ColorSpace_Gamma };
vr::VRCompositor()->Submit(vr::Eye_Right, &rightEyeTexture );
}
@@ -1473,7 +1473,7 @@ Matrix4 CMainApplication::GetHMDMatrixProjectionEye( vr::Hmd_Eye nEye )
if ( !m_pHMD )
return Matrix4();
- vr::HmdMatrix44_t mat = m_pHMD->GetProjectionMatrix( nEye, m_fNearClip, m_fFarClip, vr::API_OpenGL);
+ vr::HmdMatrix44_t mat = m_pHMD->GetProjectionMatrix( nEye, m_fNearClip, m_fFarClip );
return Matrix4(
mat.m[0][0], mat.m[1][0], mat.m[2][0], mat.m[3][0],
@@ -1549,7 +1549,7 @@ void CMainApplication::UpdateHMDMatrixPose()
case vr::TrackedDeviceClass_Controller: m_rDevClassChar[nDevice] = 'C'; break;
case vr::TrackedDeviceClass_HMD: m_rDevClassChar[nDevice] = 'H'; break;
case vr::TrackedDeviceClass_Invalid: m_rDevClassChar[nDevice] = 'I'; break;
- case vr::TrackedDeviceClass_Other: m_rDevClassChar[nDevice] = 'O'; break;
+ case vr::TrackedDeviceClass_GenericTracker: m_rDevClassChar[nDevice] = 'G'; break;
case vr::TrackedDeviceClass_TrackingReference: m_rDevClassChar[nDevice] = 'T'; break;
default: m_rDevClassChar[nDevice] = '?'; break;
}