userAlexcancel

549 Commits over 396 Days - 0.06cph!

5 Months Ago
Make VRNative Compositor/System/etc. all properties TrackedDeviceInfo has battery percentage (cherry-picked from vr-stats branch) Battery percentage just displays in `vr_info` concommand for now
5 Months Ago
Change the way we handle VRTextureWithPose - create an initial VRTexture and then (optionally) append pose data, rather than just creating a VRTextureWithPose outright Reinstate VR overlay code using new internal VR backend Move FromTransform into Matrix so we can re-use it
5 Months Ago
Update OpenVR SDK from 1.26.7 to 2.0.10
5 Months Ago
Tracked pose component has "Use Relative Transform" property
6 Months Ago
Use LastBackColorBuffer for VR - should fix spontaneous crash, can't reliably reproduce locally though?
6 Months Ago
Remove IPD measurement - feels useless here - and clean up Add TrackedDeviceInfo defaults Move performance timing stuff into VRNative.Timings.cs, clean up some more stuff Put some of this data in Performance window too
6 Months Ago
Initial VR performance stats editor tool Takes data from SteamVR compositor, tries to turn it into something that is more useful for us - not sure how much of this data we need/want, or what else we want right now
6 Months Ago
Basic skeletal pose component - only works with Alyx hands, needs some more thought https://files.facepunch.com/alexguthrie/1b1311b1/vrmonitor_2IaktVphKK.png Remove unused UseRelativeTransform from tracked pose component
6 Months Ago
Render VR separately Rename RenderWithViewport to RenderStereoAndSubmit, clean up SceneCamera stereo rendering code Set VR controller type (Input.VR.Type) Remove some CSS logs I forgot about (sorry)
6 Months Ago
Re-add streaming mode stuff to menu - same as before (would be better in settings imo, but this works for now)
6 Months Ago
Squash commit of VR components from vr branch
6 Months Ago
VR - remove vulkan extension list spew, was using this to check something and forgot to remove it Fix anchor positioning VR: retrieve and save off HMD position immediately before calling RenderWithViewport Gives us much better & up-to-date info to put inside VRTextureWithPose, reprojection becomes much more accurate. VR: controllers are correctly affected by anchor
6 Months Ago
Re-add vendor info to TrackedDevice for `vr_info` debug command
6 Months Ago
VR input system supports device roles (i.e. left hand, right elbow, waist, chest), uses newer IVRInput system (paths etc.)
6 Months Ago
Hand model offset
6 Months Ago
Submit a VRTextureWithPose_t to compositor
6 Months Ago
Re-add some VR native submit code, looks like it got removed by mistake
6 Months Ago
VR anchor component Tracked pose component cleanup
6 Months Ago
Fix VR stereo camera positioning
6 Months Ago
Update flags Fix a bunch of TrackedPoseComponent blunders, add tests for left/right hands
6 Months Ago
VR legacy layer uses real values (don't like this but I don't see any other way, we can remove it later) Fill device roles for tracked devices
6 Months Ago
Tracked pose component Test player
6 Months Ago
Initial VR test scene
6 Months Ago
Add TargetEye property to camera component
6 Months Ago
Add Expose attribute to StereoTargetEye
6 Months Ago
VR Refactor (#1286)
6 Months Ago
Update Facepunch.ActionGraphs Support for node plugs in title bars Support for overriding getting relevant nodes without an input type Merge branch 'master' into vr-refactor
6 Months Ago
Not using this anymore Input stubs for legacy games
6 Months Ago
Fix rendering (this got fucked in the rebase, oops)
6 Months Ago
Merge fixes
6 Months Ago
[Squash] Initial managed VR code, delete VR project [Squash] Add `IsLeftHandDominant`, `Enabled` properties + `TriggerHapticVibration` [Squash] Document TrackedDevice, remove unused, update skeletal data Submit all the info we need to camera renderer + start rewriting stereo rendering [Squash] Initial managed VR / stereo rendering logic [Squash] Poll events & get poses correctly [Squash] Don't do blit copy for each eye (works as long as `r_aoproxy_enable 00`), submit for DX11 https://files.facepunch.com/alexguthrie/1b1311b1/qrenderdoc_wLfY06ol2a.png [Squash] Bind GetLastPoses, clean up Update OpenVR from 1.16.8 to 1.26.7 (latest) [Squash] Fix IPD calc, camera positioning, fix InchToMillimeter that was converting from mm to inch [Squash] Dispatch submit func from scenesystem, do submit on render thread [Squash] Digital / skeletal / pose action data + helper funcs for retrieving all action data Remove unused (mostly legacy stuff) # Conflicts: # engine/Sandbox.Engine/EngineLoop.cs Revert "Remove unused (mostly legacy stuff)" This reverts commit ab8ea1a69e47ddff1367df4d5f00a1975def5d99. Vulkan - explicit timing/post present handoff, submit logic # Conflicts: # engine/Sandbox.Engine/EngineLoop.cs Remove runtime VR enable/disable Doesn't work for vulkan which is what we're aiming to eventually primarily support - ideally we want something like this issue describes: ValveSoftware/openvr/issues/993 I did try re-creating the render device whenever VR was enabled/disabled but couldn't get this working and I think fixing it is out-of-scope here. [Squash] Refactor HMD-specific tracking code [Squash] Finish VR analog/digital input, clean up [Squash] Vulkan submit tweaks, log compositor errors
6 Months Ago
Vulkan submit tweaks
6 Months Ago
Log compositor errors 🤦‍♂️ Texture is already transitioned when we receive it in managed - don't try to transition it again!! SetSteamVrCompositorTexture signature simplified
6 Months Ago
Remove runtime VR enable/disable Doesn't work for vulkan which is what we're aiming to eventually primarily support - ideally we want something like this issue describes: ValveSoftware/openvr/issues/993 I did try re-creating the render device whenever VR was enabled/disabled but couldn't get this working and I think fixing it is out-of-scope here. Refactor HMD-specific tracking code Test overriding interleaved reprojection Finish VR input Document ivrcompositor Clean up
6 Months Ago
Revert "Remove unused (mostly legacy stuff)" This reverts commit ab8ea1a69e47ddff1367df4d5f00a1975def5d99. Vulkan - explicit timing/post present handoff, submit logic
6 Months Ago
Remove unused (mostly legacy stuff)
6 Months Ago
Reduce latency by running callback for pose update immediately after WaitGetPoses Managed VR GPU flush timer SubmitTextureToCompositor returns success/fail status
6 Months Ago
IsVRHeadsetAvailable, test showing a button in menu navbar if VR headset is present/available
6 Months Ago
Digital / skeletal / pose action data + helper funcs for retrieving all action data
6 Months Ago
Dispatch submit func from scenesystem Un-delete SetSteamVrCompositorTexture and do submit on render thread
6 Months Ago
VR loop changes Remove more unused
6 Months Ago
Remove unused Calculate predicted seconds to photons from now for tracked device poses Update HMD transform in various additional places, should help with latency Fast path specifically for *hmd* pose retrieval, should help a tiny bit with latency VRSystem.Update refactor Shorten GetPredictedSecondsToPhotonsFromNow to GetPredictedTime, use GetDeviceToAbsoluteTrackingPose for GetHmdMatrix
6 Months Ago
Squashed revert back to commit 052bf8ece71b6de44f62c108626c6444a936f90f Going to tackle this stuff differently Fix IPD calc, camera positioning, fix InchToMillimeter that was converting from mm to inch Remove compositor benchmark stuff, we're not using it at the minute Try GetLastPoses instead of GetTrackedDevicePoses - might not be the right call since we can use the latter to predict X ms ahead Half IPD
7 Months Ago
Start moving more over to managed - not sure we need all of this though Remove more unused
7 Months Ago
VR GPU flush timer More more IVr stuff over to managed No multiview instancing Don't set D_MULTIVIEW_INSTANCING for debug overlays
7 Months Ago
Native Vulkan submit, remove unused
7 Months Ago
Native -> managed VR system, call managed WaitGetPoses inside VrPostPresent Render & submit serially + native submit test Use managed VR system checks in some native code
7 Months Ago
Update OpenVR from 1.16.8 to 1.26.7 (latest)
7 Months Ago
Delete VR project Simplify MaterialSystem2 VR code, don't do any native VR setup Initial basic managed openvr setup - just logs hmd position to console for now Debug all tracked devices Skeletal input data Actions, action sets, action state, analog input data Move native wrapper functions into VRNative class Rename enum values Remove unused input source strings Hook up compositor, settings, device properties & info Move constants Move a bunch of stuff in VRNative, clean up Move VR stuff over to Sandbox.Engine, start deleting old VRGlue - breaks VROverlay for now Only init if -vr specified, ensure active Init overlay, bindings for dashboard visible & drawing controllers Move vr-specific input into Sandbox.Engine Proper way of converting matrices from steamvr -> sbox, push test hmd data to game C# has control over whether vr is enabled Also add `vr_enabled` concmd so that we can test toggling VR at runtime IsLeftHandDominant, Enabled TriggerHapticVibration Document TrackedDevice, remove unused, update skeletal data Move VR class into Sandbox.Engine (forwarded to Sandbox.Game) and respect anchor for tracked transforms Compositor submit bindings, cleanup Submit all the info we need to camera renderer + start rewriting stereo rendering Deleted subviews, crossed/nohmd stereo modes, auto-fidelity, no longer uses multiview instancing Clean up Initial managed VR / stereo rendering logic Remove tracked device debug spew SceneCamera.RenderStereo, allow eye targeting Build & override camera frustum based on params provided by steamvr Clean up unused shit Remove native SetupStereoFrustums Remove unused camerarenderer stage RenderStereo uses correct view flags etc., clean up Render each eye into separate scratch targets and then blit into combined texture until I can figure out why this is broken Initial compositor submit, Vulkan only for now Transition texture to VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL Poll events & get poses correctly Check error inside PollEvents Clear first draw Don't do blit copy for each eye (works as long as `r_aoproxy_enable 00`) https://files.facepunch.com/alexguthrie/1b1311b1/qrenderdoc_wLfY06ol2a.png Submit & impl submit for DX11 Fix VRCompositorError_SharedTexturesNotSupported on dx11 Tidy up submit logic Simplify submit function even more Bind GetLastPoses Wtf I thought I deleted these? Remove unused glue structures Add GetTrackedDevicePoses back, we need it MSAADefaultNonVR -> MSAADefault Bounds fix Merge fixes
7 Months Ago
Bounds fix