Commit Graph

25 Commits

Author SHA1 Message Date
robert srinivasiah
aedac51581 OpenXR: fix OpenXRHandTrackingEditor module name
The plugin descriptor and module had different names for the module. This affected the CookedEditor build's ability to load the module.

#jira UE-191750
#rb Jeff.Fisher
#rnx

[CL 26968371 by robert srinivasiah in ue5-main branch]
2023-08-09 15:23:56 -04:00
Jeff Fisher
25ff24a7b1 UE-181824 Move HeadMountedDisplay files to XRBase plugin to reduce UE overhead.
-Moving much of engine/source/runtime/headmounteddisplay to a plugin mainly to reduce minimum UE executable size and memory use.  But this is also nice for organization.  The ideal would be to move everything except interfaces used by core engine. VREditor pulling in UMotionControllerComponent is the main blocker at this time.  That dependency is expected to go away eventually at which point we can do the rest of this transfer.
-Added dependencies to XRBase plugin or module as necessary, refactored to avoid some dependencies, removed a few unnecessary dependencies.
-Stripped vestigial VR references from a few project templates.  Mostly just unused HeadMountedDisplay module refs, but a tiny bit of code from TP_Puzzle.
-Fixed dependency cycle ignores related to MaterialShaderQualitySettings PIEPreviewDeviceProfileSelector and UnrealEd.  For reasons I do not understand the HeadMountedDisplay dependency on AugmentedReality was preventing the detection of those, long existent, cycles.
#jira UE-181824
#review
#rb Robert.Srinivasiah
#preflight 642f3cbf4c3ccbbdf1990a1f  6434291c28551807175e1142

[CL 24984065 by Jeff Fisher in ue5-main branch]
2023-04-10 17:12:32 -04:00
Jeff Fisher
2915624d4a UE-180807 XR EControllerHand use reduction.
-Refactored FXRMotionControllerBase EControllerHand GetControllerOrientationAndPosition and GetControllerTrackingStatus into a new FXRMotionControllerBaseLegacy that only legacy maintenence mode VR plugin motion controllers will derive from.  This allows us to make the new preferred api pure virtual and to eliminate implementations of the old deprecated api from plugins still in active development.
-Updated all VR plugins to comply.
-Removed "AnyHand" support from OpenXRHandTracking.  We don't support it in the controllers for OpenXR so we shouldn't support it in openxr hand tracking.
#jira UE-180807
#review
#rb Jules.blok
#preflight 64234a29974dfaa53c0dfe9c

[CL 24826104 by Jeff Fisher in ue5-main branch]
2023-03-28 16:37:17 -04:00
Jeff Fisher
4bc8b0e4dc OpenXRHandTracking
-Better support for using hand tracking along with controllers, rather than one or the other.
-Two new project settings for the OpenXRHandTracking plugin:
-bUseMoreSpecificMotionSourceNames change the hand tracking keypoint motion source names from [Left|Right][Keypoint] to HandTracking[Left|Right][Keypoint] (default false)
-bSupportLegacyControllerMotionSources if true the legacy motion sources Left, Right, and AnyHand can be supplied by hand tracking.  If False they cannot.
-Note the Left/Right Grip/Aim poses already worked only for the controllers, and specific keypoint sources existed for every hand bone so it was possible to do this before, but this makes it less confusing in some cases.
-Refactored hand tracking keypoint motion source pose collection to use a map of motion source fname to keypoint enum value rather than turning both into strings and comparing every time they are accessed.
#review
#rb Jules.Blok
#preflight 6414d75337382f6bf5806b7e

[CL 24696696 by Jeff Fisher in ue5-main branch]
2023-03-17 17:17:24 -04:00
christopher waters
75ceaf8962 Removing redundant OpenXR include paths. Cleaning up some other include paths to make them easier to track.
[CL 24273677 by christopher waters in ue5-main branch]
2023-02-16 19:31:01 -05:00
henrik karlsson
bbc37aa2f5 [Engine/Plugins]
* Another batch iwyu updates to reduce number of includes used in files

#preflight 63c58d742e714f64ade93797
#rb none

