From 5d41c7757f7e5bd93d768f9d2d2b50ef3bbcf98b Mon Sep 17 00:00:00 2001 From: ykeara Date: Thu, 11 Apr 2019 20:57:05 -0500 Subject: [PATCH] moved overlay to .01 m from .3 m --- src/tabcontrollers/VideoTabController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tabcontrollers/VideoTabController.cpp b/src/tabcontrollers/VideoTabController.cpp index a76a1fb..5dec152 100644 --- a/src/tabcontrollers/VideoTabController.cpp +++ b/src/tabcontrollers/VideoTabController.cpp @@ -34,10 +34,11 @@ namespace advsettings notifIconPath->c_str()); vr::VROverlay()->SetOverlayWidthInMeters( m_brightnessNotificationOverlayHandle, 1.0f); + //Places the "overlay just past eye sight 1mx1m should more or less cover all headsets vr::HmdMatrix34_t notificationTransform = { { { 1.0f, 0.0f, 0.0f, 0.00f }, { 0.0f, 1.0f, 0.0f, 0.00f }, - { 0.0f, 0.0f, 1.0f, -0.3f } } }; + { 0.0f, 0.0f, 1.0f, -0.01f } } }; vr::VROverlay()->SetOverlayTransformTrackedDeviceRelative( m_brightnessNotificationOverlayHandle, vr::k_unTrackedDeviceIndex_Hmd,