2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
|
|
|
|
|
#include "XRMotionControllerBase.h"
|
|
|
|
|
#include "UObject/UObjectGlobals.h" // for FindObject<>
|
|
|
|
|
#include "UObject/Class.h" // for UEnum
|
|
|
|
|
#include "InputCoreTypes.h" // for EControllerHand
|
|
|
|
|
|
|
|
|
|
FName FXRMotionControllerBase::LeftHandSourceId(TEXT("Left"));
|
|
|
|
|
FName FXRMotionControllerBase::RightHandSourceId(TEXT("Right"));
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3931840)
#lockdown Nick.Penwarden
#rb merge
============================
MAJOR FEATURES & CHANGES
============================
Change 3754252 by Mike.Beach
Mirroring CL 3723722 from 4.18.1
Hotfix update from Oculus.
- Introduce dash support by adding an Oculus config setting (that is off by default)
- Move submission of the near plane╞s depth from a fixed one at texture allocation time to an every-frame one, which is needed for correct depth support in games that have a ⌠god mode÷ with a smaller worldtometersscale
#jira UE-51728
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3795928 by Joe.Conley
PR #2514: make VR preview work with dedicated server mode in editor (Contributed by joelmcginnis)
#github https://github.com/EpicGames/UnrealEngine/pull/2514
Change 3798048 by Mike.Beach
[WIP] MR - Improving on the MR alignment calibration process.
#jira UEVR-1047
Change 3798388 by Mike.Beach
MR - Loading the OpenCv dll along with the calibration module. Adding a WITH_OPENCV define that we can wrap blocks with.
Change 3798396 by Mike.Beach
MR - Making use of OpenCV's eigen solver for quaternion averaging, and wrapping my use of OpenCV with the new define.
Change 3798668 by Nick.Whiting
Merging CL 3794238 from Partner-Valve (Fixes for uninitialized memory after vkGetPhysicalDeviceProperties2KHR)
Change 3800540 by Keli.Hlodversson
Simplify loading of OpenCV dll by defining the dll name and relative path in the third party build script (OpenCV.Build.cs).
Remove redefinition of WITH_OPENCV from MixedRealityCalibration.Build.cs.
Add OpenCVHelper.h with macros that should be used to wrap opencv includes
Change 3801194 by Keli.Hlodversson
Fix relative path in OpenCV.build.cs
Change 3801853 by Mike.Beach
Fixing crash on nullptr.
Change 3802176 by Mike.Beach
Switching out the wrong file that was submitted in CL 3801853 - fixing a crash in MotionControllerComponent.
Change 3802189 by Mike.Beach
MR - Fix to rotation averaging (was not correctly populating quaternion matrix).
Change 3807785 by Douglas.Copeland
Replacing deprecated nodes in QA_MoCoAll BP
Change 3810205 by Chance.Ivey
Removing Old Moble AR Template
Change 3810482 by Nick.Whiting
Updating to SteamVR 1.0.11
Change 3810488 by Nick.Whiting
Adapting CL 379023 from Partner-Valve, SteamVR : fix lockup, improve performance , use PostPresentHandoff and SubmitExplicitTimingData APIs
Change 3810502 by Nick.Whiting
Adding LUID detection on non-Mac platforms for SteamVR
Change 3811483 by Joe.Graf
Fixed Mac compiling with SteamVR due to an initialized variable being used
Change 3811488 by Keli.Hlodversson
Initial class for performing camera calibration via OpenCV
#jira UE-52726
Change 3811496 by Mike.Beach
CIS fix - pragma'ing out several OpenCV, ThirdParty warnings.
#jira UE-53558
Change 3811560 by Mike.Beach
CIS fixes - Initializing an unitialized var in SteamVR & pragma'ing out some more warnings for OpenCV.
#jira UE-53557, UE-53558
Change 3812051 by Mike.Beach
CIS fix - switching over to using new 'PublicDefinitions' member.
Change 3813131 by Jeff.Fisher
Opacity mask gradient test content for msaa.
#jira UEVR-1049
Change 3814154 by Douglas.Copeland
Rebuilding lighting for TM-VRSmoke
Change 3814248 by Mike.Beach
Adopting Occulus' SI1.21 changes...
Added Oculus Go controller meshes to UE4
Enable sched_fifo and RT/GT affinities back in UE4
Only activate the masking system for the translucent objects (only ones where masking is necessary)
Upgrade to OVRPlugin 1.21's new APIs for display frequency and integration into blueprint
Fixes the 10fps lock not being setup when an app is launched with the HMD not mounted
Add blueprint definition to get device name from ovrplugin
Add support for tiled multires and GPU % reporting
Rejected changes in:
OculusFunctionLibrary.h
DefaultXRCamera.cpp
SceneRenderTargets.cpp
Change 3820224 by Mike.Beach
[WIP] MR Calibration
- Correcting orientation estimation to average sampled forward/up vectors
- Converting functionality for intersecting approximate frustum rays to C++ (to better align with frustum far points)
- Switched alignment points' PlanarId to be 3D, so we know how they relate to each other
- Stubbing in new alignment tweak mode
Change 3820475 by Ryan.Vance
#jira UEVR-1055
We need to use 0 for a sentinel value on non-metal rhi's.
Change 3821771 by Mike.Beach
CIS fixes
Change 3824637 by Mike.Beach
[WIP] MR Calibration process - polishing alignment tweak step (only needing rendertarget/img processing functions from demo branch).
Change 3828925 by Mike.Beach
CIS fix (was using deprecated IImageWrapperPtr)
Change 3830898 by Jeff.Fisher
Improving ActorComponent.h include path somone on udn noticed wasn't quite right.
Change 3831597 by Mike.Beach
[WIP] MR Calibration - Alignment tweaking now takes snapshots and presents a collage for you to align with.
#jira UEVR-1042
Change 3837752 by Keli.Hlodversson
Add option to pass UTextureRenderTarget2D directly to the OpenCVCalibrator instead of using temporary image files
#jira UE-52728
Change 3839309 by Mike.Beach
MotionController support for HMD tracking.
Change 3839314 by Mike.Beach
Fixing a crash in MR calibration, where we were expecting a returned list to be ordered and it wasn't (caused indexing out of bounds).
Change 3839316 by Mike.Beach
[WIP] MR Calibration - Stubbing in support for calibration using the HMD model (instead of controllers)
Change 3840711 by Mike.Beach
[WIP] MR Calibration - Add final preview to alignment calibration step.
Change 3841667 by Mike.Beach
[WIP] MR Calibration - Allowing users to toggle through different alignment techniques.
Change 3842631 by Mike.Beach
[WIP] MR Calibration - Polishing alignment tweak step (adding preview with HMD visualization, enforcing trigger pull for snapshots, allow reseting of just adjustments).
Change 3842758 by Mike.Beach
[WIP] MR Calibration - Cleaning up & reorganizing some cruft.
Change 3842943 by Mike.Beach
[WIP] MR Calibration - More clean up & re-org
Change 3843004 by Mike.Beach
[WIP] MR Calibration - Clearing old references to defunct calibration modes.
Change 3843063 by Mike.Beach
[WIP] MR - Deleting old (unused) calibration steps.
Change 3844142 by Mike.Beach
[WIP] MR Calibration - Cleaning out old cruft in CalibrationController (old alignment calibration that was moved to a separate BP).
Change 3845341 by Keli.Hlodversson
Add lens distortion parameters to MRCaptureComponent
#jira UEVR-1060
Change 3846174 by Mike.Beach
[WIP] MR Calibration - Updating the compositing adjustment phase to run on the new modular calibration step system.
- Properties are now DataTable driven
- Split into base and sub-class (to facilitate easier property editing)
- Added HSV tweak mode for the color
#jira UEVR-1048
Change 3847032 by Mike.Beach
[WIP] MR Calibration - Misc. fixes
- Unique identification color for new alignment point
- Fixed compositing calibration so it shows the scene as it would appear in a full MR capture (no specialized calibration view)
- Fixed some of the language used in the on-screen instructions
Change 3849040 by Mike.Beach
Fixing a assert/crash in MR calibration during the garbage matte phase - garbage matte actor was pointing to the wrong calibration component.
#jira UE-54233
Change 3849778 by Mike.Beach
Fixed so the loaded MR calibration position/orientation is properly applied and visualized in the MR calibration level.
#jira UE-54251
Change 3850199 by Mike.Beach
[MR] Saving, applying, and displaying TrackingLatency and DepthOffset properties in the MR calibration process.
#jira UE-54254, UE-54235
Change 3850224 by Mike.Beach
[MR] Adding a way to omit certain MotionController components from the forced delay.
#jira UE-54255
Change 3851434 by Mike.Beach
[MR] Fixing up the projection plane depth tracking (needs to be disabled for certain calibration steps)
- Cleans up MRBillboard API
- New method to enable/disable HMD depth tracking (helpful for integrating depth camera's in the future)
- DepthOffset should now work properly
#jira UE-54321, UE-54235
Change 3853799 by Mike.Beach
[MR] Making LensDistortion a public dependency since it is included from a public header.
Change 3854608 by Mike.Beach
[MR] Fixing it so the MR capture view point is delayed by the same latency that motion controllers are when it is attached to a motions controller itself.
#jira UE-54255
Change 3855721 by Keli.Hlodversson
Implement Lens Calibration Step.
#jira UEVR-1061 Integrate OpenCV calibration into MRFramwrok calibration process (through Blueprints)
Change 3855841 by Keli.Hlodversson
Fix Linux build after cl 3855721
Change 3858718 by Mike.Beach
Allowing async node factory methods to have other out parameters that get exposed in Blueprints.
Change 3861345 by Mike.Beach
Making changes to the XRAsset API - better handling asynchronous resource loading
* Added OnLoadComplete callback & ForceSynchronous params
* Moved/Renamed related BP functions to new XRAssetFunctionLib (added redirectors)
* Added async BP versions of the (now) blocking functions
* Fixed MotionControllerComponents to now set custom materials with the load callback
Fixed MR calibration process to better display alignment models
* Switched back to using controller models for alignment (UE-54476)
* Using custom depth buffer to reject inner triangles so models are easier to make out when using transparency
* Handling SteamVR controller models with multiple materials (overriding all)
#jira UE-54455, UE-54476
Change 3863839 by Ryan.Vance
Integrating 3836507 to fix oculus depth rt related crashes
#jira UE-54595, UE-54596, UE-54618
Change 3864970 by Mike.Beach
[WIP] MR Calibration - Trying to make the controller models more visable/helpful during the alignment process (adding a outline PP effect - currently disabled since PostProcessing/Tonemapping has ill-effects on the camera texture).
Change 3865290 by Mike.Beach
[WIP] MR Calibration - Specializing alignment positioning based off VR system (Oculus vs. Vive). Adjusting initial Vive alignment model so it centers in the middle of the screen (easier to align).
Change 3865357 by Joe.Graf
Initial merge of Andrew's BackChannel and RemoteSession plugins
Change 3865379 by Joe.Graf
Change filetype since +x was accidentally added
Change 3865515 by Jules.Blok
Use center interpolation on normals for curvature-to-roughness
Reduces aliasing artifacts when using curvature-to-roughness with MSAA
#jira UEVR-684
Change 3865622 by Joe.Graf
Fixed non-unity compile errors
Change 3865716 by Joe.Graf
Attempt to fix line endings
Change 3865749 by Joe.Graf
Another non-unity file fix
Change 3865782 by Joe.Graf
Attempt to fix line endings
Change 3865789 by Joe.Graf
Another non-unity fix
Change 3865891 by Mike.Beach
Oculus SI 1.22 changes...
- OVRPlugin update
- Change to how Vulkan extensions are enumerated
Change 3867433 by Douglas.Copeland
Fixing up M_Parallax_Cheap_Inst Content
Change 3867486 by Mike.Beach
[WIP] MR Calibration - Adjusting the first alignment model for Oculus, so that it isn't clipped by the camera.
#jira UE-54684
Change 3868302 by Mike.Beach
[WIP] MR Calibration - Adding controls to toggle post-processing on/off for the MR feed, and a way to hide/show just the alignment model (and leave an outline when post-processing).
Change 3868359 by Mike.Beach
Adding licensed models for the Rift HMD and sensors.
Change 3868410 by Mike.Beach
Hiding the controller models for the Compositing Calibration step, & fixing the right hand model so it shows.
#jira UE-54744
Change 3869755 by Joe.Graf
Fixed static analysis warnings
Change 3869790 by Joe.Graf
Changed a Warning to a Log since it looks like a c&p error
Change 3869887 by Arciel.Rekman
Copying //UE4/Partner-Valve@3869880 to Dev-VR (//UE4/Dev-VR)
Change 3872154 by Mike.Beach
[WIP] MR Calibration - Adjusting Oculus alignhment samples so the model is easier to align with.
#jira UE-54745
Change 3872426 by Mike.Beach
[WIP] MR Calibration - Adjusting Vive alignment samples so the model is easier to align with.
#jira UE-54745
Change 3873216 by Nick.Atamas
Merging CL 3829164 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a
Fixed iOS app using FVector4 safe zones because that is possible in 4.19
Change 3873548 by Nick.Atamas
Merging CL 3847181 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a
#jira UE-53726
Change 3873791 by Nick.Atamas
Merging //UE4/Dev-Main@3866324 to Dev-VR (//UE4/Dev-VR) to get missing files and fixing CIS.
Change 3875678 by Mike.Beach
MR Calibration - Fixing the alignment adjustment step so it doesn't get stuck after taking samples.
#jira UE-54906
Change 3875900 by Nick.Atamas
Fixed scenario where geometries were being updated once per pin, instead of just being updated once.
Also fixes a scenario where there are no pins and geometries fail to update.
Change 3877035 by Mike.Beach
MR - Subscribing the MR framework to the PostLoad world delegate so it can spawn the MRCaptureActor needed to broadcast MR.
#jira UE-54933
Change 3877904 by Joe.Graf
Added XRTracking support to the RemoteSession plugin so that you can control the remote camera with XRTracking inputs
Change 3877955 by Joe.Graf
Added the RemoteSessionApp sample
Change 3880570 by Mike.Beach
Adopted direct-to-layer rendering API changes from Oculus
Change 3881307 by Keli.Hlodversson
Implement lens undistortion using OpenCV's initUndistortRectifyMap and a material for remapping the camera UVs based on the generated texture.
#jira UE-52781
Also changes the default size of the calibration chessboard to 9x6 inner edges.
#jira UE-54679
Change 3882054 by Mike.Beach
CIS fix - excluding new Oculus android lib (vrintegrationloader) from architechtures that it isn't compatible with (following vrapi's example).
Change 3885220 by Joe.Graf
Blacklisted the BackChannel and RemoteSession plugins on HTML5
Change 3885776 by Keli.Hlodversson
Fix static analysis warning when including OpenCV headers
Change 3888197 by Jules.Blok
Use the WorldVertexNormal for curvature-to-roughness instead of the WorldNormal.
This fixes aliasing artifacts when using curvature-to-roughness with normal maps.
Also fixes a compilation error in DistortAccumulatePS.usf
#jira UEVR-684
#jira UE-55102
Change 3891444 by Mike.Beach
Using the save object's full class name path so we can load from BP sub-object types from plugins (and discern between likenamed types).
#jira UE-54945
Change 3891447 by Mike.Beach
Labeling the spectator screen render call so it is distinguishable in profiles.
Change 3891459 by Mike.Beach
[WIP] MR - Adding a debug option to visualize the MR camera in-game.
Change 3891462 by Mike.Beach
Adding a standalone project for MR calibration app generation and testing.
#jira UEVR-1070
Change 3891696 by Mike.Beach
[WIP] MR - Now calibrating with the tracking origin at floor level so that the calibrated alignment is relative to the proper place.
#jira UE-54945
Change 3892899 by Ryan.Vance
Multi-view requires the day dream compositor.
Change 3896052 by Nick.Whiting
Duplicating fix for VR motion controller lock in CL 3889470 from 4.19 to Dev-VR
Change 3897244 by Mike.Beach
MR - Subscribing to an editor delegate so we can hook into PIE when it launches (so MR behaves like it does in -game, auto broadcasting).
#jira UE-54944
Change 3897283 by Mike.Beach
[WIP] MR - Utility material functions for converting from linear to sRGB space (and de-tonemapping) for the image from the camera feed.
#jira UE-54663
Change 3897357 by Mike.Beach
MR Calibration - Removing my own personal settings from the MRCalibration project.
Change 3897376 by Mike.Beach
MR Calibration - Initialiting the input controller's mirror var so it matches the DisplayController's (else they start out of sync).
#jira UE-55281
Change 3897381 by Mike.Beach
[WIP] MR Calibration - Deleting extra input controller actor that mistakenly got added to the scene (likely from bad CAC loading).
#jira UE-55279
Change 3897401 by Mike.Beach
MR - Using the newly added material functions (CL 3897283) to convert the camera feed from linear space to sRGB.
#jira UE-54663
Change 3897419 by Mike.Beach
MR Calibration - Updating gabage matte step initialization to use new broadcasting framework.
#jira UE-55287
Change 3897420 by Mike.Beach
MR Calibration - Followup to CL 3897357; removing more of my personal settings that accidently got checked in.
Change 3897467 by Mike.Beach
MR - Material for the camera card should be unlit.
Change 3899508 by Joe.Graf
Added SupportAR so that ARKit is used for tracking in the RemoteSessionApp
Change 3901656 by Zak.Parrish
Adding 3Lateral's kite boy head to DevVR
Change 3901705 by Mike.Beach
MR - Fixing the load/saving of the calibrated camera orientation. Using the look-at axis was not enough to reconstruct the same transform.
Change 3902026 by Mike.Beach
MR - Force activating the attached MotionController to account for failed auto-activation during initialization.
Change 3902089 by Mike.Beach
Mirroring CL 3902082 from 4.19.
Fixing an issue with the fix from CL 3889470 - fully matching the old UEnum name check (checking both the value name and the typed name, for example: "Left" and "EControllerHand::Left").
#jira UE-55153
Change 3902110 by Mike.Beach
MR - Fixing it so a MR save doesn't have to be present on load for the editor to run MR mode on PIE (can drop a MR sav with the editor already open).
Change 3902631 by Joe.Graf
Fixed a bunch of shutdown related issues for remote sessions
Change 3904885 by Mike.Beach
MR Calibration - Fixing the gabage matting mode so it properly saves/loads without stomping on existing save data.
* Switching over GarbageMattePawn (the last hold out) to be part of the modular calibration step system
* New CalibrationStep API where the implementor can request a save (TODO: port all existing steps over to new function)
* Cleaned up a lot of dead code in CalibrationController
* Refactored how the GarbageMatteActor works - switched calibration BP to be sub-class (to get implicit matte data saving)
* Added MinStartingStep so the calibration will always boot up to the CompositingCalibration step when loading a full calibration save
* Now only spawning the GarbageMatteComponent when we have garbage matte data
Change 3904915 by Mike.Beach
CIS static analysis fix.
Change 3906571 by Keli.Hlodversson
Multiple interdependent MR Calibration changes:
Move undistortion support into the UMixedRealityCaptureComponent. Update UV undistortion texture when changing lens parameters.
Use our own struct to store lens duistortion settings, as we no longer depend on the LensDistortion/Composure plugin #jira UEVR-1073
Change undistortion to happen at the right place (ie. on camera output only and not on the final composed image)
Move OpenCVHelper into its own module, as both MixedRealityFramework and MixedRealityCalibration now depend on it.
Use calculated FOV after uindistortion and apply it to capture component #jira UE-55194
Display calculated FOV progressively during lens calibration #jira UE-55191
Change 3907398 by Mike.Beach
MR Calibration - Fixing issue where the chroma key tweaks were not being applied to the preview.
Change 3908291 by Joe.Graf
Merged over the clang warning suppression for unused lambda captures
Change 3908707 by Keli.Hlodversson
Fix MR compilation on Linux. (OpenCVHelper is now enabled on that platform, even though OpenCV isn't)
Remove dependency on LensDistortion plugin.
Change 3909229 by Mike.Beach
MR Calibration - Adding debug ability to skip lens calibration (End/Backspace)
Change 3909889 by Mike.Beach
[WIP] MR - Adjusting MR matierals and default CaptureSource to fight dark camera feed and to have scene rendering go through post-processing.
#jira UE-54663, UE-55324
Change 3910454 by Mike.Beach
[WIP] MR Calibration - Switching over all calibration steps to the new save API.
Change 3910942 by Mike.Beach
[WIP] MR Calibration - Adding an accept/redo screen to the lens calibration step (and making it so you can debug skip through the initial snapshot phase).
#jira UE-55190
Change 3910943 by Mike.Beach
[WIP] MR - Removing some uneeded cruft in the MR util library.
Change 3913041 by Joe.Graf
Xcode 9.3 clang warning fixes
Change 3913146 by Joe.Graf
Changed the remote session app to default to 60 fps
Change 3914885 by Mike.Beach
CIS fixes
Change 3919437 by Nick.Whiting
UE-55674: Fix for SteamVR on Mac causing crash. SteamVR was picking the wrong texture format because we were testing against the supported ShaderModel before it was actually set. It was asking for an OpenGL device context on Mac, which isn't supported
Change 3921833 by Joe.Graf
Fixed bad defines that triggered errors when fixing the XCode 9.3 Beta errors
#jira: UE-55752
Change 3926388 by Ryan.Vance
#jira UE-55666
Precision conversion nonsense
Change 3931840 by Mike.Beach
Setting the new RemoteSession plugin to not auto-host.
#jira UE-55841
Change 3626718 by Ryan.Vance
Oculus changes for SI1.16 and SI1.17
Adds Vulkan and D3D12 improvements/fixes for VR, depth target allocation for VR plugins, Android thread naming and a number of new Oculus features.
[CL 3932718 by Jeff Fisher in Main branch]
2018-03-07 17:03:49 -05:00
|
|
|
FName FXRMotionControllerBase::HMDSourceId(TEXT("HMD"));
|
|
|
|
|
|
|
|
|
|
namespace XRMotionControllerBase_Impl
|
|
|
|
|
{
|
2020-09-24 00:43:27 -04:00
|
|
|
static const FName LegacySources[] = {
|
|
|
|
|
{ FXRMotionControllerBase::LeftHandSourceId, }, // EControllerHand::Left
|
|
|
|
|
{ FXRMotionControllerBase::RightHandSourceId }, // EControllerHand::Right
|
|
|
|
|
{ TEXT("AnyHand") }, // EControllerHand::AnyHand
|
|
|
|
|
{ TEXT("Pad") }, // EControllerHand::Pad
|
|
|
|
|
{ TEXT("ExternalCamera") }, // EControllerHand::ExternalCamera
|
|
|
|
|
{ TEXT("Gun") }, // EControllerHand::Gun
|
|
|
|
|
{ TEXT("Special_1") }, // EControllerHand::Special_1
|
|
|
|
|
{ TEXT("Special_2") }, // EControllerHand::Special_2
|
|
|
|
|
{ TEXT("Special_3") }, // EControllerHand::Special_3
|
|
|
|
|
{ TEXT("Special_4") }, // EControllerHand::Special_4
|
|
|
|
|
{ TEXT("Special_5") }, // EControllerHand::Special_5
|
|
|
|
|
{ TEXT("Special_6") }, // EControllerHand::Special_6
|
|
|
|
|
{ TEXT("Special_7") }, // EControllerHand::Special_7
|
|
|
|
|
{ TEXT("Special_8") }, // EControllerHand::Special_8
|
|
|
|
|
{ TEXT("Special_9") }, // EControllerHand::Special_9
|
|
|
|
|
{ TEXT("Special_10") }, // EControllerHand::Special_10
|
|
|
|
|
{ TEXT("Special_11") } // EControllerHand::Special_11
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3931840)
#lockdown Nick.Penwarden
#rb merge
============================
MAJOR FEATURES & CHANGES
============================
Change 3754252 by Mike.Beach
Mirroring CL 3723722 from 4.18.1
Hotfix update from Oculus.
- Introduce dash support by adding an Oculus config setting (that is off by default)
- Move submission of the near plane╞s depth from a fixed one at texture allocation time to an every-frame one, which is needed for correct depth support in games that have a ⌠god mode÷ with a smaller worldtometersscale
#jira UE-51728
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3795928 by Joe.Conley
PR #2514: make VR preview work with dedicated server mode in editor (Contributed by joelmcginnis)
#github https://github.com/EpicGames/UnrealEngine/pull/2514
Change 3798048 by Mike.Beach
[WIP] MR - Improving on the MR alignment calibration process.
#jira UEVR-1047
Change 3798388 by Mike.Beach
MR - Loading the OpenCv dll along with the calibration module. Adding a WITH_OPENCV define that we can wrap blocks with.
Change 3798396 by Mike.Beach
MR - Making use of OpenCV's eigen solver for quaternion averaging, and wrapping my use of OpenCV with the new define.
Change 3798668 by Nick.Whiting
Merging CL 3794238 from Partner-Valve (Fixes for uninitialized memory after vkGetPhysicalDeviceProperties2KHR)
Change 3800540 by Keli.Hlodversson
Simplify loading of OpenCV dll by defining the dll name and relative path in the third party build script (OpenCV.Build.cs).
Remove redefinition of WITH_OPENCV from MixedRealityCalibration.Build.cs.
Add OpenCVHelper.h with macros that should be used to wrap opencv includes
Change 3801194 by Keli.Hlodversson
Fix relative path in OpenCV.build.cs
Change 3801853 by Mike.Beach
Fixing crash on nullptr.
Change 3802176 by Mike.Beach
Switching out the wrong file that was submitted in CL 3801853 - fixing a crash in MotionControllerComponent.
Change 3802189 by Mike.Beach
MR - Fix to rotation averaging (was not correctly populating quaternion matrix).
Change 3807785 by Douglas.Copeland
Replacing deprecated nodes in QA_MoCoAll BP
Change 3810205 by Chance.Ivey
Removing Old Moble AR Template
Change 3810482 by Nick.Whiting
Updating to SteamVR 1.0.11
Change 3810488 by Nick.Whiting
Adapting CL 379023 from Partner-Valve, SteamVR : fix lockup, improve performance , use PostPresentHandoff and SubmitExplicitTimingData APIs
Change 3810502 by Nick.Whiting
Adding LUID detection on non-Mac platforms for SteamVR
Change 3811483 by Joe.Graf
Fixed Mac compiling with SteamVR due to an initialized variable being used
Change 3811488 by Keli.Hlodversson
Initial class for performing camera calibration via OpenCV
#jira UE-52726
Change 3811496 by Mike.Beach
CIS fix - pragma'ing out several OpenCV, ThirdParty warnings.
#jira UE-53558
Change 3811560 by Mike.Beach
CIS fixes - Initializing an unitialized var in SteamVR & pragma'ing out some more warnings for OpenCV.
#jira UE-53557, UE-53558
Change 3812051 by Mike.Beach
CIS fix - switching over to using new 'PublicDefinitions' member.
Change 3813131 by Jeff.Fisher
Opacity mask gradient test content for msaa.
#jira UEVR-1049
Change 3814154 by Douglas.Copeland
Rebuilding lighting for TM-VRSmoke
Change 3814248 by Mike.Beach
Adopting Occulus' SI1.21 changes...
Added Oculus Go controller meshes to UE4
Enable sched_fifo and RT/GT affinities back in UE4
Only activate the masking system for the translucent objects (only ones where masking is necessary)
Upgrade to OVRPlugin 1.21's new APIs for display frequency and integration into blueprint
Fixes the 10fps lock not being setup when an app is launched with the HMD not mounted
Add blueprint definition to get device name from ovrplugin
Add support for tiled multires and GPU % reporting
Rejected changes in:
OculusFunctionLibrary.h
DefaultXRCamera.cpp
SceneRenderTargets.cpp
Change 3820224 by Mike.Beach
[WIP] MR Calibration
- Correcting orientation estimation to average sampled forward/up vectors
- Converting functionality for intersecting approximate frustum rays to C++ (to better align with frustum far points)
- Switched alignment points' PlanarId to be 3D, so we know how they relate to each other
- Stubbing in new alignment tweak mode
Change 3820475 by Ryan.Vance
#jira UEVR-1055
We need to use 0 for a sentinel value on non-metal rhi's.
Change 3821771 by Mike.Beach
CIS fixes
Change 3824637 by Mike.Beach
[WIP] MR Calibration process - polishing alignment tweak step (only needing rendertarget/img processing functions from demo branch).
Change 3828925 by Mike.Beach
CIS fix (was using deprecated IImageWrapperPtr)
Change 3830898 by Jeff.Fisher
Improving ActorComponent.h include path somone on udn noticed wasn't quite right.
Change 3831597 by Mike.Beach
[WIP] MR Calibration - Alignment tweaking now takes snapshots and presents a collage for you to align with.
#jira UEVR-1042
Change 3837752 by Keli.Hlodversson
Add option to pass UTextureRenderTarget2D directly to the OpenCVCalibrator instead of using temporary image files
#jira UE-52728
Change 3839309 by Mike.Beach
MotionController support for HMD tracking.
Change 3839314 by Mike.Beach
Fixing a crash in MR calibration, where we were expecting a returned list to be ordered and it wasn't (caused indexing out of bounds).
Change 3839316 by Mike.Beach
[WIP] MR Calibration - Stubbing in support for calibration using the HMD model (instead of controllers)
Change 3840711 by Mike.Beach
[WIP] MR Calibration - Add final preview to alignment calibration step.
Change 3841667 by Mike.Beach
[WIP] MR Calibration - Allowing users to toggle through different alignment techniques.
Change 3842631 by Mike.Beach
[WIP] MR Calibration - Polishing alignment tweak step (adding preview with HMD visualization, enforcing trigger pull for snapshots, allow reseting of just adjustments).
Change 3842758 by Mike.Beach
[WIP] MR Calibration - Cleaning up & reorganizing some cruft.
Change 3842943 by Mike.Beach
[WIP] MR Calibration - More clean up & re-org
Change 3843004 by Mike.Beach
[WIP] MR Calibration - Clearing old references to defunct calibration modes.
Change 3843063 by Mike.Beach
[WIP] MR - Deleting old (unused) calibration steps.
Change 3844142 by Mike.Beach
[WIP] MR Calibration - Cleaning out old cruft in CalibrationController (old alignment calibration that was moved to a separate BP).
Change 3845341 by Keli.Hlodversson
Add lens distortion parameters to MRCaptureComponent
#jira UEVR-1060
Change 3846174 by Mike.Beach
[WIP] MR Calibration - Updating the compositing adjustment phase to run on the new modular calibration step system.
- Properties are now DataTable driven
- Split into base and sub-class (to facilitate easier property editing)
- Added HSV tweak mode for the color
#jira UEVR-1048
Change 3847032 by Mike.Beach
[WIP] MR Calibration - Misc. fixes
- Unique identification color for new alignment point
- Fixed compositing calibration so it shows the scene as it would appear in a full MR capture (no specialized calibration view)
- Fixed some of the language used in the on-screen instructions
Change 3849040 by Mike.Beach
Fixing a assert/crash in MR calibration during the garbage matte phase - garbage matte actor was pointing to the wrong calibration component.
#jira UE-54233
Change 3849778 by Mike.Beach
Fixed so the loaded MR calibration position/orientation is properly applied and visualized in the MR calibration level.
#jira UE-54251
Change 3850199 by Mike.Beach
[MR] Saving, applying, and displaying TrackingLatency and DepthOffset properties in the MR calibration process.
#jira UE-54254, UE-54235
Change 3850224 by Mike.Beach
[MR] Adding a way to omit certain MotionController components from the forced delay.
#jira UE-54255
Change 3851434 by Mike.Beach
[MR] Fixing up the projection plane depth tracking (needs to be disabled for certain calibration steps)
- Cleans up MRBillboard API
- New method to enable/disable HMD depth tracking (helpful for integrating depth camera's in the future)
- DepthOffset should now work properly
#jira UE-54321, UE-54235
Change 3853799 by Mike.Beach
[MR] Making LensDistortion a public dependency since it is included from a public header.
Change 3854608 by Mike.Beach
[MR] Fixing it so the MR capture view point is delayed by the same latency that motion controllers are when it is attached to a motions controller itself.
#jira UE-54255
Change 3855721 by Keli.Hlodversson
Implement Lens Calibration Step.
#jira UEVR-1061 Integrate OpenCV calibration into MRFramwrok calibration process (through Blueprints)
Change 3855841 by Keli.Hlodversson
Fix Linux build after cl 3855721
Change 3858718 by Mike.Beach
Allowing async node factory methods to have other out parameters that get exposed in Blueprints.
Change 3861345 by Mike.Beach
Making changes to the XRAsset API - better handling asynchronous resource loading
* Added OnLoadComplete callback & ForceSynchronous params
* Moved/Renamed related BP functions to new XRAssetFunctionLib (added redirectors)
* Added async BP versions of the (now) blocking functions
* Fixed MotionControllerComponents to now set custom materials with the load callback
Fixed MR calibration process to better display alignment models
* Switched back to using controller models for alignment (UE-54476)
* Using custom depth buffer to reject inner triangles so models are easier to make out when using transparency
* Handling SteamVR controller models with multiple materials (overriding all)
#jira UE-54455, UE-54476
Change 3863839 by Ryan.Vance
Integrating 3836507 to fix oculus depth rt related crashes
#jira UE-54595, UE-54596, UE-54618
Change 3864970 by Mike.Beach
[WIP] MR Calibration - Trying to make the controller models more visable/helpful during the alignment process (adding a outline PP effect - currently disabled since PostProcessing/Tonemapping has ill-effects on the camera texture).
Change 3865290 by Mike.Beach
[WIP] MR Calibration - Specializing alignment positioning based off VR system (Oculus vs. Vive). Adjusting initial Vive alignment model so it centers in the middle of the screen (easier to align).
Change 3865357 by Joe.Graf
Initial merge of Andrew's BackChannel and RemoteSession plugins
Change 3865379 by Joe.Graf
Change filetype since +x was accidentally added
Change 3865515 by Jules.Blok
Use center interpolation on normals for curvature-to-roughness
Reduces aliasing artifacts when using curvature-to-roughness with MSAA
#jira UEVR-684
Change 3865622 by Joe.Graf
Fixed non-unity compile errors
Change 3865716 by Joe.Graf
Attempt to fix line endings
Change 3865749 by Joe.Graf
Another non-unity file fix
Change 3865782 by Joe.Graf
Attempt to fix line endings
Change 3865789 by Joe.Graf
Another non-unity fix
Change 3865891 by Mike.Beach
Oculus SI 1.22 changes...
- OVRPlugin update
- Change to how Vulkan extensions are enumerated
Change 3867433 by Douglas.Copeland
Fixing up M_Parallax_Cheap_Inst Content
Change 3867486 by Mike.Beach
[WIP] MR Calibration - Adjusting the first alignment model for Oculus, so that it isn't clipped by the camera.
#jira UE-54684
Change 3868302 by Mike.Beach
[WIP] MR Calibration - Adding controls to toggle post-processing on/off for the MR feed, and a way to hide/show just the alignment model (and leave an outline when post-processing).
Change 3868359 by Mike.Beach
Adding licensed models for the Rift HMD and sensors.
Change 3868410 by Mike.Beach
Hiding the controller models for the Compositing Calibration step, & fixing the right hand model so it shows.
#jira UE-54744
Change 3869755 by Joe.Graf
Fixed static analysis warnings
Change 3869790 by Joe.Graf
Changed a Warning to a Log since it looks like a c&p error
Change 3869887 by Arciel.Rekman
Copying //UE4/Partner-Valve@3869880 to Dev-VR (//UE4/Dev-VR)
Change 3872154 by Mike.Beach
[WIP] MR Calibration - Adjusting Oculus alignhment samples so the model is easier to align with.
#jira UE-54745
Change 3872426 by Mike.Beach
[WIP] MR Calibration - Adjusting Vive alignment samples so the model is easier to align with.
#jira UE-54745
Change 3873216 by Nick.Atamas
Merging CL 3829164 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a
Fixed iOS app using FVector4 safe zones because that is possible in 4.19
Change 3873548 by Nick.Atamas
Merging CL 3847181 using //UE4/Dev-VR=>//Tasks/UE4/Dev-VR-4.19a
#jira UE-53726
Change 3873791 by Nick.Atamas
Merging //UE4/Dev-Main@3866324 to Dev-VR (//UE4/Dev-VR) to get missing files and fixing CIS.
Change 3875678 by Mike.Beach
MR Calibration - Fixing the alignment adjustment step so it doesn't get stuck after taking samples.
#jira UE-54906
Change 3875900 by Nick.Atamas
Fixed scenario where geometries were being updated once per pin, instead of just being updated once.
Also fixes a scenario where there are no pins and geometries fail to update.
Change 3877035 by Mike.Beach
MR - Subscribing the MR framework to the PostLoad world delegate so it can spawn the MRCaptureActor needed to broadcast MR.
#jira UE-54933
Change 3877904 by Joe.Graf
Added XRTracking support to the RemoteSession plugin so that you can control the remote camera with XRTracking inputs
Change 3877955 by Joe.Graf
Added the RemoteSessionApp sample
Change 3880570 by Mike.Beach
Adopted direct-to-layer rendering API changes from Oculus
Change 3881307 by Keli.Hlodversson
Implement lens undistortion using OpenCV's initUndistortRectifyMap and a material for remapping the camera UVs based on the generated texture.
#jira UE-52781
Also changes the default size of the calibration chessboard to 9x6 inner edges.
#jira UE-54679
Change 3882054 by Mike.Beach
CIS fix - excluding new Oculus android lib (vrintegrationloader) from architechtures that it isn't compatible with (following vrapi's example).
Change 3885220 by Joe.Graf
Blacklisted the BackChannel and RemoteSession plugins on HTML5
Change 3885776 by Keli.Hlodversson
Fix static analysis warning when including OpenCV headers
Change 3888197 by Jules.Blok
Use the WorldVertexNormal for curvature-to-roughness instead of the WorldNormal.
This fixes aliasing artifacts when using curvature-to-roughness with normal maps.
Also fixes a compilation error in DistortAccumulatePS.usf
#jira UEVR-684
#jira UE-55102
Change 3891444 by Mike.Beach
Using the save object's full class name path so we can load from BP sub-object types from plugins (and discern between likenamed types).
#jira UE-54945
Change 3891447 by Mike.Beach
Labeling the spectator screen render call so it is distinguishable in profiles.
Change 3891459 by Mike.Beach
[WIP] MR - Adding a debug option to visualize the MR camera in-game.
Change 3891462 by Mike.Beach
Adding a standalone project for MR calibration app generation and testing.
#jira UEVR-1070
Change 3891696 by Mike.Beach
[WIP] MR - Now calibrating with the tracking origin at floor level so that the calibrated alignment is relative to the proper place.
#jira UE-54945
Change 3892899 by Ryan.Vance
Multi-view requires the day dream compositor.
Change 3896052 by Nick.Whiting
Duplicating fix for VR motion controller lock in CL 3889470 from 4.19 to Dev-VR
Change 3897244 by Mike.Beach
MR - Subscribing to an editor delegate so we can hook into PIE when it launches (so MR behaves like it does in -game, auto broadcasting).
#jira UE-54944
Change 3897283 by Mike.Beach
[WIP] MR - Utility material functions for converting from linear to sRGB space (and de-tonemapping) for the image from the camera feed.
#jira UE-54663
Change 3897357 by Mike.Beach
MR Calibration - Removing my own personal settings from the MRCalibration project.
Change 3897376 by Mike.Beach
MR Calibration - Initialiting the input controller's mirror var so it matches the DisplayController's (else they start out of sync).
#jira UE-55281
Change 3897381 by Mike.Beach
[WIP] MR Calibration - Deleting extra input controller actor that mistakenly got added to the scene (likely from bad CAC loading).
#jira UE-55279
Change 3897401 by Mike.Beach
MR - Using the newly added material functions (CL 3897283) to convert the camera feed from linear space to sRGB.
#jira UE-54663
Change 3897419 by Mike.Beach
MR Calibration - Updating gabage matte step initialization to use new broadcasting framework.
#jira UE-55287
Change 3897420 by Mike.Beach
MR Calibration - Followup to CL 3897357; removing more of my personal settings that accidently got checked in.
Change 3897467 by Mike.Beach
MR - Material for the camera card should be unlit.
Change 3899508 by Joe.Graf
Added SupportAR so that ARKit is used for tracking in the RemoteSessionApp
Change 3901656 by Zak.Parrish
Adding 3Lateral's kite boy head to DevVR
Change 3901705 by Mike.Beach
MR - Fixing the load/saving of the calibrated camera orientation. Using the look-at axis was not enough to reconstruct the same transform.
Change 3902026 by Mike.Beach
MR - Force activating the attached MotionController to account for failed auto-activation during initialization.
Change 3902089 by Mike.Beach
Mirroring CL 3902082 from 4.19.
Fixing an issue with the fix from CL 3889470 - fully matching the old UEnum name check (checking both the value name and the typed name, for example: "Left" and "EControllerHand::Left").
#jira UE-55153
Change 3902110 by Mike.Beach
MR - Fixing it so a MR save doesn't have to be present on load for the editor to run MR mode on PIE (can drop a MR sav with the editor already open).
Change 3902631 by Joe.Graf
Fixed a bunch of shutdown related issues for remote sessions
Change 3904885 by Mike.Beach
MR Calibration - Fixing the gabage matting mode so it properly saves/loads without stomping on existing save data.
* Switching over GarbageMattePawn (the last hold out) to be part of the modular calibration step system
* New CalibrationStep API where the implementor can request a save (TODO: port all existing steps over to new function)
* Cleaned up a lot of dead code in CalibrationController
* Refactored how the GarbageMatteActor works - switched calibration BP to be sub-class (to get implicit matte data saving)
* Added MinStartingStep so the calibration will always boot up to the CompositingCalibration step when loading a full calibration save
* Now only spawning the GarbageMatteComponent when we have garbage matte data
Change 3904915 by Mike.Beach
CIS static analysis fix.
Change 3906571 by Keli.Hlodversson
Multiple interdependent MR Calibration changes:
Move undistortion support into the UMixedRealityCaptureComponent. Update UV undistortion texture when changing lens parameters.
Use our own struct to store lens duistortion settings, as we no longer depend on the LensDistortion/Composure plugin #jira UEVR-1073
Change undistortion to happen at the right place (ie. on camera output only and not on the final composed image)
Move OpenCVHelper into its own module, as both MixedRealityFramework and MixedRealityCalibration now depend on it.
Use calculated FOV after uindistortion and apply it to capture component #jira UE-55194
Display calculated FOV progressively during lens calibration #jira UE-55191
Change 3907398 by Mike.Beach
MR Calibration - Fixing issue where the chroma key tweaks were not being applied to the preview.
Change 3908291 by Joe.Graf
Merged over the clang warning suppression for unused lambda captures
Change 3908707 by Keli.Hlodversson
Fix MR compilation on Linux. (OpenCVHelper is now enabled on that platform, even though OpenCV isn't)
Remove dependency on LensDistortion plugin.
Change 3909229 by Mike.Beach
MR Calibration - Adding debug ability to skip lens calibration (End/Backspace)
Change 3909889 by Mike.Beach
[WIP] MR - Adjusting MR matierals and default CaptureSource to fight dark camera feed and to have scene rendering go through post-processing.
#jira UE-54663, UE-55324
Change 3910454 by Mike.Beach
[WIP] MR Calibration - Switching over all calibration steps to the new save API.
Change 3910942 by Mike.Beach
[WIP] MR Calibration - Adding an accept/redo screen to the lens calibration step (and making it so you can debug skip through the initial snapshot phase).
#jira UE-55190
Change 3910943 by Mike.Beach
[WIP] MR - Removing some uneeded cruft in the MR util library.
Change 3913041 by Joe.Graf
Xcode 9.3 clang warning fixes
Change 3913146 by Joe.Graf
Changed the remote session app to default to 60 fps
Change 3914885 by Mike.Beach
CIS fixes
Change 3919437 by Nick.Whiting
UE-55674: Fix for SteamVR on Mac causing crash. SteamVR was picking the wrong texture format because we were testing against the supported ShaderModel before it was actually set. It was asking for an OpenGL device context on Mac, which isn't supported
Change 3921833 by Joe.Graf
Fixed bad defines that triggered errors when fixing the XCode 9.3 Beta errors
#jira: UE-55752
Change 3926388 by Ryan.Vance
#jira UE-55666
Precision conversion nonsense
Change 3931840 by Mike.Beach
Setting the new RemoteSession plugin to not auto-host.
#jira UE-55841
Change 3626718 by Ryan.Vance
Oculus changes for SI1.16 and SI1.17
Adds Vulkan and D3D12 improvements/fixes for VR, depth target allocation for VR plugins, Android thread naming and a number of new Oculus features.
[CL 3932718 by Jeff Fisher in Main branch]
2018-03-07 17:03:49 -05:00
|
|
|
};
|
|
|
|
|
}
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
|
|
|
|
|
bool FXRMotionControllerBase::GetControllerOrientationAndPosition(const int32 ControllerIndex, const FName MotionSource, FRotator& OutOrientation, FVector& OutPosition, float WorldToMetersScale) const
|
|
|
|
|
{
|
|
|
|
|
bool bSucess = false;
|
|
|
|
|
if (ControllerIndex != INDEX_NONE)
|
|
|
|
|
{
|
|
|
|
|
EControllerHand DeviceHand;
|
|
|
|
|
if (GetHandEnumForSourceName(MotionSource, DeviceHand))
|
|
|
|
|
{
|
|
|
|
|
if (DeviceHand == EControllerHand::AnyHand)
|
|
|
|
|
{
|
|
|
|
|
bSucess = GetControllerOrientationAndPosition(ControllerIndex, EControllerHand::Left, OutOrientation, OutPosition, WorldToMetersScale);
|
|
|
|
|
if (!bSucess)
|
|
|
|
|
{
|
|
|
|
|
bSucess = GetControllerOrientationAndPosition(ControllerIndex, EControllerHand::Right, OutOrientation, OutPosition, WorldToMetersScale);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
bSucess = GetControllerOrientationAndPosition(ControllerIndex, DeviceHand, OutOrientation, OutPosition, WorldToMetersScale);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return bSucess;
|
|
|
|
|
}
|
|
|
|
|
|
2021-11-23 11:41:31 -05:00
|
|
|
bool FXRMotionControllerBase::GetControllerOrientationAndPositionForTime(const int32 ControllerIndex, const FName MotionSource, FTimespan Time, bool& OutTimeWasUsed, FRotator& OutOrientation, FVector& OutPosition, bool& OutbProvidedLinearVelocity, FVector& OutLinearVelocity, bool& OutbProvidedAngularVelocity, FVector& OutAngularVelocityRadPerSec, bool& OutbProvidedLinearAcceleration, FVector& OutLinearAcceleration, float WorldToMetersScale) const
|
2020-09-24 00:43:27 -04:00
|
|
|
{
|
|
|
|
|
// Default implementation simply ignores the Timespan, no additional accuracy is provided by this call, velocities are not provided.
|
|
|
|
|
OutTimeWasUsed = false;
|
|
|
|
|
OutbProvidedLinearVelocity = false;
|
|
|
|
|
OutbProvidedAngularVelocity = false;
|
2021-11-23 11:41:31 -05:00
|
|
|
OutbProvidedLinearAcceleration = false;
|
2020-09-24 00:43:27 -04:00
|
|
|
return GetControllerOrientationAndPosition(ControllerIndex, MotionSource, OutOrientation, OutPosition, WorldToMetersScale);
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
ETrackingStatus FXRMotionControllerBase::GetControllerTrackingStatus(const int32 ControllerIndex, const FName MotionSource) const
|
|
|
|
|
{
|
|
|
|
|
if (ControllerIndex != INDEX_NONE)
|
|
|
|
|
{
|
|
|
|
|
EControllerHand DeviceHand;
|
|
|
|
|
if (GetHandEnumForSourceName(MotionSource, DeviceHand))
|
|
|
|
|
{
|
|
|
|
|
if (DeviceHand == EControllerHand::AnyHand)
|
|
|
|
|
{
|
|
|
|
|
FRotator ThrowawayOrientation;
|
|
|
|
|
FVector ThrowawayPosition;
|
|
|
|
|
// we've moved explicit handling of the 'AnyHand' source into this class from UMotionControllerComponent,
|
|
|
|
|
// to maintain behavior we use the return value of GetControllerOrientationAndPosition() to determine which hand's
|
|
|
|
|
// status we should check
|
|
|
|
|
if (GetControllerOrientationAndPosition(ControllerIndex, EControllerHand::Left, ThrowawayOrientation, ThrowawayPosition, 100.f))
|
|
|
|
|
{
|
|
|
|
|
return GetControllerTrackingStatus(ControllerIndex, EControllerHand::Left);
|
|
|
|
|
}
|
|
|
|
|
return GetControllerTrackingStatus(ControllerIndex, EControllerHand::Right);
|
|
|
|
|
}
|
|
|
|
|
return GetControllerTrackingStatus(ControllerIndex, DeviceHand);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return ETrackingStatus::NotTracked;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FXRMotionControllerBase::EnumerateSources(TArray<FMotionControllerSource>& SourcesOut) const
|
|
|
|
|
{
|
2020-09-24 00:43:27 -04:00
|
|
|
const int32 LegaceSourcesCount = UE_ARRAY_COUNT(XRMotionControllerBase_Impl::LegacySources);
|
|
|
|
|
for (int32 Index = 0; Index < LegaceSourcesCount; ++Index)
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
{
|
2020-09-24 00:43:27 -04:00
|
|
|
SourcesOut.Add(XRMotionControllerBase_Impl::LegacySources[Index]);
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool FXRMotionControllerBase::GetHandEnumForSourceName(const FName Source, EControllerHand& OutHand)
|
|
|
|
|
{
|
2020-09-24 00:43:27 -04:00
|
|
|
static TMap<FName, EControllerHand> MotionSourceToEControllerHandMap;
|
|
|
|
|
if (MotionSourceToEControllerHandMap.Num() == 0)
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
{
|
2020-09-24 00:43:27 -04:00
|
|
|
// Motion source names that map to legacy EControllerHand values
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(FXRMotionControllerBase::LeftHandSourceId, EControllerHand::Left);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(FXRMotionControllerBase::RightHandSourceId, EControllerHand::Right);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("AnyHand"), EControllerHand::AnyHand);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Pad"), EControllerHand::Pad);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("ExternalCamera"), EControllerHand::ExternalCamera);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Gun"), EControllerHand::Gun);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_1"), EControllerHand::Special_1);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_2"), EControllerHand::Special_2);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_3"), EControllerHand::Special_3);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_4"), EControllerHand::Special_4);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_5"), EControllerHand::Special_5);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_6"), EControllerHand::Special_6);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_7"), EControllerHand::Special_7);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_8"), EControllerHand::Special_8);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_9"), EControllerHand::Special_9);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_10"), EControllerHand::Special_10);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("Special_11"), EControllerHand::Special_11);
|
|
|
|
|
// EControllerHand enum names mapped to EControllerHand enum values
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Left"), EControllerHand::Left);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Right"), EControllerHand::Right);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::AnyHand"), EControllerHand::AnyHand);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Pad"), EControllerHand::Pad);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::ExternalCamera"), EControllerHand::ExternalCamera);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Gun"), EControllerHand::Gun);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_1"), EControllerHand::Special_1);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_2"), EControllerHand::Special_2);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_3"), EControllerHand::Special_3);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_4"), EControllerHand::Special_4);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_5"), EControllerHand::Special_5);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_6"), EControllerHand::Special_6);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_7"), EControllerHand::Special_7);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_8"), EControllerHand::Special_8);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_9"), EControllerHand::Special_9);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_10"), EControllerHand::Special_10);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("EControllerHand::Special_11"), EControllerHand::Special_11);
|
|
|
|
|
// Newer source names that can usefully map to legacy EControllerHand values
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("LeftGrip"), EControllerHand::Left);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("RightGrip"), EControllerHand::Right);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("LeftAim"), EControllerHand::Left);
|
|
|
|
|
MotionSourceToEControllerHandMap.Add(TEXT("RightAim"), EControllerHand::Right);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EControllerHand* FoundEnum = MotionSourceToEControllerHandMap.Find(Source);
|
|
|
|
|
if (FoundEnum != nullptr)
|
|
|
|
|
{
|
|
|
|
|
OutHand = *FoundEnum;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
return false;
|
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3794640)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3543285 by Nick.Atamas
Merging using //UE4/Release-4.17/... -> //UE4/Dev-VR/... :
Fixed UEVR-852:
Adjusted Google Tango Plugins copyright to Copyright Google 2017.
Removed Apache 2.0 license.
Change 3767306 by Mike.Beach
Adopting a set of video capture fixes from Darren Pegg:
"Windows 7 : fix capture problems by reinitializing tracks, only active on windows < 8.0."
+ mirroring CL 3741444 ("Add windows 10 support to the application manifest"), which was needed for this
#jira UE-49870, UE-50217, UE-50227, UE-50224
Change 3767317 by Mike.Beach
[MR] Fixing up the mixed reality framework's async BP nodes (handling MediaPlayer assets set to not play-on-open - preventing a crash and keeping the stream playing), so they work with the changes to the WMF media player introduced in CL 3767306.
#jira UEVR-910
Change 3767484 by Mike.Beach
Correcting user facing messages/tooltips to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3767489 by Mike.Beach
Correcting source comment to use the proper trademarked "Gear VR" name (not "GearVR" without a space).
Change 3768155 by Ryan.Vance
#jira UE-52089
Fixing cardboard only rendering in one eye.
Change 3769011 by Douglas.Copeland
Removing Clipping Planes from TM-HMDNodes (Level and LevelBP. Feature removed). Rebuilding Map.
Change 3769195 by Douglas.Copeland
Removing AA PostProcessing Volumes in TM-VRSmoke. AA does not change via PP Volumes since 4.14
Change 3769256 by Douglas.Copeland
Removing TM-VRLandscapeFoliage Map. Never used in suite/bloat.
Change 3769453 by Douglas.Copeland
Resaving content to resolve engine content warning
Change 3771076 by Keli.Hlodversson
Add missing const to a ref parameter.
Change 3771141 by Keli.Hlodversson
Fix world locked stereo layer positions on SteamVR when there is a camera component representing the HMD.
#jira UE-52353
Change 3771602 by Mike.Beach
Replacing temp Rift controller models with official ones from Oculus.
#jira UEVR-830
Change 3774877 by Mike.Beach
Refining MR calibration (WIP)...
- New alignment process [WIP]
- More modular calibration steps (for easier refactoring)
- Stubbed in phase for lens calibration
- Centralized interface for debug (dev) settings
Change 3774880 by Mike.Beach
Adopted changes from Oculus (SI1.21); stubbing in functionality for:
- Lens matched shading
- Dynamic screen refresh rate switching
- Added BP API calls: GetGPUUtilization, GetTiledMultiresLevel , SetTiledMultiresLevel, GetDeviceName, GetAvailableDisplayFrequencies, GetCurrentDisplayFrequency, SetDisplayFrequency
Change 3774922 by Mike.Beach
Attempting CIS fix.
Change 3774972 by Mike.Beach
Making it so you can override the material on model components from the various XR systems (via MotionController component).
Change 3774974 by Mike.Beach
Missing assets from CL 3774877.
Change 3775128 by Nick.Atamas
Merging //UE4/Partner-Google-VR @ CL 3770408 to Dev-VR (//UE4/Dev-VR)
Change 3776135 by Mike.Beach
MR [WIP] - Updating the calibration save process .
- Now save after each calibration step
- Stubbed in save data for lens distortion
- Track progress and load you to the first incomplete calibration step
Change 3777110 by Mike.Beach
[WIP] MR - Adding ability to easily mirror monitor screen.
Change 3777146 by Mike.Beach
Removing superflous ensure that some of us were hitting.
Change 3777417 by Mike.Beach
[WIP] MR - Fixing alignment adjustment controls to match mirrored monitor.
Change 3777436 by Nick.Atamas
Initial check in of AugmentedReality module and ARKit support for it.
Also adding QAARApp to test the use of these systems.
Change 3778009 by Nick.Atamas
Missing file
Change 3778067 by Nick.Atamas
Fixing CIS
Change 3778155 by Nick.Atamas
Spot merging CL 3777463 //UE4/Partner-Google-VR to //UE4/Dev-VR
Change 3778209 by Nick.Atamas
More CIS fixing.
Change 3778821 by Mike.Beach
[WIP] MR - Moving the alignment point system to pull from an easily modifiable DataTable (so we can change easily).
Change 3779431 by Joe.Graf
Merging using //UE4/Dev-Editor/_to_//UE4/Dev-VR/
Change 3780822 by Keli.Hlodversson
Adding OpenCV binaries plus build script to automatically fetch and rebuild it
#jira UE-52725
Change 3781037 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781046 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781049 by Joe.Graf
Merging hlslcc changes using //UE4/Dev-Rendering/__to__//UE4/Dev-VR/
Change 3781129 by Joe.Graf
Fixed the warning generated by OpenCV.Build.cs
Change 3783476 by Mike.Beach
Attempt at fixing Win32 CIS errors.
Change 3783845 by Martin.Wilson
Allow deprecated properties to still be accessed in blueprints so long as they have Blueprint Getters and Setters. Allows us to have a clean deprecation path for blueprint accessed properties
Change 3784397 by Jeff.Fisher
UE-51390 GitHub 4141 : Allow VR plugins to have multiple viewports and rotated eye orientations
PR #4141: Allow VR plugins to have multiple viewports and rotated eye orientations (Contributed by AustinPuk-Conffx)
-This loosens some assumptions in the api about how many stereo render passes there are to allow plugins to implement more than we currently use for any of our plugins.
-It also starts to replace some comparison test logic with the stereo pass enum values with IStereoRendering helper functions, do avoid duplicating the expressions all over.
#jira UE-51390
#review-3779148
Change 3784545 by Jeff.Fisher
Build fix for cl 3784397, made a local variable name unique.
Change 3784553 by Chance.Ivey
Stubbing Mobile AR Template files. Needs logic, icons and copy.
Change 3784570 by Jeff.Fisher
fix for cl 3784397
-Reverted monoscopicfarfield default change, accidentaly submit
Change 3785134 by Mike.Beach
[WIP] MR - Correcting some of the alignment algorithms & adding a preview key for the new alignment.
Change 3787180 by Mike.Beach
Fixing up CIS
#jira UE-52998, UE-52996
Change 3787272 by Mike.Beach
Adopted changes from the anim team - Followup to CL 3787240.
The LiveLink framework is now implementing the new IMotionController interface, and supplying tracking+ data through the engine's MotionController components.
#jira UE-52783
Change 3787454 by Jeff.Fisher
Adding brackets after if as specific in code review.
Change 3787591 by Keli.Hlodversson
Add tps files for OpenCV
Change 3788478 by Mike.Beach
Switching over the MR calibration process to use the new MotionController source ID (rather than the deprecated Hand enum). Also, adding device attachment selection to the first calibration step and switching it to use the new modular interface system.
#jira UEVR-1042, UEVR-1045, UEVR-1046
Change 3789836 by Jeff.Fisher
UE-53069 Editor crashes on open without SteamVR attached
-needed to check we are in stereo and device exists.
-Note just having the morpheus plugin enabled creates a device, so you need to have that disabled to reproduce this bug
#jira UE-53069
Change 3789841 by Mike.Beach
CIS fix - fallout from CL 3787272.
Change 3790102 by Jeff.Fisher
UE-53079 Packaging for android results in a critical error referencing global shader FHdrCustomResolveFMask4xPS
-Android shader compiler is a bit pickier on parameter matching, fixed the parameter.
#jira UE-53079
Change 3790174 by Jeff.Fisher
UE-53084 Mac editor crashes on open, Failed to compile global shader FWideCustomResolve8_2x_truePS
-Another shader parameter match.
#jira UE-53084
Change 3791727 by Mike.Beach
Fallout from CL 3787272 - missed use of now deprecated Hand property on MotionController components.
#jira UE-53080
Change 3766717 by Mike.Beach
Adding a TrackingToWorld transform to IXRTrackingSystem - default impl updates the cached transform once per frame (at the begining) and determines it from the project's camera setup (making the assumption the camera's root is the XR origin).
Change 3771327 by Ryan.Vance
#jira UE-52513
Fixing console rendering. The ortho projections were taking screen percentage of the panel into account for size instead of pixeldensity * ideal size.
Change 3773348 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3787240 by Mike.Beach
Adopting IMotionController changes from anim team (in support of LiveLink)...
- MotionControllerComponent EControllerHand Hand is deprecated, replaced by FName MotionSource
- Blueprint get set nodes for the Hand property will still function but will warn as deprecated, this is achieved via using deprecated BlueprintGetter and BlueprintSetter on the property (plus a change to UHT to allow that to compile)
- MotionSource Setter node has pin customization to show choice box instead of standard FName text box.
- New base class for motion controllers XRMotionControllerBase.h/cpp
- Provides default implementations for new functions (Enumerate Source, Custom Parameter etc)
- Provides wrapper functions that take EControllerHand so that the controllers themselves dont have to change.
- Motion Source custom choice box. Polls MotionControllers for sources via EnumerateSources interface. Also allows custom text type in. Is Exposed to details panel and setter pin (as above).
- Added a Dev-VR custom version for reading the Hand property and moving it to MotionSource
#jira UE-52783
Change 3787975 by Ryan.Vance
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
[CL 3794679 by Mike Beach in Main branch]
2017-12-07 13:42:10 -05:00
|
|
|
}
|
|
|
|
|
}
|