[CL 23732856 by henrik karlsson in ue5-main branch]
2023-01-16 17:04:48 -05:00
jeff fisher
691c126f92 UE-162569 Hand rendering can easily render the right hand 18 times, leading to unexpected performance drop
-Made FOpenXRHMD::GetMotionControllerData and FOpenXRHandTracking::GetAllKeypointStates return data only for EControllerHand::Left and ::Right rather than returning Right data for all enum values.  Now we return a struct with the valid flag set to false for the other, non-hand, enum values.
-The valid flag was already false when a hand is not tracked, so existing usages should be handling this case gracefully.
#jira UE-162569
#preflight 637bee508b12eb83a7876880
#rb Robert.Srinivasiah

[CL 23228815 by jeff fisher in ue5-main branch]
2022-11-21 17:51:04 -05:00
Robb Surridge
610c467639 Update vendor links for built-in plugins to use secure protocol.
#jira UE-166823
#rb lauren.barnes
#preflight 6352b20b7261e565c476ec3b

[CL 22690089 by Robb Surridge in ue5-main branch]
2022-10-21 11:04:07 -04:00
robert srinivasiah
ef09255794 FOpenXRHandTrackingModule doesn't need to implement IOpenXRExtensionPlugin
FOpenXRHandTracking already implements IOpenXRExtensionPlugin, so we don't need the replicated functionality.
Additionally, the only functionality we used from IOpenXRExtensionPlugin (RegisterOpenXRExtensionModularFeature) was already supported by IOpenXRHandTrackingModule::StartupModule()

#jira UE-119658
#preflight 631fb60af7369c49efe20199
#rb Arciel.Rekman

[CL 21986542 by robert srinivasiah in ue5-main branch]
2022-09-13 13:15:28 -04:00
ben hoffman
96458a1681 Add "ApplicationCore" as a dependency on the OpenXRHandTracking.build.cs because it calls OnController functions on the message handler, which were inlined before but now cause non-unity errors
#jira none
#rb trivial
#rnx
#preflight skip

[CL 20919203 by ben hoffman in ue5-main branch]
2022-07-01 15:14:38 -04:00
David Harvey
45bd3d573d Remaining HoloLens platform extension files for engine plugins.
#jira UE-149794
#rnx
#rb trivial
#preflight 628f773c911f194ea72fc444

[CL 20378298 by David Harvey in ue5-main branch]
2022-05-26 08:57:05 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
chris babcock
e094f9dd05 Fix issue with losing Android force feedback
#jira UE-131826
#android
[REVIEW] [at]Steve.Smith
#rb Steve.Smith
#preflight 6216bb1cf8704e8ca91c2d42


#ROBOMERGE-AUTHOR: chris.babcock
#ROBOMERGE-SOURCE: CL 19106040 via CL 19106181 via CL 19106185 via CL 19106187 via CL 19110131
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19148459 by chris babcock in ue5-main branch]
2022-02-25 11:01:45 -05:00
andreas suika
9df3494e36 Disabled VR plugins by default in engine. Enabled on project base in TP_VirtualRealityBP template and in QAGame.
#jira UE-143451
#rb matt.kuhlenschmidt
#preflight 621541f19e113332ba233b9a
[FYI] mitchell.wilson, victor.brodin, matt.kuhlenschmidt

#ROBOMERGE-AUTHOR: andreas.suika
#ROBOMERGE-SOURCE: CL 19081031 in //UE5/Release-5.0/... via CL 19095696
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19140333 by andreas suika in ue5-main branch]
2022-02-24 23:09:55 -05:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
jules blok
e6aa1a5804 Split OpenXRHMD module out of the OpenXRHMD implementation
This also renames IOpenXRHMDPlugin to IOpenXRHMDModule to avoid confusion with IOpenXRExtensionPlugin

#rb steve.smith
#rb jeff.fisher
#rb robert.srinivasiah

#ROBOMERGE-AUTHOR: jules.blok
#ROBOMERGE-SOURCE: CL 17451221 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17451250 by jules blok in ue5-release-engine-test branch]
2021-09-07 18:36:18 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
andrew davidson
ffa1d5ca26 LWC support for FQuat and FTransform
Merge Dev-LargeWorldCoordinates [at] 17289670

#preflight 6125fb6925057900014f2cd6

#ROBOMERGE-SOURCE: CL 17300515 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17300523 by andrew davidson in ue5-release-engine-test branch]
2021-08-25 06:26:44 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Josh Adams
b0e4357576 - UBT Code changes to remove 32-bit Windows support (C++ code for 32-bit still exists)
#rb marc.audy (concept, not each file)

[CL 15265424 by Josh Adams in ue5-main branch]
2021-01-31 15:09:58 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00