2019-12-26 14:45:42 -05:00
// Copyright Epic Games, Inc. All Rights Reserved.
2014-03-14 14:13:41 -04:00
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
# include "HeadMountedDisplayFunctionLibrary.h"
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
# include "EngineGlobals.h"
# include "Engine/Engine.h"
# include "GameFramework/WorldSettings.h"
# include "IHeadMountedDisplay.h"
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
# include "IXRTrackingSystem.h"
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
# include "ISpectatorScreenController.h"
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -05:00
# include "IXRSystemAssets.h"
# include "Components/PrimitiveComponent.h"
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3780324)
#lockdown Nick.Penwarden
#rb none
#rnx
============================
MAJOR FEATURES & CHANGES
============================
Change 3760710 by Thomas.Sarkanen
Fix crash deleting primitives in PhAT
Crash in tooltip generation for shapes. Tree items still exist in the frame before the tree gets regenerated (as the widget defers their destruction a frame), so they can end up pointing at out of date data.
#jira UE-52404 - Crash deleting bodies
#tests deleted primitives in PhAT
Change 3760798 by Martin.Wilson
Initialize PosesToEvaluate so that we don't get stale data crashes after reinitializing
#Jira UE-52343
Change 3761312 by Martin.Wilson
Fix for infrequent crash on module start up
Change 3761333 by Danny.Bouimad
Fixed the Cable actor test correctly, shouldn't fail on cooked platforms any more!
Change 3761550 by Aaron.McLeran
Engine changes requested by oculus for spatializer interface
Change 3761728 by Martin.Wilson
Fix crash when undoing a change on a skeletal mesh that uses virtual bones
#Jira UE-52475
Change 3762032 by Ethan.Geller
#jira UE-49076 Implement PR for VOIP bug fix on Mac
Change 3762109 by Aaron.McLeran
Enabling bAllowAnyoneToDestroyMe on audio components
Change 3762125 by Aaron.McLeran
Checking in missing file
Change 3762568 by Aaron.McLeran
Fixing ogg vorbis 5.1 channel ordering channel maps in audio mixer
Fix is to create separate 5.1 channel maps for various output channel counts and pull those channel maps if the source file was decoded from vorbis. This pattern is copied from old xaudio2source code which handles 5.1 channel mapping seperately. Alternative solution would be to swizzle vorbis channels during cook, but this would break backward compatibility. We'll consider that solution in the future once we remove the old audio engine code.
Change 3762571 by Aaron.McLeran
Adding multichannel file support.
- Spoofing the multi-channel file importer tool by allowing a single multichannel file to generate data in the same way
- Moved the wave serializer code from audio capture plugin to audio.h/.cpp for general use
Change 3762626 by Aaron.McLeran
Adding ability to automatically tag ambisonics files.
Change 3762627 by Aaron.McLeran
Fixing up source buses to be more useful
- Added pre and post source effect bus sends types.
- Adjusted where in the source generation pipeline distance-based filtering is applied to a source. Source audio is sent to source buses immediately after source effect chain generation and before per-source distance-based filters are applied and distance attenuation.
Change 3762652 by Aaron.McLeran
Fix for device hot swap
Change 3762725 by Ethan.Geller
Fixing multichannel indices so that it matches the multichannel cook
Change 3762738 by Ethan.Geller
Add ambisonics plugin support
Change 3762739 by Ethan.Geller
Updating oculus audio plugin
- Base implementation by Peter Sterling at Oculus
- Ambisonics decoding using Oculus API implemented by Ethan
Change 3763687 by Martin.Wilson
Fix bug in GUID customization that leaves editor in an active transaction + Expose core property set code so other guid customizations can reuse it
#Jira UE-52510
Change 3764412 by Ethan.Geller
Fix the incremental build, pt 2
Change 3764721 by Ethan.Geller
Fix the build, take 3
Change 3764767 by Martin.Wilson
Rebuild array children properties when an item is added. Solves missing item crash if the user immediately tries to set the value of the new item
#Jira UE-52537
Change 3764845 by Aaron.McLeran
Making audio devices call flush after update and before endplay is called to ensure flush is called on audio devices.
Prevents hang on releasing sound wave procedural references in GC.
Change 3766047 by Thomas.Sarkanen
Pinnable command list widget
Added a new "pinnable command list" widget. Shift-clicking a menu option in either the skeleton tree filter or the viewport menus will 'pin' the command outside of the menu. This allows for easier access to commands that are frequently used.
Minor Slate change - added virtual(s) to FUICommandList so commands can be forwarded when executed.
#jira UE-51807 - Add 'quick filter' and visualization toggles UI to PhAT
Change 3766111 by Thomas.Sarkanen
CIS fix
Change 3766273 by Lina.Halper
Rename PostBlendPhysics to FinalizeAnimationUpdate
Change 3768507 by Thomas.Sarkanen
CIS fix
Change 3768637 by James.Golding
Add 'GetSectionFromProceduralMesh' util function
#jira UE-49262
Change 3768649 by Lina.Halper
Moved the automation test to tests folder
#jira:UE-46250
Change 3768675 by Benn.Gallagher
Fixed incorrect deprecated angular velocity accessor.
Change 3768776 by Benn.Gallagher
Fix for skeletal mesh editor crash importing more than 5 LODs
#jira UE-52263
Change 3768804 by Martin.Wilson
Live Link Virtual subjects
Virtuals subjects are created within the client and contain the bones of multiple real subjects
Change 3768874 by Martin.Wilson
UAnimSequenceBase is now entirely exported with ENGINE_API
#Jira UE-48020
Change 3769318 by Lina.Halper
- Animation system owns previous bone transform with revision number, so that it can send to renderer when render recreated.
- Framenumber still exists because clothing system uses it, and I'm planning to talk to Benn about it next week when he comes back
#jira: UEAP-272
Change 3769714 by Lina.Halper
Fix CIS
Change 3770672 by James.Golding
Expose API for changing 'Use CCD' flag at runtime
#jira UE-50332
Change 3770675 by James.Golding
Add test map for 'Set Use CCD' function
Change 3770711 by Thomas.Sarkanen
Multi viewports and bone-locked cameras in animation editor viewports
All animation-related editors now have the ability to open up to 4 seperate viewports onto the same scene, each with their own settings.
Fixed up bounds following to actually work correctly (now follows without lag).
Added the ability to follow (and orbit) a specified bone as well.
#jira UE-47127 - Add the Ability to Open Multiple Viewports on the Same Scene.
#jira UE-49690 - "Camera Follow" in Persona Editor cannot be enabled
Change 3770786 by Lina.Halper
Support curve in copy pose node
#jira: UE-50182
Change 3770943 by James.Golding
Fix 'NODEBUG' option for PVD CONNECT console command (should only send profile data)
Fix from Kier at NVIDIA
#jira UE-52444
Change 3771145 by Benn.Gallagher
Added ability to control whether or not a post process instance runs on a skeletal mesh component. Exposed both to blueprints and anim editor suite
#jira UE-49747
Change 3772262 by Benn.Gallagher
Defaulted the clothing create menu to use the skeletal mesh physics asset
#jira UE-51607
Change 3772389 by Thomas.Sarkanen
Added a keyboard shortcut to toggle between body and constraint selection
Shortcut is Ctrl+T by default.
#jira UE-51804 - Add a quick switch between selected constraints and bodies
Change 3772393 by Thomas.Sarkanen
Constraints are now displayed only once in the physics asset editor tree view
User constraints are still displayed twice, however.
#jira UE-51808 - Constraints in PhAT should only be displayed once in the tree
Change 3772404 by James.Golding
Fix Modify Curve AnimNode not calling CacheBones on source pose
#jira UE-52129
Change 3772418 by Benn.Gallagher
Allowed clothing visualizations to be enabled while clothing paint mode is active.
Fixed crash attempting to visualize backstops when the clothing data has no backstops.
#jira UE-47042
Change 3772964 by Thomas.Sarkanen
Expose sequence recording settings in Persona editors
Added layout extender to Persona module, so external tabs can now be added to all Persona-based editors easily.
Added a structure details view to edit the default animation settings.
Hooked default animation settings up to Persona animation recording.
#jira UE-48416 - Set Frame Rate and Length of Recordings in Persona in Editor
Change 3772967 by Martin.Wilson
Add NativeBeginPlay function to AnimInstance
#jira UE-51351
PR #4135: Add NativeBeginPlay to AnimInstance (Contributed by Vaei)
Change 3772986 by Thomas.Sarkanen
Added "Show Only Selected Constraints" to the physics asset editor
#jira UE-51805 - Add 'show only selected constraints' option to PhAT
Change 3773012 by Benn.Gallagher
Added facility to debug skel mesh component to extend the viewport text seen in skeletal mesh editor and added lines for current cloth value
#jira UE-42354
Change 3773132 by Martin.Wilson
Added Uncheck all unconnected pins for BreakStruct nodes
#jira UE-51136
PR #4110: Uncheck all unconnected pins from BreakStruct node... (Contributed by projectgheist)
Change 3773158 by Benn.Gallagher
Added auto-range feature to cloth view ranges, and a way for tools to extend those ranges when necessary
#jira UE-48109
Change 3773895 by Jurre.deBaare
Move material baking out of experimental
#fix Removed experimental settings gating around Material Baking functionality
#jira UE-52685
Change 3773898 by Jurre.deBaare
Change log message wording when Simplygon fails to initialise to ensure it does not block CIS (error triggers a CIS error and will halt the build)
Change 3773899 by Jurre.deBaare
Add keybind for switching between paint / erase color while mesh painting
#fix Added new command for switching fore and background colors in the mesh painter (defaults to X as shortcut)
#jira UE-52197
Change 3773900 by Jurre.deBaare
Hotkey to enable and disable post processing in the preview scene settings
#fix Added hotkey and command for toggling Post Processing in Preview Scenes
#jira UE-48111
Change 3773933 by Martin.Wilson
Add missing file (for live link monolithic build failure)
Change 3773949 by Jurre.deBaare
Right click add selected to HLOD cluster / create cluster
#fix Partially implemented the request, added context menu to HLOD level nodes in the HLOD outliner treeview to allow creating a new cluster from the current level viewport selection
#jira UE-48334
Change 3773950 by Jurre.deBaare
HLOD cluster drawing should not use AHLODSelectionActor but regular in-viewport drawing
#fix removed old behaviour using a spawned actor to represent a selected HLOD cluster, and replaced it will simple debug drawing (this is a lot less bug prone and much cleaner)
#jira UE-49094
Change 3773964 by James.Golding
Mark FBodyInstance::ResponseToChannels_DEPRECATED as 'WITH_EDITORONLY_DATA'
#jira UE-52545
Change 3773978 by Thomas.Sarkanen
Allow edits to physics sim options to be undone/redone
Added RF_Transactional to the object
#jira UE-48046 - Undo/redo does not work in Physics Asset Editor's Physics/Details menu
Change 3773982 by Martin.Wilson
Add pre and post conversion callbacks to root motion conversion in character movement component
#jira UE-51966
Change 3773988 by Thomas.Sarkanen
Duplicating CL 3773896 from Fortnite:
Push non-rendered anim updates back onto the worker thread
Now when meshes are set to EMeshComponentUpdateFlag::AlwaysTickPose, we optionally kick of a task to perform parallel update only (no evaluation).
#jira UE-46710 - Animation updates run on the main thread when Evaluation task doesnt run
Change 3773999 by Martin.Wilson
Fix incorrect merge
Change 3774030 by Thomas.Sarkanen
Renamed "Create Joints" to "Create Constraints"
#jira UE-50861 - New Physics Asset window reads "Joints" instead of "Constraint"
Change 3774031 by Thomas.Sarkanen
Fixed typo in comment
#jira UE-50841 - Typo in Vertex Weighting Type setting when creating new Physics Asset
Change 3774200 by Lina.Halper
Fix crash with empty element in the constraint setup
#jira: UE-52686
Change 3774236 by Ori.Cohen
Fix crash when destructible component doesn't mark its killed actors as IgnoreActiveActors
#jira UE-52320
Change 3774284 by James.Golding
Fix constructor order CIS error in AudioMicerSubmix.cpp
Change 3774511 by James.Golding
Fix up removed RevisionNumber param
Change 3774724 by Lina.Halper
Fix of motion blur change of previous bone transform
Change 3775493 by Thomas.Sarkanen
Duplicating CL 3775488 from Fortnite:
Prevented skeletal meshes that are not being ticked due to URO from dispatching tick tasks
#jira FORT-61157 - Run anim update on worker, even if not visible
Change 3775508 by James.Golding
Fix compilation without PhysX, move DeferredReleaseCallback outside WITH_PHYSX block
Change 3775538 by James.Golding
Fix Mac CIS due to missing virtual destructor in IDeferredReleaseCallback
Change 3775921 by Ori.Cohen
Better fix for destructible crash (also fix CIS)
#jira UE-52762
Change 3776054 by Benn.Gallagher
Fixed crash deleting max distance mask from a clothing data entry.
#jira UE-52723
Change 3776063 by Thomas.Sarkanen
Fix static analysis warning
Change 3776331 by Jurre.deBaare
Hierarchical LOD Outliner scrollbar doesn't appear
#fix removed AutoHeight from parent vertical box around HLOD outliner details view
#jira UE-52756
Change 3776704 by Martin.Wilson
Fix array properties not always refreshing when new items are added
#UE-52760
Change 3776755 by Thomas.Sarkanen
Duplicating CL 3776656 from Fortnite:
Fix notifies not getting fired in cases where AlwaysTickPose was set on skeletal mesh components
This was causing AIs to get stuck in montage playback in some circumstances
#jira FORT-61324, FORT-60558
Change 3777385 by Aaron.McLeran
#jira UE-52786 Fix for broken spatialization on xaudio2, old audio engine.
Change 3778233 by Lina.Halper
Removed android from oculus audio platform
Change 3778714 by Ethan.Geller
#jira UE-52818 remove Android from Oculus Audio platforms
Change 3779004 by Lina.Halper
Include "Features/IModularFeatures.h" to cpp
Fix build error
Change 3780324 by Thomas.Sarkanen
Duplicating CL 3778679 from Fortnite-Main:
Fix 100% Linux server crash - dont attempt to run threaded work in a single-threaded environment
We dont attempt to run animation update work multi-threaded in the same conditions that we didnt attempt to run animation eval work previously.
#jira FORT-61548
Change 3763999 by Ethan.Geller
remove space from ambisonics mixer name, fix build
Change 3774470 by James.Golding
Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3774039
[CL 3780967 by Thomas Sarkanen in Main branch]
2017-11-30 12:07:08 -05:00
# include "Features/IModularFeatures.h"
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
# include "XRMotionControllerBase.h" // for GetHandEnumForSourceName()
2014-03-14 14:13:41 -04:00
2015-05-05 13:46:42 -04:00
DEFINE_LOG_CATEGORY_STATIC ( LogUHeadMountedDisplay , Log , All ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -05:00
/* UHeadMountedDisplayFunctionLibrary
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2020-09-24 00:43:27 -04:00
FXRDeviceOnDisconnectDelegate UHeadMountedDisplayFunctionLibrary : : OnXRDeviceOnDisconnectDelegate ;
TMap < FName , FXRTimedInputActionDelegate > UHeadMountedDisplayFunctionLibrary : : OnXRTimedInputActionDelegateMap ;
2014-10-14 10:29:11 -04:00
UHeadMountedDisplayFunctionLibrary : : UHeadMountedDisplayFunctionLibrary ( const FObjectInitializer & ObjectInitializer )
: Super ( ObjectInitializer )
2014-03-14 14:13:41 -04:00
{
}
bool UHeadMountedDisplayFunctionLibrary : : IsHeadMountedDisplayEnabled ( )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > IsHeadTrackingAllowed ( ) ;
2014-10-30 12:26:08 -04:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3231914)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3060975 on 2016/07/21 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3149273 on 2016/10/03 by Keli.Hlodversson
#jira UE-36736: Fix rendering of Canvas Tiles when in stereo mode.
FCanvas::DrawTile batched the triangles directly instead of passing a FCanvasTileItem to FCanvas::DrawItem
Change 3150583 on 2016/10/04 by Keli.Hlodversson
#jira UEVR-288 Minor optimization of UCameraComponent transform update when bLockToHmd is set.
As suggested by Michael Atkins https://udn.unrealengine.com/questions/314290/issue-with-ucameracomponent-transform-update.html
Change 3150635 on 2016/10/04 by Keli.Hlodversson
Minor change: no need to spell out rotation, position and scale, as FTransform's default constructor initializes an identity transform
Change 3150776 on 2016/10/04 by Chad.Taylor
Oculus layers fix where the "changed" flags were getting prematuraly cleared for quad layers before they were being processed.
Change 3152251 on 2016/10/05 by Chad.Taylor
Oculus layers code cleanup
Change 3152834 on 2016/10/05 by Chad.Taylor
VR splash screen update: Hooked up UVs for OculusRift and disable alpha for parity
Change 3158823 on 2016/10/11 by Chad.Taylor
VR Loading screen placement for SteamVR and Oculus
Change 3164516 on 2016/10/17 by Ben.Marsh
Add a build node to compile UE4Game for Windows XP, and run it in Dev-VR.
#jira UEB-713
Change 3169683 on 2016/10/20 by Nick.Whiting
Updating to Oculus SDK 1.9
Change 3191389 on 2016/11/09 by Ben.Marsh
Build: Remove Windows XP build step for //UE4/Dev-VR.
#jira UEB-716
Change 3196810 on 2016/11/14 by Jeff.Fisher
UEVR-286 PSVR reprojection prediction time too big?
-Fixed reprojection desync when the frame time is too short.
-Eliminated the MorpheusReprojector class, and its thread. ReprojectionStart calls are now made from GnmManager::EndFrame.
-GnmManager::EndFrame is now always locked to vSync.
-GameThreadFrame is no longer filled with the previous RenderThreadFrame, instead a separate poll of tracker data is made with a larger prediction time to fill it.
-Prediction time was increased from RenderFrameTime * 2 to RenderFrameTime * 2.5 after examination of Sony VR Trace tool output. In 60/120 mode this is 45ms.
-Double buffering reprojection data to avoid race conditions between updating the reprojection data and submitting the frame.
-Tracker compute and update are now called from a single thread and synced to the beginning of the game frame. The timing is similar to what it was previously, but can probably be improved.
-Added a bunch of error warnings from sony system calls.
-Added events to visualize the vr frame sequence in RazorCPU these events will only show up when Morpheus is enabled.
-Added commented out reprojection flags that are useful for debugging (like the one that turns reprojection off)
-Added commented out function to call and print results from a sceHmdReprojectionDebugGetLastInfo
#review-3193674 @nick.whiting @ryan.vance
#jira UEVR-286
Change 3198965 on 2016/11/15 by Jeff.Fisher
UE-38630 IsHeadMountedDisplayConnected blueprint function
-Exposed IsHMDConnected to blueprint.
-Made PSVR IsHMDConnected behavior match other platforms, it just means the hmd hardware is ready to use - not that we are using it.
#review-3198949
-With this change I was able to setup a psvr game in blueprint to start not in vr, detect that the hmd was availalbe, switch to stereo rendering, prompt the user to reconnect the hmd if they disconnected it, but switch back to 2d mode if they cancelled the reconnect dialog.
#jira UE-38630
Change 3201341 on 2016/11/16 by patrickr.donovan
Test content update. Replaced level script logic that attempted to move player start (which has native defined static capsule component) with level script logic that simply targets a second player start that's already in the previously-moved-to location.
Change 3202637 on 2016/11/17 by Jeff.Fisher
Redundant GetViewFrustumBounds call.
-Removed redundant call to GetViewFrustumBounds in MorpheusHMD.cpp. It is called inside View.UpdateViewMatrix() just above with the same results. And it actually does a fair bit of work.
-This problem and fix was actually found by Ryan.Vance, but it was convenient for me to test and submit it.
Change 3205949 on 2016/11/21 by Jeff.Fisher
UE-VR UEVR-329 Morpheus: need to handle camera disconnection.
UEVR-338 PSVR upside down camera handling
-PS4Tracker now detects camera disconnection and pops up the appropriate system dialog.
-Minor fixes for sony library load/initialization warnings.
-Added a timeout to PS4Tracker::Synchronize, so we at least don't hang if the camera is upside down.
-hmdSetupDialog and camera disconnect dialogs will now not pop up until no other sceCommonDialogs are up.
#review-3203097
#jira UEVR-329
Change 3213849 on 2016/11/29 by Nick.Whiting
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3214103 on 2016/11/29 by Nick.Whiting
Fixes for IWYU update for OnlineSubsystemOculus
Change 3222029 on 2016/12/05 by Ryan.Vance
We need to do a full frame clear when using a hmd mask and a post processing material.
This is re-implementing the 3212242 from 4.14.1
Change 3223780 on 2016/12/06 by Cody.Albert
Removing MinimalAPI specifier from SteamVRChaperoneComponent
Change 3228296 on 2016/12/08 by Nick.Whiting
Updating Oculus SDKs: Oculus PC SDK 1.10.0, Mobile SDK 1.0.3, Audio SDK 1.0.2, and Platform SDK 1.10.0
Change 3228298 on 2016/12/08 by Nick.Whiting
Fix for late-latching oculus touch update. was not returning that it had data
Change 3228319 on 2016/12/08 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-Created AimController plugin to support the psvr aim controller space gun thingy.
-The sony api for this controller is the same as the api for the DS4, but our DS4 implementation has a pretty deep assumption that there will only be one gamepad per player.
-This is basically a copy of the MoveController plugin, with some of the code from PS4Controllers.h to make the buttons and force feedback work.
-Currently the gun buttons are just mapped as gamepad buttons. Not entirely sure that is best, but it would be straightforward (if a bit tedious) for a licencee to give them unique mappings. Having two players play with the gamepad and gun associated with a single PS4 user is, I beleive, a trc problem, so it may actually be ok to make this a bit hard to do.
#jira UEVR-402
#review-3227685 @nick.whiting @keli.hlodversson
Change 3228321 on 2016/12/08 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-qagame vr-motioncontrollers changes to test the gun controller
-in DS4 mode you now also have a gun controller, and can test all the buttons on the two controllers and test forcefeedback/haptics (enable with E, face buttons make things vibrate)
#jira UEVR-402
Change 3229148 on 2016/12/09 by Jeff.Fisher
Fixed build breaks related to OCULUS macros.
Change 3229867 on 2016/12/09 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-Fixed assert if you don't have the aim controller connected. The IsControllerReady function was not implemented correctly.
Change 3230089 on 2016/12/09 by Ryan.Vance
Implementing monoscopic far field rendering for mobile VR.
Change 3230352 on 2016/12/11 by Keli.Hlodversson
Merging //UE4/Main to Dev-VR (//UE4/Dev-VR)
Change 3230357 on 2016/12/11 by Keli.Hlodversson
Fix after merge from Main
Change 3230365 on 2016/12/11 by Keli.Hlodversson
Workaround an assert after merge. DoEnableStereo now requires a valid Frame when run. Keep around the previous frame in OnBeginFrame to avoid the crash.
Not sure if this is the correct solution, but it does makes OculusRift run again after the merge from main.
Change 3231165 on 2016/12/12 by Keli.Hlodversson
Back out changelist 3230365
Change 3231191 on 2016/12/12 by Keli.Hlodversson
Revert to previous version of oculus' IsStereoEnabled
We must return false when there is no current frame as otherwise calling DoEnableStereo will cause an check assert in FOculusRiftHMD::SetupView
#jira UE-39631
Change 3231342 on 2016/12/12 by Ryan.Vance
Cleaning up init order and static analysis warnings.
#jira UE-39644, UE-39642, UE-39645
Change 3231811 on 2016/12/12 by Ryan.Vance
#jira UE-39645
Static analysis appeasement
#rb None
[CL 3231940 by Dan Oconnor in Main branch]
2016-12-12 20:46:42 -05:00
bool UHeadMountedDisplayFunctionLibrary : : IsHeadMountedDisplayConnected ( )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > GetHMDDevice ( ) & & GEngine - > XRSystem - > GetHMDDevice ( ) - > IsHMDConnected ( ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3231914)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3060975 on 2016/07/21 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3149273 on 2016/10/03 by Keli.Hlodversson
#jira UE-36736: Fix rendering of Canvas Tiles when in stereo mode.
FCanvas::DrawTile batched the triangles directly instead of passing a FCanvasTileItem to FCanvas::DrawItem
Change 3150583 on 2016/10/04 by Keli.Hlodversson
#jira UEVR-288 Minor optimization of UCameraComponent transform update when bLockToHmd is set.
As suggested by Michael Atkins https://udn.unrealengine.com/questions/314290/issue-with-ucameracomponent-transform-update.html
Change 3150635 on 2016/10/04 by Keli.Hlodversson
Minor change: no need to spell out rotation, position and scale, as FTransform's default constructor initializes an identity transform
Change 3150776 on 2016/10/04 by Chad.Taylor
Oculus layers fix where the "changed" flags were getting prematuraly cleared for quad layers before they were being processed.
Change 3152251 on 2016/10/05 by Chad.Taylor
Oculus layers code cleanup
Change 3152834 on 2016/10/05 by Chad.Taylor
VR splash screen update: Hooked up UVs for OculusRift and disable alpha for parity
Change 3158823 on 2016/10/11 by Chad.Taylor
VR Loading screen placement for SteamVR and Oculus
Change 3164516 on 2016/10/17 by Ben.Marsh
Add a build node to compile UE4Game for Windows XP, and run it in Dev-VR.
#jira UEB-713
Change 3169683 on 2016/10/20 by Nick.Whiting
Updating to Oculus SDK 1.9
Change 3191389 on 2016/11/09 by Ben.Marsh
Build: Remove Windows XP build step for //UE4/Dev-VR.
#jira UEB-716
Change 3196810 on 2016/11/14 by Jeff.Fisher
UEVR-286 PSVR reprojection prediction time too big?
-Fixed reprojection desync when the frame time is too short.
-Eliminated the MorpheusReprojector class, and its thread. ReprojectionStart calls are now made from GnmManager::EndFrame.
-GnmManager::EndFrame is now always locked to vSync.
-GameThreadFrame is no longer filled with the previous RenderThreadFrame, instead a separate poll of tracker data is made with a larger prediction time to fill it.
-Prediction time was increased from RenderFrameTime * 2 to RenderFrameTime * 2.5 after examination of Sony VR Trace tool output. In 60/120 mode this is 45ms.
-Double buffering reprojection data to avoid race conditions between updating the reprojection data and submitting the frame.
-Tracker compute and update are now called from a single thread and synced to the beginning of the game frame. The timing is similar to what it was previously, but can probably be improved.
-Added a bunch of error warnings from sony system calls.
-Added events to visualize the vr frame sequence in RazorCPU these events will only show up when Morpheus is enabled.
-Added commented out reprojection flags that are useful for debugging (like the one that turns reprojection off)
-Added commented out function to call and print results from a sceHmdReprojectionDebugGetLastInfo
#review-3193674 @nick.whiting @ryan.vance
#jira UEVR-286
Change 3198965 on 2016/11/15 by Jeff.Fisher
UE-38630 IsHeadMountedDisplayConnected blueprint function
-Exposed IsHMDConnected to blueprint.
-Made PSVR IsHMDConnected behavior match other platforms, it just means the hmd hardware is ready to use - not that we are using it.
#review-3198949
-With this change I was able to setup a psvr game in blueprint to start not in vr, detect that the hmd was availalbe, switch to stereo rendering, prompt the user to reconnect the hmd if they disconnected it, but switch back to 2d mode if they cancelled the reconnect dialog.
#jira UE-38630
Change 3201341 on 2016/11/16 by patrickr.donovan
Test content update. Replaced level script logic that attempted to move player start (which has native defined static capsule component) with level script logic that simply targets a second player start that's already in the previously-moved-to location.
Change 3202637 on 2016/11/17 by Jeff.Fisher
Redundant GetViewFrustumBounds call.
-Removed redundant call to GetViewFrustumBounds in MorpheusHMD.cpp. It is called inside View.UpdateViewMatrix() just above with the same results. And it actually does a fair bit of work.
-This problem and fix was actually found by Ryan.Vance, but it was convenient for me to test and submit it.
Change 3205949 on 2016/11/21 by Jeff.Fisher
UE-VR UEVR-329 Morpheus: need to handle camera disconnection.
UEVR-338 PSVR upside down camera handling
-PS4Tracker now detects camera disconnection and pops up the appropriate system dialog.
-Minor fixes for sony library load/initialization warnings.
-Added a timeout to PS4Tracker::Synchronize, so we at least don't hang if the camera is upside down.
-hmdSetupDialog and camera disconnect dialogs will now not pop up until no other sceCommonDialogs are up.
#review-3203097
#jira UEVR-329
Change 3213849 on 2016/11/29 by Nick.Whiting
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Change 3214103 on 2016/11/29 by Nick.Whiting
Fixes for IWYU update for OnlineSubsystemOculus
Change 3222029 on 2016/12/05 by Ryan.Vance
We need to do a full frame clear when using a hmd mask and a post processing material.
This is re-implementing the 3212242 from 4.14.1
Change 3223780 on 2016/12/06 by Cody.Albert
Removing MinimalAPI specifier from SteamVRChaperoneComponent
Change 3228296 on 2016/12/08 by Nick.Whiting
Updating Oculus SDKs: Oculus PC SDK 1.10.0, Mobile SDK 1.0.3, Audio SDK 1.0.2, and Platform SDK 1.10.0
Change 3228298 on 2016/12/08 by Nick.Whiting
Fix for late-latching oculus touch update. was not returning that it had data
Change 3228319 on 2016/12/08 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-Created AimController plugin to support the psvr aim controller space gun thingy.
-The sony api for this controller is the same as the api for the DS4, but our DS4 implementation has a pretty deep assumption that there will only be one gamepad per player.
-This is basically a copy of the MoveController plugin, with some of the code from PS4Controllers.h to make the buttons and force feedback work.
-Currently the gun buttons are just mapped as gamepad buttons. Not entirely sure that is best, but it would be straightforward (if a bit tedious) for a licencee to give them unique mappings. Having two players play with the gamepad and gun associated with a single PS4 user is, I beleive, a trc problem, so it may actually be ok to make this a bit hard to do.
#jira UEVR-402
#review-3227685 @nick.whiting @keli.hlodversson
Change 3228321 on 2016/12/08 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-qagame vr-motioncontrollers changes to test the gun controller
-in DS4 mode you now also have a gun controller, and can test all the buttons on the two controllers and test forcefeedback/haptics (enable with E, face buttons make things vibrate)
#jira UEVR-402
Change 3229148 on 2016/12/09 by Jeff.Fisher
Fixed build breaks related to OCULUS macros.
Change 3229867 on 2016/12/09 by Jeff.Fisher
UEVR-402 Implement the PSVR Aim (Weird Gun Controller)
-Fixed assert if you don't have the aim controller connected. The IsControllerReady function was not implemented correctly.
Change 3230089 on 2016/12/09 by Ryan.Vance
Implementing monoscopic far field rendering for mobile VR.
Change 3230352 on 2016/12/11 by Keli.Hlodversson
Merging //UE4/Main to Dev-VR (//UE4/Dev-VR)
Change 3230357 on 2016/12/11 by Keli.Hlodversson
Fix after merge from Main
Change 3230365 on 2016/12/11 by Keli.Hlodversson
Workaround an assert after merge. DoEnableStereo now requires a valid Frame when run. Keep around the previous frame in OnBeginFrame to avoid the crash.
Not sure if this is the correct solution, but it does makes OculusRift run again after the merge from main.
Change 3231165 on 2016/12/12 by Keli.Hlodversson
Back out changelist 3230365
Change 3231191 on 2016/12/12 by Keli.Hlodversson
Revert to previous version of oculus' IsStereoEnabled
We must return false when there is no current frame as otherwise calling DoEnableStereo will cause an check assert in FOculusRiftHMD::SetupView
#jira UE-39631
Change 3231342 on 2016/12/12 by Ryan.Vance
Cleaning up init order and static analysis warnings.
#jira UE-39644, UE-39642, UE-39645
Change 3231811 on 2016/12/12 by Ryan.Vance
#jira UE-39645
Static analysis appeasement
#rb None
[CL 3231940 by Dan Oconnor in Main branch]
2016-12-12 20:46:42 -05:00
}
2015-05-05 13:46:42 -04:00
bool UHeadMountedDisplayFunctionLibrary : : EnableHMD ( bool bEnable )
2014-10-30 12:26:08 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > GetHMDDevice ( ) )
2014-10-30 12:26:08 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > GetHMDDevice ( ) - > EnableHMD ( bEnable ) ;
if ( GEngine - > StereoRenderingDevice . IsValid ( ) )
2014-10-30 12:26:08 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > StereoRenderingDevice - > EnableStereo ( bEnable ) | | ! bEnable ; // EnableStereo returns the actual value. When disabling, we always report success.
2014-10-30 12:26:08 -04:00
}
else
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return true ; // Assume that if we have a valid HMD but no stereo rendering that the operation succeeded.
2014-10-30 12:26:08 -04:00
}
}
return false ;
2014-03-14 14:13:41 -04:00
}
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3088355 on 2016/08/13 by Max.Preussner
Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)
#jira UE-34643
Change 3088331 on 2016/08/13 by Max.Preussner
Media: Fixed Failing to load Precached Media Source (UE-34285)
#jira UE-34285
Change 3088202 on 2016/08/12 by Zabir.Hoque
Porting DX12 Fix from MS:
Update D3D12 RHI for 4.13
- Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.
#jira UE-0
Change 3088149 on 2016/08/12 by Mark.Satterthwaite
Duplicate CL #3087991:
Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
#jira UE-34315
Change 3088131 on 2016/08/12 by Chris.Babcock
Fix iterative deploy for new ADB
#jira UE-34638
#ue4
#android
Change 3088106 on 2016/08/12 by Dan.Oconnor
Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
#jira UE-34564
Change 3088099 on 2016/08/12 by Zabir.Hoque
Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.
#Jira UE-27026
Change 3088072 on 2016/08/12 by Max.Chen
Sequencer: Level editor camera cut flag is now a one way gate
This resolves issues to do with the flag being erroneously reset by external forces.
#jira UE-33875
Change 3088031 on 2016/08/12 by Jeff.Campeau
Fix WinXP build issues in WmfMedia and SteamVR plugins.
#jira UE-32421
Change 3088025 on 2016/08/12 by Tom.Looman
Updated VR Template with new VR device ID blueprint node.
#jira ue-34592
Change 3088023 on 2016/08/12 by Tom.Looman
Added PS Move input handling support to VR Template.
#jira UE-34188
Change 3087989 on 2016/08/12 by Michael.Trepka
Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.
#jira UE-34581
Change 3087907 on 2016/08/12 by mason.seay
New test assets for sub instance testing
#jira UE-29618
Change 3087812 on 2016/08/12 by Maciej.Mroz
#jira UE-34247 Nativized UMG assets not visible
Redone cl#3087726 from Dev-Blueprints
Change 3087810 on 2016/08/12 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
#review-3087760 @nick.whiting
#jira UEVR-13
Change 3087795 on 2016/08/12 by Mitchell.Wilson
Added project thumbnail to subway sequencer.
Added thumbnails to subway sequencer levels.
Re-saved multiple files to resolve empty engine version and nodeguid warnings.
#jira UE-34521 UE-34519
Change 3087730 on 2016/08/12 by Michael.Trepka
Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml
#jira UE-34548
Change 3087699 on 2016/08/12 by Jeff.Campeau
Make resource generation fault tolerant of unset config values.
#jira UE-34614
Change 3087690 on 2016/08/12 by Mitchell.Wilson
Added a thumbnail for the BlueprintRenderToTarget level.
#jira UE-34544
Change 3087688 on 2016/08/12 by Marc.Audy
Fix headshot crash when tearing down physics when not registered
#jira UE-32935
Change 3087615 on 2016/08/12 by Ben.Woodhouse
Fix for crash in shadowsetup when frustum is invalid
#jira UE-33014
Change 3087607 on 2016/08/12 by Max.Chen
Sequencer: Fix Import/Export FBX
- Import FBX now maps arbitrary float properties as well as the transform
- Import/Export FBX now consistently operates on selected nodes or all nodes
- Fixed exported node names so that they're consistent with Sequencer node names
#jira UETOOL-534
Change 3087586 on 2016/08/12 by Chris.Babcock
Add HUAWEI_Mali device model recognition for Vulkan
#jira UE-34610
#ue4
#android
Change 3087529 on 2016/08/12 by Jurre.deBaare
Fix for crash when start index != 0 and sampling at a different rate
#jira UE-34637
Change 3087519 on 2016/08/12 by Ben.Marsh
Pass the -ignorejunk flag on to child UBT instance when running a clean.
Change 3087455 on 2016/08/12 by Jurre.deBaare
Alembic importer plugin needs proper logo
#fix Replaced icon with inverted official Alembic logo
#jira UE-34474
Change 3087360 on 2016/08/12 by Ben.Marsh
Print out the UBT command line before running it, to help diagnose -ignorejunk problem.
Change 3087285 on 2016/08/12 by Lina.Halper
- Add which animation it fails to compress
- Make sure it doesn't go in there unless you have skeleton
#jira: UE-34490
Change 3087237 on 2016/08/12 by Alex.Delesky
#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.
Change 3087215 on 2016/08/12 by danny.bouimad
#jira UE-29618 updated QA-AnimProfiles again...
Change 3087212 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated TM-PhysicalAnimProfiles again
Change 3087200 on 2016/08/12 by Robert.Manuszewski
Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.
#jira UE-34373
Change 3087188 on 2016/08/12 by Matthew.Griffin
Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually
Change 3087160 on 2016/08/12 by Ben.Marsh
Propagate the -ignorejunk option when we're building UHT as a child process in UBT.
Change 3087148 on 2016/08/12 by Ben.Marsh
Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.
Change 3087143 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.
Change 3087140 on 2016/08/12 by Steve.Robb
GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs
I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...
#jira UE-29286
Change 3087139 on 2016/08/12 by Steve.Robb
Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.
#jira UE-31575
Change 3087107 on 2016/08/12 by Jurre.deBaare
Alembic Import with empty first frame will cause the editor to crash
#jira UE-34515
#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
#misc check condition fix in Runnable
#misc log now adds new page named after the imported Alembic file
Change 3087079 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Corrupted level package on loading cooked content
#jira UE-34591
Change 3087063 on 2016/08/12 by James.Cobbett
#jira UE-29618 Submitting test assets for Alembic Importer
Change 3087048 on 2016/08/12 by Matthew.Griffin
Changed Launcher Samples to create aggregate from property to avoid error in preflights
Only notify about Launcher Samples trigger in non-preflight builds
Change 3086985 on 2016/08/12 by Maciej.Mroz
#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]
Redone cl#3083825 from Dev-Blueprints
Change 3086960 on 2016/08/12 by Matthew.Griffin
Prevent Build DDC command from making DDC for platforms that aren't supported by project
#jira UEB-698
Change 3086945 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
#jira UE-18291
Change 3086904 on 2016/08/11 by Lina.Halper
Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f
#jira: UE-34570
Change 3086891 on 2016/08/11 by Lina.Halper
DUPEFIX: CL 3086544 from Michael Noland
Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
#jira UE-34223
#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
#tests (from Lina H) started the test project from JIRA and PIE, and no crash.
Change 3086837 on 2016/08/11 by Nick.Whiting
Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation
#jira UE-32564
Change 3086797 on 2016/08/11 by Dmitry.Rekman
Linux: fix crash on editor exit (UE-30795, UE-7519).
- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.
#jira UE-30795
Change 3086735 on 2016/08/11 by Richard.TalbotWatkin
Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash
Change 3086726 on 2016/08/11 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : 2DVR
2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
#jira UEVR-13
#review-3086004 @chad.taylor @nick.whiting
Change 3086652 on 2016/08/11 by Dmitry.Rekman
Linux: re-enable ICU (UE-34012).
- Built static libs against libc++; disabled using dynamic ones.
- Fixes lack of rich text formatting.
#jira UE-34012
Change 3086648 on 2016/08/11 by Nick.Whiting
Adding support for getting the HMD Device name from code / blueprints
#jira UE-31785
Change 3086589 on 2016/08/11 by Chad.Taylor
Fixing Vive resolution on packaged builds
#jira UE-34535
Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt
Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead.
#jira UE-34397
Change 3086529 on 2016/08/11 by Marc.Audy
Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
#jira UE-34287
Change 3086376 on 2016/08/11 by Peter.Sauerbrei
remove cached file handle from iOS and Android to save memory during loads
#jira UE-31720
Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt
Guard against crash with corrupted editor layouts
#jira UE-34364
Change 3086345 on 2016/08/11 by Dan.Oconnor
ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
#jira UE-34380
Change 3086272 on 2016/08/11 by Cody.Albert
Updating First Person templates to fix cook errors
#jira UE-22726
Change 3086259 on 2016/08/11 by Nick.Whiting
Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used
#jira UE-31617
Change 3086202 on 2016/08/11 by Marcus.Wassmer
Duplicate 3086176 to fix broken shaderpipelines on PS4
#jira UE-34540
Change 3086080 on 2016/08/11 by mason.seay
Test animbp for sub anim instances
#jira UE-29618
Change 3086062 on 2016/08/11 by Tom.Looman
Migrate from //depot/usr/ into Release-4.13 for VR Template.
#jira ue-34533
Change 3086032 on 2016/08/11 by Mike.Beach
Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).
#jira UE-34350
Change 3086025 on 2016/08/11 by Olaf.Piesche
#jira UE-32058
Replicating fix from 3050352
Change 3085969 on 2016/08/11 by John.Pollard
CIS fix
#jira UE-30516
Change 3085819 on 2016/08/11 by Jurre.deBaare
bForceOneSmoothingGroup not working for skeletal meshes
#fix Added check for forced smoothing group and calculate normals accordingly
#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
#jira UE-34555
Change 3085799 on 2016/08/11 by Ben.Marsh
Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.
Change 3085763 on 2016/08/11 by Daniel.Lamb
Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
#jira UE-34442
Change 3085717 on 2016/08/11 by Dmitry.Rekman
Linux: better messaging around Steam initialization (UE-32052).
- Also added a standalone test.
#jira UE-32052
Change 3085715 on 2016/08/11 by Chris.Bunner
Dropped check to an ensure as there's existing handling for invalid assets in that case.
#jira UE-23902
Change 3085714 on 2016/08/11 by Olaf.Piesche
#jira UE-30398
Fix offset added to particle collision locations.
Replicated from 3084645 in Dev-Rendering
Change 3085713 on 2016/08/11 by Chris.Babcock
Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
#jira UE-33840
#ue4
#android
#ios
#opengl
Change 3085711 on 2016/08/11 by Olaf.Piesche
#jira UE-34106
#jira UE-32784
#jira UE-31198
Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)
Replicated from 3083909 in Dev-Rendering
Change 3085707 on 2016/08/11 by Matthew.Griffin
Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue
Change 3085656 on 2016/08/11 by Marc.Audy
PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
#jira UE-32418
#jira UE-33617
Change 3085641 on 2016/08/11 by Lina.Halper
Fixed invalid compressed track data
- need a better solution and added ticket for 4.14 - UE-34547
#jira: UE-34077
Change 3085606 on 2016/08/11 by Max.Preussner
Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)
#jira UE-34381
Change 3085568 on 2016/08/11 by Maciej.Mroz
#jira UE-34436 Ensures when copy/pasting linked anim bp nodes
FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).
Change 3085532 on 2016/08/11 by Peter.Sauerbrei
fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
#jira UE-30335
Change 3085528 on 2016/08/11 by Max.Chen
Sequence Recorder: Fix crash when actor class to record is null.
#jira UE-34543
Change 3085418 on 2016/08/11 by Maciej.Mroz
#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults
Redone cl#3084313 from Dev-Blueprints
Change 3085395 on 2016/08/11 by John.Pollard
Don't allow hot-reloading if we're running PIE instances
#jira UE-30516
Change 3085377 on 2016/08/11 by Tom.Looman
Added StarterMap (WIP) to resolve JIRA.
#jira ue-34311
Change 3085364 on 2016/08/11 by Ben.Woodhouse
Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.
#jira UE-28561
Change 3085341 on 2016/08/11 by Dmitriy.Dyomin
Fixed: Creating Launcher Profile does not always shows all project available maps
#jira UE-33765
Change 3085336 on 2016/08/11 by Andrew.Rodham
Sequencer: Runtime instances are no longer updated when bluprints are recompiled
This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register
#jira UE-34499
Change 3085332 on 2016/08/11 by Dmitriy.Dyomin
Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
#jira UE-26868
Change 3085331 on 2016/08/11 by Ben.Woodhouse
Fix for threading related crash with precomputed lighting volumes
#jira UE-34531
Change 3085323 on 2016/08/11 by Allan.Bentham
Remove android specific vulkan hack to recreate depth buffer's imageview.
#jira UE-33593
#jira UE-33336
Change 3085313 on 2016/08/11 by Thomas.Sarkanen
StopRecordingAnimation now uses the same maing logic as RecordAnimation
This prevents inconsisten behaviour between record and stop record commands
#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor
Change 3085301 on 2016/08/11 by Allan.Bentham
Only allow gaussian DoF on mobile. Disable DoF for all other types.
#jira UE-34217
Change 3085292 on 2016/08/11 by Thomas.Sarkanen
Revert change to force shipping dlls in shipping builds
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3085291 on 2016/08/11 by Matthew.Griffin
Added nodes for Linux Editor, DDC and installed build
Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products
Change 3084973 on 2016/08/10 by Jeff.Campeau
Use relative settings for ShooterGame manifest
Package creation checks Xbox One target settings in Engine instead of Game config
#jira UE-33808
Change 3084932 on 2016/08/10 by patrickr.donovan
#jira UE-29618
SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.
Change 3084886 on 2016/08/10 by Daniel.Wright
Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
#jira UE-33238
Change 3084878 on 2016/08/10 by Jeff.Campeau
UFE launch command is generated with all devices requested instead of just the first.
#jira UE-34302
Change 3084860 on 2016/08/10 by Dmitry.Rekman
Fix CrashReportClient crashing on start (UE-32976, UE-34451).
- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.
#jira UE-32976
Change 3084756 on 2016/08/10 by Dmitry.Rekman
Linux: clean-up compiler settings logic (UE-22715).
- Includes parts of pull request #1704 by zaps166.
- Disables exceptions in most builds.
#jira UE-22715
Change 3084679 on 2016/08/10 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3084475
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
Change 3084614 on 2016/08/10 by Daniel.Wright
Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
#jira UE-34321
Change 3084607 on 2016/08/10 by Jeremiah.Waldron
Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur
Relates to:
#jira UE-34283
Change 3084586 on 2016/08/10 by Jeff.Campeau
Chunks don't assume they're done downloading at 100%.
#jira UE-34386
Change 3084552 on 2016/08/10 by Lina.Halper
Fix GetWorldFromContextObject to be used for another thread safer
: Guard to modify static variabls by another thread
#jira: UE-34416
Change 3084551 on 2016/08/10 by Mitchell.Wilson
Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
#jira UE-32855
Change 3084535 on 2016/08/10 by Mike.Beach
Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.
#jira UE-34378
Change 3084526 on 2016/08/10 by Jeff.Campeau
Update XDK to August 2016
#jira UEPLAT-1374
Change 3084471 on 2016/08/10 by John.Pollard
Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>
#jira UE-34295
Change 3084363 on 2016/08/10 by Marc.Audy
Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
#jira UE-34101
Change 3084231 on 2016/08/10 by Michael.Trepka
Fixed a problem with the search box in blueprint context menu not getting focus on Mac
#jira UE-20884
Change 3084229 on 2016/08/10 by Dmitry.Rekman
Linux: remove hardcoded staged files (UE-24594).
#jira UE-24594
Change 3084215 on 2016/08/10 by Chris.Bunner
Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
#jira UE-31936
Change 3084052 on 2016/08/10 by Jurre.deBaare
Alembic skeletal mesh importer does not calculate correct smoothing groups
#fix follow same routine as regular smoothing group/normal calculation
#jira UE-34493
Change 3084029 on 2016/08/10 by Phillip.Kavan
[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.
Mirrored from //UE4/Dev-Blueprints (CL# 3082839).
#jira UE-34458
Change 3084027 on 2016/08/10 by Ben.Woodhouse
Fix for crash when applying BSP materials
This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.
The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
#jira UE-31460
Change 3083981 on 2016/08/10 by Matthew.Griffin
Set Localization branch for Localise command to release version when running in the Release Branch
#jira UE-34471
Change 3083970 on 2016/08/10 by Max.Preussner
PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)
#jira UE-33481
Change 3083918 on 2016/08/10 by Matthew.Griffin
Exclude UBT generated files from the installed build
Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt
Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material
#jira UE-34360
Change 3083890 on 2016/08/10 by Matthew.Griffin
Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
#jira UE-34401
Change 3083873 on 2016/08/10 by Dmitry.Rekman
CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).
#jira UE-34478
Change 3083862 on 2016/08/10 by Mitchell.Wilson
Rebuilt lighting on Advanced_Lighting level in Samples Content
#jira UE-34383
Change 3083792 on 2016/08/10 by Benn.Gallagher
PR #2671: Fix sub instance curve values. (Contributed by tmiv)
PR #2668: Sub inst post anim fix (Contributed by tmiv)
#jira UE-34162
#jira UE-34121
Change 3083775 on 2016/08/10 by Kevin.Rushin
QAGame - Updating VRLatency Testmap, Can freelook
#jira UE-29618
Change 3083771 on 2016/08/10 by Robert.Manuszewski
Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.
#jira UE-34371
Change 3083742 on 2016/08/10 by Lee.Clark
4.13 - PS4 - Fix memory allocation sizes
#jira UE-33270
Change 3083732 on 2016/08/10 by Ben.Marsh
Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.
Change 3083690 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Foliage instances are not included when exporting a scene to FBX
#jira UE-34214
Change 3083654 on 2016/08/10 by Keith.Judge
Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().
#jira UE-23059
Change 3083646 on 2016/08/10 by Thomas.Sarkanen
Use shipping PhysX libs for installed builds
Copy fix from UE4Game.Target.cs to apply to all packaged games
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3083527 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Warning upon Undo/redo-ing of sculpting the landscape
#jira UE-34443
Change 3083502 on 2016/08/10 by Dmitriy.Dyomin
Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
#jira UE-34417
Change 3083349 on 2016/08/09 by Daniel.Wright
Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
#jira UE-31181
Change 3083167 on 2016/08/09 by Chad.Taylor
Null deref crash fix
#jira UE-33830
Change 3083144 on 2016/08/09 by Zabir.Hoque
Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.
#jira UE-32980
Change 3083136 on 2016/08/09 by Chad.Taylor
Stripping out egregious log spam
#jira UE-34181
Change 3083116 on 2016/08/09 by John.Billon
Defaulting r.D3D.RemoveUnusedInterpolators to on.
#Jira UE-34461
Change 3083114 on 2016/08/09 by John.Billon
Fixing static analysis warning in NullRHI.
#Jira UE-34462
Change 3083070 on 2016/08/09 by Dmitry.Rekman
PR #2516: CMake improvements and fixes (UE-22233, UE-32136).
- Contributed by Nihlus.
- Contains PR #1668 by mgerhardy
Summary of changes (from PR):
- Fixed an issue where CMake build files would contain invalid targets
- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
- Improved code readability throughout the generator. Can still use some more polish.
- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
- Improved commenting throughout the generator. As with readability, can still use some more polish.
- Removed unused using statements.
- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.
#jira UE-22233
Change 3082999 on 2016/08/09 by Jeremiah.Waldron
Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
#jira UE-34457
Change 3082993 on 2016/08/09 by mason.seay
Fixed level BP error and updated Reverb asset
#jira UE-29618
Change 3082981 on 2016/08/09 by Peter.Sauerbrei
disable roughness calculation for iOS metal
#jira UE-31815
Change 3082912 on 2016/08/09 by Chris.Babcock
Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
#jira UE-34432
#ue4
#android
Change 3082875 on 2016/08/09 by Chris.Bunner
Lowered verbosity of mesh build warning when using MikkTSpace.
#jira UE-23903
Change 3082867 on 2016/08/09 by Trung.Le
VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
#jira UE-34227
Change 3082818 on 2016/08/09 by Mike.Beach
Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).
#jira UE-34430
Change 3082794 on 2016/08/09 by Lukasz.Furman
fixed gameplay debugger extensions activating during simulate in editor
#jira UE-33343
Change 3082760 on 2016/08/09 by Jamie.Dale
Scene viewports are now centered when re-entering windowed mode
#jira UE-32842
Change 3082744 on 2016/08/09 by Mitchell.Wilson
Resaving assets to resolve empty engine version warnings.
#jira UE-29746
Change 3082728 on 2016/08/09 by Ben.Marsh
BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.
#jira UE-34329
Change 3082686 on 2016/08/09 by Marc.Audy
If the GameMode is not carried over as part of a seamless travel create it.
#jira UE-25569
Change 3082663 on 2016/08/09 by John.Billon
Fixed SubUVAnimation asset crash when texture source is cleared.
#Jira UE-34231
Change 3082650 on 2016/08/09 by John.Billon
Changed an ensure the NullRHI dealing with memory allocation to be a log message.
#Jira UE-32362
Change 3082644 on 2016/08/09 by Maciej.Mroz
#jira UE-34240 Match 3 nativization failure
Redone cl3082121 from Dev-Blueprints
Change 3082633 on 2016/08/09 by Maciej.Mroz
#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]
Redone cl3082414 from Dev-Blueprints
Change 3082606 on 2016/08/09 by Michael.Trepka
Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.
#jira UE-34276
Change 3082579 on 2016/08/09 by Benn.Gallagher
CIS fix, missed removing a few #ifs
#jira UE-29180
Change 3082525 on 2016/08/09 by Tom.Looman
Removed Android from supported platforms in VR Template.
#jira UE-34189
Change 3082523 on 2016/08/09 by Tom.Looman
Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
Fixed typo in level text.
#JIRA UE-34422
Change 3082504 on 2016/08/09 by Jurre.deBaare
Crash importing alembic asset over itself after saving it in Content Browser
#fix Trivial nullptr + isValid fix
#jira UE-34418
Change 3082433 on 2016/08/09 by Tom.Looman
Updated list of supported platforms.
#jira UE-34189
Change 3082423 on 2016/08/09 by Mitchell.Wilson
Resaving levels to resolve MikkTSpace warnings
Updating collision on SM_Floor_Round
#jira UE-30786
Change 3082361 on 2016/08/09 by Keith.Judge
Xbox One - Fix a controller disconnection crash.
- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
- Possibly a VS2015 Update 3 bug.
#jira UE-33955
Change 3082341 on 2016/08/09 by Mitchell.Wilson
Reimporting SM_GodRay_Plane
Resaving levels to resolve MikkTSpace warnings
Resaving multiple materials to resolve warnings
#jira UE-34212
Change 3082313 on 2016/08/09 by Matthew.Griffin
Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)
Change 3082294 on 2016/08/09 by Jurre.deBaare
Crash when importing an Alembic file with Materials as a different asset type than one that already exists
#fix Ensure that we have a valid material to assign to the assets
#jira UE-34377
Change 3082291 on 2016/08/09 by Jurre.deBaare
Unable to save Alembic asset with materials after importing more than once
#fix Make sure we delete referenced transient materials if they are not used
#jira UE-34400
Change 3082290 on 2016/08/09 by Jurre.deBaare
Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
#jira UE-34392
Change 3082274 on 2016/08/09 by Benn.Gallagher
Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
#jira UE-29780
Change 3082273 on 2016/08/09 by Benn.Gallagher
Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
#jira UE-30827
Change 3082270 on 2016/08/09 by Benn.Gallagher
Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
#jira UE-29180
Change 3082257 on 2016/08/09 by Jurre.deBaare
Auto align floor mesh does not work in Persona
#fix Readded functionality for the auto alignment :)
#jira UE-34404
Change 3082239 on 2016/08/09 by Peter.Sauerbrei
make sure IPP and supporting dlls are all 64-bit
#jira UE-34408
Change 3082225 on 2016/08/09 by Mitchell.Wilson
Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
Reimporting SM_GodRay_Plane
Saving all levels to resolve MikkTSpace warnings.
#jira UE-30787
Change 3082222 on 2016/08/09 by Rolando.Caloca
UE4.13 - Fix crash on opengl3
- Load proper shader map depending on feature level
- int interpolators require nointerpolation modifier
#jira UE-33879
Change 3082221 on 2016/08/09 by Benn.Gallagher
Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
#jira UE-34384
Change 3082179 on 2016/08/09 by Ben.Woodhouse
Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
#jira UE-31461
Change 3082170 on 2016/08/09 by Graeme.Thornton
Manual copy of CL 3078836 from Dev-Core to Release-4.13
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
#jira UE-33909
Change 3082169 on 2016/08/09 by Graeme.Thornton
Make FLauncherTasks have unique names so we don't end up with stat name collisions
#jira UE-33849
Change 3082163 on 2016/08/09 by Matthew.Griffin
Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
Added Checks for files that might not exist when creating Installed Build from Github etc.
Tag the published installed build zips
#jira UE-34249
Change 3082139 on 2016/08/09 by Ben.Marsh
BuildGraph: Allow writing a schema without passing a script in.
Change 3082109 on 2016/08/09 by Thomas.Sarkanen
Fixed blendspaces producing bad data when degenerate spaces are present
Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.
#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph
Change 3082080 on 2016/08/09 by Matthew.Griffin
Added notifications for available triggers
Change 3082054 on 2016/08/09 by Allan.Bentham
Quality level override changes to high QL are now correctly picked up.
#jira UE-22812
Change 3082049 on 2016/08/09 by Allan.Bentham
Update shaders when mobile preview device is changed.
#jira UE-22810
Change 3081866 on 2016/08/09 by Max.Chen
Fbx Export: Fix build.
#jira UETOOL-750
Change 3081863 on 2016/08/09 by Max.Chen
Fbx Export: Fix level sequence fbx export.
- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
- Fix setting rich curve tangents and interpolation modes.
- Fix camera focal length export.
#jira UETOOL-750
Change 3081823 on 2016/08/08 by Dmitriy.Dyomin
Fixed: Crash when simulating in editor with a landscape actor selected
#jira UE-34367
#coderview Gareth.Martin
Change 3081647 on 2016/08/08 by Chad.Taylor
OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport
#jira UE-34352
Change 3081645 on 2016/08/08 by Zak.Middleton
#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.
#jira UE-30178
Change 3081639 on 2016/08/08 by Tyler.Cole
Update build scripts for WEX MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081616 on 2016/08/08 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements
-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
#jira UEVR-13
#review-3081284 @chad.taylor @nick.whiting
Change 3081597 on 2016/08/08 by Tyler.Cole
Update build scripts for Ocean MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081476 on 2016/08/08 by Tyler.Cole
Update build script for UE4 Release-4.13 stream Fortnite MCP.
#jira NONE-0
Change 3081397 on 2016/08/08 by Josh.Adams
- Fixing more linux case issues in UT
#jira ue-33478
Change 3081391 on 2016/08/08 by Mitchell.Wilson
Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
#jira UE-33843
Change 3081383 on 2016/08/08 by Aaron.McLeran
#jira UE-34081
Implementing CL 3076637 into 4.13
#tests run a procedural sound wave object test
Change 3081337 on 2016/08/08 by Aaron.McLeran
#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay
- OR-26580
- Implementing CL 3071258 to 3.13
#tests ran paragon with change, no crashes
Change 3081335 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed memory leak in source resolver (UE-34385)
#jira UE-34385
Change 3081320 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed typo (UE-32421)
#jira UE-32421
Change 3081276 on 2016/08/08 by Mitchell.Wilson
Resaving asset to resolve MikkTSpace warning.
#jira UE-31116
Change 3081269 on 2016/08/08 by Dan.Oconnor
Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
#jira UE-34324
Change 3081052 on 2016/08/08 by Dan.Oconnor
Making a change to test UE-34324
#jira UE-34324
Change 3081026 on 2016/08/08 by Daniel.Wright
Added a heightfield painting example to BlueprintRenderToTarget content example
#jira UE-34323
Change 3081025 on 2016/08/08 by Daniel.Wright
CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
#jira UE-34321
Change 3081023 on 2016/08/08 by Aaron.McLeran
#jira UE-34325 Implementing 3080958 in 4.13
- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.
#tests ran repro case described in bug several times without crashing (was 100% repro)
Change 3081020 on 2016/08/08 by Dan.Oconnor
Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
#jira UE-26310
Change 3081010 on 2016/08/08 by Dan.Oconnor
Fix for losing root transform when recycling objects
#jira UE-28398
Change 3080972 on 2016/08/08 by Mark.Satterthwaite
Duplicate CL #3080684:
Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
#jira UE-21857
Change 3080971 on 2016/08/08 by Mark.Satterthwaite
Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
#jira UE-34355
Change 3080923 on 2016/08/08 by Michael.Trepka
When archiving on for Mac delete the dest icon if it exists before trying to call File.Move
#jira UE-33304
Change 3080919 on 2016/08/08 by samuel.proctor
Revised assets for Blueprint Debugging tests
#jira UE-29618
Change 3080878 on 2016/08/08 by Ben.Marsh
Fix sample build timeouts due to generating DDC using installed engine builds taking too long.
* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.
Change 3080849 on 2016/08/08 by Marc.Audy
Always stop matinee sounds when jumping around, not just if the sound changed.
#jira UE-31447
Change 3080843 on 2016/08/08 by Ben.Marsh
BuildGraph: Fix compile error due to duplicated variable name.
Change 3080840 on 2016/08/08 by Max.Chen
Fbx: Fix rich curve export being exported at the incorrect times when baked.
#jira UETOOL-750
Change 3080824 on 2016/08/08 by Max.Chen
Sequencer: Revert fix root component structure for level sequence actor.
#jira UE-34354
Change 3080819 on 2016/08/08 by Chad.Taylor
Merging Move and Vive haptic implementation from Dev-VR to Release-4.13
#jira UE-27886
Change 3080818 on 2016/08/08 by Jurre.deBaare
Crash when importing the same Alembic file but as a different Asset Type
#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
#misc Typo
#jira UE-34293
Change 3080817 on 2016/08/08 by Jurre.deBaare
Crash when importing an Alembic file with Materials if it already exists
#fix Only create materials if they don't already exist
#jira UE-34300
Change 3080814 on 2016/08/08 by Jurre.deBaare
Crash when importing Alembic files as Skeletal Mesh
#fix Set the NumVertices variable that was re-added :)
#misc removed dead code
#jira UE-34288
Change 3080813 on 2016/08/08 by Jurre.deBaare
[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
#jira UE-34294
Change 3080797 on 2016/08/08 by Dmitriy.Dyomin
Fix: Crash opening levels with landscape in them via the command console in standalone game
#jira UE-34348
Change 3080784 on 2016/08/08 by Jamie.Dale
We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)
#jira UE-34298
Change 3080734 on 2016/08/08 by Matthew.Griffin
Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent
Change 3080685 on 2016/08/08 by Peter.Sauerbrei
fix for crash on tvOS and iOS when launching a project
#jira UE-34005
Change 3080683 on 2016/08/08 by Matthew.Griffin
Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built
Change 3080681 on 2016/08/08 by Matthew.Griffin
Corrected path separators for Mac DDC location, which was preventing it from being included in installed build
Change 3080675 on 2016/08/08 by Robert.Manuszewski
Fixing CIS on Clang platforms
#jira UE-34025
Change 3080674 on 2016/08/08 by Ben.Woodhouse
Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507
#jira UE-32651
Change 3080594 on 2016/08/08 by Keith.Judge
Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.
#jira UE-31607
Change 3080573 on 2016/08/08 by Martin.Wilson
Fix Root Motion from Everything blending incorrectly when using layered blend per bone
#Jira UE-17815
Change 3080517 on 2016/08/08 by James.Golding
PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
#jira UE-34299, UE-34279
Change 3080512 on 2016/08/08 by Benn.Gallagher
Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
#jira UE-34137
Change 3080510 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)
#jira UE-32421
Change 3080509 on 2016/08/08 by Robert.Manuszewski
Added more detailed message when TArray's BulkSerialize fails.
#jira UE-34025
Change 3080506 on 2016/08/08 by Allan.Bentham
Do not set render target if there are no modulated shadows.
#jira UE-33252
Change 3080498 on 2016/08/08 by Keith.Judge
Fix D3D12.x link error.
#jira UE-34322
Change 3080493 on 2016/08/08 by Matthew.Griffin
Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
#jira UE-34073
Change 3080490 on 2016/08/08 by Maciej.Mroz
#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match
Redone cl# 3080484
Change 3080462 on 2016/08/08 by Allan.Bentham
Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
Fix initialisation errors introduced in CL 3070035.
#jira UE-34099
Change 3080242 on 2016/08/07 by Max.Chen
Sequencer: Fix to allow deleting spawnables from the viewport
#jira UE-28523
Change 3080241 on 2016/08/07 by Dmitriy.Dyomin
Fixed: StartCameraFade not fading camera when MobileHDR is off
#jira UE-34143
Change 3079990 on 2016/08/06 by andrew.porter
Changing defaults on some settings on M_Details for test case.
#jira UE-29618
Change 3079989 on 2016/08/06 by andrew.porter
Setting two sided off on M_Details material
#jira UE-29618
Change 3079986 on 2016/08/06 by phillip.patterson
Updated QA-Foliage for test case
#jira UE-29618
Change 3079984 on 2016/08/06 by andrew.porter
Adding test content for using sprites in UMG
#jira UE-29618
Change 3079879 on 2016/08/05 by Dmitry.Rekman
Remove HITCHHUNTER logspam from release UE (UE-30959).
#tests Compiled the UE4Editor.
#jira UE-30959
Change 3079815 on 2016/08/05 by Tyler.Cole
Set dependencies for Orion MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3079808 on 2016/08/05 by Daniel.Wright
BlueprintRenderToTarget content example map with interactable fluid surface
#jira UE-34323
Change 3079746 on 2016/08/05 by Daniel.Wright
Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
New blueprint function CreateRenderTarget2D
#jira UE-34321
Change 3079569 on 2016/08/05 by Mitchell.Wilson
Updating template tutorials after assets were moved to new folders
#jira UE-34139
Change 3079546 on 2016/08/05 by Ian.Shadden
#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6
#jira UE-34316
Change 3079542 on 2016/08/05 by Mark.Satterthwaite
Duplicate CL #3079503:
Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
#jira UE-33856
Change 3079472 on 2016/08/05 by Peter.Sauerbrei
fix for remote server name being empty stopping a build for a BP project in binary
fix for several error messages from platform requirements not stopping a build
#jira UE-34213
Change 3079453 on 2016/08/05 by Benjamin.Hyder
Updating QA_Materials to include Material Details example
#jira UE-29618
Change 3079389 on 2016/08/05 by Gareth.Martin
Missing file from CL 3079376:
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079384 on 2016/08/05 by Michael.Trepka
PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)
#jira UE-29358
Change 3079376 on 2016/08/05 by Gareth.Martin
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079365 on 2016/08/05 by Peter.Sauerbrei
fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
#jira UE-34192
Change 3079361 on 2016/08/05 by Ryan.Vance
#jira UE-34297
Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)
Change 3079349 on 2016/08/05 by Mason.Seay
Deleting unneeded assets
#jira UE-29618
Change 3079306 on 2016/08/05 by Peter.Sauerbrei
IPP is now built as a 64-bit executable
#jira UE-26393
Change 3079303 on 2016/08/05 by Peter.Sauerbrei
PR2018 - disable user input request from ssh courtesy of Teivaz
#jira UE-26393
Change 3079276 on 2016/08/05 by mason.seay
Extended Line Trace For Convenient
#jira UE-29618
Change 3079274 on 2016/08/05 by Alex.Delesky
#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.
Change 3079273 on 2016/08/05 by Max.Chen
Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.
#jira UE-34301
Change 3079254 on 2016/08/05 by Ori.Cohen
Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.
#JIRA UE-34224
Change 3079242 on 2016/08/05 by Nick.Darnell
Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.
#jira UE-34304
Change 3079129 on 2016/08/05 by Jurre.deBaare
#jira UE-34278
#fix Changed reimport path to be the same as geometry cache / skeletal mesh
Unable to reimport Alembic static meshes
#jira UE-34292
#fix Handle cancelled situation during reimport ui interaction
Cancelling the reimport of an Alembic file seems to confirm the action
#jira UE-34288
#fix Possible fix, flush rendering commands before importing
Crash when importing Alembic files as Skeletal Mesh
#jira UE-34282
#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
"Failed to Import" message when clicking Cancel on the Alembic Import Message
Change 3079127 on 2016/08/05 by Marc.Audy
Properly clean up all worlds when ending PIE while a seamless transition is active
#jira UE-33863
Change 3079107 on 2016/08/05 by Mike.Beach
Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).
#jira UE-30548
Change 3079093 on 2016/08/05 by Jurre.deBaare
Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
#fix Hide the environment and sky when showing vertex colours
#jira UE-34251
Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
#jira UE-34206
Change 3079090 on 2016/08/05 by Jurre.deBaare
Bad performance when changing (slider) values for the advanced preview scene
#fix Could not repro but added some more check if update needed checks
#jira UE-33496
Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
#fix Add the rotational delta for the sky to the directional light rotation
#jira UE-34108
Change 3079088 on 2016/08/05 by Jurre.deBaare
Alembic Cache Importer option for Hard Edge Angle Threshold does not work
#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
#jira UE-34127
Change 3079040 on 2016/08/05 by Max.Preussner
MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)
Also made class properties blueprint read-writable
#jira UE-34290
Change 3078958 on 2016/08/05 by Marc.Audy
Don't ever reregister child actor components
Don't destroy child actors when hiding a level
#jira UE-31038
Change 3078954 on 2016/08/05 by ryan.brucks
#jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL
Change 3078952 on 2016/08/05 by Phillip.Kavan
[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.
change summary:
- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.
#jira UE-34085, UE-34169
Change 3078912 on 2016/08/05 by Andrew.Rodham
Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified
#jira UE-33875
Change 3078900 on 2016/08/05 by Lauren.Ridge
Fix for small Vive HMD movements entering VR mode
#jira UE-33970
Change 3078880 on 2016/08/05 by Jack.Porter
Cannot set GenerateOverlapEvents flag on Landscape
#jira UE-9055
Change 3078879 on 2016/08/05 by Lee.Clark
PS4 - Fix corrupted debuffer decals
(CMask wasn't getting decoded correctly)
#jira UE-34273
Change 3078871 on 2016/08/05 by Steve.Robb
Fix for changes to UObject*s in property boxes.
#jira UE-29596
Change 3078857 on 2016/08/05 by Max.Chen
Sequencer: Set Fixed frame interval playback to false by default.
#jira UE-34272
Change 3078850 on 2016/08/05 by mason.seay
Updated map to test physics mesh, added comments to level BP
#jira UE-29618
Change 3078795 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixed spawnables not responding to blueprint reinstance events
This ultimately left spawnable bindings broken, and an unreachable object in the world
#jira UE-31635
Change 3078786 on 2016/08/05 by Robert.Manuszewski
Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.
#jira UE-33872
Change 3078782 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixes to "Create Camera Here" functionality
Fixed crash when undoing the "Create Camera Here" operation.
Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
Fixed issues when the cursor was outside of the play range
#jira UE-33127
Change 3078737 on 2016/08/05 by Andrew.Rodham
Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
#jira UE-34256
Change 3078722 on 2016/08/05 by Ben.Woodhouse
Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
#jira UE-34269
Change 3078620 on 2016/08/05 by Dmitriy.Dyomin
Fixed: SunTemple geometry has rendering artifacts on low end devices
[Android_Low] devices will use 'Low' material quality level
#jira UE-22455
Change 3078584 on 2016/08/05 by James.Golding
Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
#jira UE-33675
Change 3078565 on 2016/08/05 by Jack.Porter
Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.
#jira UE-33842
Change 3078564 on 2016/08/05 by James.Golding
Fix display name for bSupportUVFromHitResults to fix missingspace
#jira UE-34248
Change 3078542 on 2016/08/05 by Yannick.Lange
VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
#jira UE-32839
Change 3078541 on 2016/08/05 by Yannick.Lange
VR Editor : Fix linux compile error from VREditorAvatarActor
#jira UE-34215
Change 3078396 on 2016/08/04 by Max.Chen
Sequencer: Invalidate playback context when map changes.
#jira UE-34256
Change 3078291 on 2016/08/04 by Jeff.Campeau
RHI compress/decompress return success/failure
Failure falls back to software method
D3D12 for Xbox One still needs implementation
#jira UE-31363
Change 3078131 on 2016/08/04 by Chris.Babcock
Deal with missing Android movie framerate by defaulting to 30 if not available
#jira UE-34208
#ue4
#android
Change 3078084 on 2016/08/04 by John.Billon
Disabled AMD hacks Cvars that aren't needed anymore.
#Jira UE-30772
Change 3078083 on 2016/08/04 by John.Billon
Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
Added a couple of more ensures when allocating render targets.
Added log message when changing feature levels.
#Jira UE-32536
#Jira UE-32204
Change 3078039 on 2016/08/04 by Josh.Adams
- Fixed a case issue with Linux
#jira UE-33478
Change 3078029 on 2016/08/04 by Ryan.Vance
#jira UE-30989
We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.
Change 3078027 on 2016/08/04 by Lina.Halper
Fix sequencer morphtarget displaying issue
#code review:Max.Chen
#jira: UE-28459
Change 3078012 on 2016/08/04 by mason.seay
map and asset updates for testing UV hit detection
#jira UE-29618
Change 3078009 on 2016/08/04 by Jamie.Dale
Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading
This prevents it being incorrectly set by other operations, such as counting memory used by font data.
#jira UE-34252
Change 3078006 on 2016/08/04 by Mark.Satterthwaite
Duplicate CL #3064008 & CL #3077412:
Fix "iOS Metal-based build crashes at launch with sub-levels":
- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
- Fix validation error of texture reallocation on loading template projects under Metal.
#jira UE-30847
Change 3078002 on 2016/08/04 by John.Billon
Fixed LowLightMapQuality warning triggering with wrong conditions.
#Jira UE-33237
Change 3078001 on 2016/08/04 by John.Billon
Fixed a crash due to particle threading issues in packaged game.
#Jira UE-32147
Change 3077989 on 2016/08/04 by Rolando.Caloca
UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
#jira UE-34218
Change 3077940 on 2016/08/04 by Jeff.Campeau
Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
Include copies of the VS2015 runtime and UCRT
Change -applocaldir parameter to -applocaldirectory
Stage to engine and project binaries paths (for crash reporter, etc.)
#jira UE-33903
Change 3077936 on 2016/08/04 by Daniel.Wright
DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
#jira UE-34183
Change 3077927 on 2016/08/04 by Lina.Halper
Fix issue with morphtarget not working due to invalid guid
#jira: UE-34077
Change 3077919 on 2016/08/04 by Daniel.Wright
Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
#jira UE-34245
Change 3077877 on 2016/08/04 by Ori.Cohen
Fix physical animation undo/redo not affecting linked bodies and constraints
#JIRA UE-33987
Change 3077823 on 2016/08/04 by Ori.Cohen
Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)
#JIRA UE-33985
Change 3077814 on 2016/08/04 by Uriel.Doyon
Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
#jira UE-34120
#review-3077812
Change 3077781 on 2016/08/04 by Max.Chen
Sequencer: Fix crash in rotation key struct
#jira UE-34155
Change 3077771 on 2016/08/04 by Lina.Halper
Added const and removed auto
#jira: UE-33023
Change 3077702 on 2016/08/04 by Daniel.Wright
Copy - Planar reflection show flags can now be edited
#jira UE-34229
Change 3077585 on 2016/08/04 by Ori.Cohen
Fix spam when moving simulated skeletal mesh in the editor.
#JIRA UE-34164
Change 3077532 on 2016/08/04 by Tom.Looman
Fixed error in description of VR Template.
#jira ue-33950
Change 3077517 on 2016/08/04 by Tom.Looman
Fixed parsing error for FP_VirtualRealityBP
#jira UE-34059
Change 3077493 on 2016/08/04 by Tom.Looman
Updated Template description to remove GearVR reference and include more clear message on the two available maps.
#jira UE-33950
Change 3077492 on 2016/08/04 by Tom.Looman
Improvements to VR Template
Fixed teleportation issue on both locomotion types (JIRA)
Rebuilt navmesh for motioncontrollermap
Added new WIP startermap to clarify the difference between the multiple levels.
Added more comments and did some cleanup in BPs.
#jira UE-33962
Change 3077491 on 2016/08/04 by Jurre.deBaare
Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
#fix Pass in complete path to save material to instead of just the name
#jira UE-34211
Change 3077481 on 2016/08/04 by Tom.Looman
Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)
#jira ue-34143
Change 3077463 on 2016/08/04 by Ben.Woodhouse
Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
#jira UE-32843
Change 3077432 on 2016/08/04 by Steve.Robb
Removal of Fortnite-specific setting which disables hot reload.
#jira UE-33261
Change 3077380 on 2016/08/04 by Keith.Judge
Fix for green reflection environment in some maps.
- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
- Fixed a validation error when locking cube map faces which was causing them not to be updated.
- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
- Added a GPU/CPU sync at the same point the PS4 code does.
#jira UE-32086
Change 3077336 on 2016/08/04 by Mitchell.Wilson
removed r.Streaming.PoolSize from DefaultEngine.ini
Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
#jira UE-30941
Change 3077275 on 2016/08/04 by Phillip.Kavan
[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.
#jira UE-29903
Change 3077119 on 2016/08/04 by Marc.Audy
Use TickType All when in PIE
#jira UE-18982
Change 3077108 on 2016/08/04 by Jon.Nabozny
Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.
#jira UE-34032
Change 3077073 on 2016/08/04 by Jurre.deBaare
bBlendOverlappingNormals does not seem to have an impact for Alembic importing
#fix this wasn't being used in the normal calculation anymore so redundant
#jira UE-34204
Change 3077059 on 2016/08/04 by Robert.Manuszewski
Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).
#jira UE-34200
Change 3077024 on 2016/08/04 by Thomas.Sarkanen
Added GetResourceSize to UDataAsset
Data assets now correctly report their size.
#jira UE-28851 - Fix mem reporting of DataTables
Change 3077001 on 2016/08/04 by Andrew.Rodham
Sequencer: Fixed sequencer adding spawnables into recorded worlds twice
The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.
Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.
#jira UE-31422
Change 3076995 on 2016/08/04 by Matthew.Griffin
Fixed Shadow Variable warning
Change 3076974 on 2016/08/04 by Matthew.Griffin
Added Node to build CrashReportClient for Linux that can be used by internal game targets
Change 3076820 on 2016/08/04 by Max.Chen
Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).
#jira UE-34199
Change 3076665 on 2016/08/03 by Dan.Oconnor
Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
#jira UE-18982
Change 3076569 on 2016/08/03 by Chad.Taylor
SteamVR GetOrthoProjection implementation to fix broken console rendering in VR
#jira UE-21424
Change 3076556 on 2016/08/03 by Aaron.McLeran
#jira UE-34154 PSVR Stereo assets are spatialized as MONO
- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
- Fix is to only route audio that is mono and spatialized
- Fixed some compile errors/shadow variables
- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library
Change 3076546 on 2016/08/03 by Aaron.McLeran
#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves
Implementing 3069092 in Release-4.13
- Not all active sounds have sound classes, was causing a crash
#tests Run game with stat soundcues and not crash
Change 3076512 on 2016/08/03 by Ben.Marsh
Fix warning about UnrealTournament:true argument.
Change 3076492 on 2016/08/03 by Daniel.Wright
Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor.
#jira UE-34177
Change 3076491 on 2016/08/03 by Daniel.Wright
Marked the Forward Shading project setting as experimental for 4.13
#jira UE-34176
Change 3076490 on 2016/08/03 by Daniel.Wright
Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
#jira UE-34175
Change 3076489 on 2016/08/03 by Daniel.Wright
Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
#jira UE-34174
Change 3076485 on 2016/08/03 by Daniel.Wright
Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
#jira UE-34173
Change 3076440 on 2016/08/03 by Ryan.Vance
#jira UE-34184
Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
Adding Oculus 1.6 support.
Change 3076399 on 2016/08/03 by Nick.Darnell
Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.
#jira UE-34185
Change 3076397 on 2016/08/03 by Rolando.Caloca
UE4.13 - hlslcc -Fix for hlsl length(float)
#jira UE-32629
Change 3076337 on 2016/08/03 by mason.seay
Test assets (and map for ensure bug)
#jira UE-29618
Change 3076332 on 2016/08/03 by Peter.Sauerbrei
fix for clang build errors
#jira UE-34163
Change 3076326 on 2016/08/03 by Ryan.Vance
#jira UE-32975
Using the wrong screen position in the base pass pixel shader with ISR.
Change 3076309 on 2016/08/03 by Benjamin.Hyder
Renaming TEST-LightingFeatures to TM-LightingFeatures
#jira UE-29618
Change 3076299 on 2016/08/03 by Chad.Taylor
Fix SteamVR lag in late-update fold child renderables.
#jira UE-33928
Change 3076214 on 2016/08/03 by Mitchell.Wilson
Resaving BluperintOffice level to resolve MikkTSpace warnings.
Reimporting SM_GodRay_Plane to resolve cook warning.
#jira UE-30064
Change 3076112 on 2016/08/03 by Max.Chen
Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)
#jira UE-34167
Change 3076090 on 2016/08/03 by Marc.Audy
Fix Mac compile error
#jira UE-34163
Change 3076075 on 2016/08/03 by Jeremiah.Waldron
Fixing comments documenting attribute in deleteFiles node for UPL
#jira UE-34161
Change 3076034 on 2016/08/03 by Mitchell.Wilson
Resaving Strategy Game maps to resolve MikkTSpace warnings.
Resaving material in strategy game to resolve string asset reference warning.
#jira UE-29720
Change 3076003 on 2016/08/03 by Mitchell.Wilson
Resaving Elemental Demo levels to resolve MikkTSpace warnings.
Resaving multiple materials to resolve String asset reference warnings.
#jira UE-29679
Change 3075985 on 2016/08/03 by Jeremiah.Waldron
Fixing UPL comments misnaming the deleteFiles node
#jira UE-34161
Change 3075977 on 2016/08/03 by Maciej.Mroz
#jira UE-30473 Moving child component in child blueprint forces parent to become dirty
Duplicated from Dev-Blueprints CL 3075793
Change 3075959 on 2016/08/03 by Marc.Audy
Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
#jira UE-33921
Change 3075891 on 2016/08/03 by Chad.Taylor
SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.
#jira UE-34142
Change 3075882 on 2016/08/03 by Dan.Oconnor
Manually integrating 3073939 to address UE-19062
#jira UE-19062
Change 3075805 on 2016/08/03 by Marc.Audy
Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
#jira UE-18982
Change 3075803 on 2016/08/03 by Marc.Audy
Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
#jira UE-18982
Change 3075761 on 2016/08/03 by Max.Preussner
MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)
#jira UE-34152
Change 3075719 on 2016/08/03 by Chad.Taylor
Blocker fix for binary editor crash on incorrectly used dll
#jira UE-34142
Change 3075709 on 2016/08/03 by Jeremiah.Waldron
Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor
#android
#jira UE-34149
Change 3075695 on 2016/08/03 by Jurre.deBaare
Adding missing debug zlib dll
#jira UE-123
Change 3075641 on 2016/08/03 by Jurre.deBaare
Crash when re-importing alembic cache file several times
#fix Always create a new object when importing
#jira UE-34130
Change 3075609 on 2016/08/03 by Danny.Bouimad
#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.
Change 3075578 on 2016/08/03 by Mitchell.Wilson
Updating attenuation settings for multiple sounds in Strategy Game.
#jira UE-25828
Change 3075529 on 2016/08/03 by Trung.Le
VREditor: Fxied foliage lasso select without pressing trigger
#jira UE-33689
Change 3075502 on 2016/08/03 by Lee.Clark
Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.
#jira UE-28549
Change 3075386 on 2016/08/03 by Robert.Manuszewski
Fixing bulkdata using source data pointer as an archive instead of raw data when saving
#jira UE-34132
Change 3075384 on 2016/08/03 by mason.seay
AnimBP for crash bug
#jira UE-29618
Change 3075350 on 2016/08/03 by Max.Chen
Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.
#jira UE-30506
Change 3075327 on 2016/08/03 by Max.Chen
Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.
#jira UE-34093
Change 3075313 on 2016/08/03 by Matthew.Griffin
Tidied up hardcoded installed build includes so that they're all in one file with platform checks
Added .dll.config files to CsCompile build products if they exist
Change 3075133 on 2016/08/03 by Yannick.Lange
VREditor : Original submit in Dev-VREditor = 3064489
- Fix crash when starting VREditor and then changing levels
#jira UE-33766
Change 3075124 on 2016/08/03 by Thomas.Sarkanen
Fixed undo/redo crash when editing anim blueprint defaults
Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.
#jira UE-34024 - Crash undoing variable change in Animation Blueprint.
Change 3075101 on 2016/08/03 by Matthew.Griffin
Adding job to selectively build games in release branch
Also adding documentation and localization to overnight build
#jira UEB-688
Change 3075061 on 2016/08/03 by Yannick.Lange
VR Editor : Original submit in Dev-VREditor = 3062883
- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
- Avatar code refactor to its own actor class #jira UETOOL-812
#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812
Change 3075059 on 2016/08/03 by Allan.Bentham
Fall back to standard shadows when capsule shadows are not supported.
#jira UE-33344
Change 3075045 on 2016/08/03 by Matthew.Griffin
Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step
Change 3074693 on 2016/08/02 by Dan.Oconnor
Manually integrating 3070569 from Dev-Blueprints
#jira UE-34119
Change 3074672 on 2016/08/02 by Dan.Oconnor
Manually integrating 3061854 into 4.13 from Dev-Blueprints
#jira UE-34119
Change 3074646 on 2016/08/02 by Aaron.McLeran
#jira UE-34081 Implementing from Dev-Framework CL 3074325
Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback
- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.
- Implementing 3003851 from UT into Dev-Framework.
Change 3074630 on 2016/08/02 by Brent.Pease
UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
UE-33200 - A movie isn't played on iOS occasionally.
UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows
+ Give a more friendly error message when UHT fails with an invalid error code.
#jira UE-23846
#jira UE-33200
#jira UE-32397
Change 3074590 on 2016/08/02 by Rolando.Caloca
UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
#jira UE-33694
Change 3074588 on 2016/08/02 by Chad.Taylor
Update OpenVR SDK to v1.0.2
-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers
#jira UE-34115
Change 3074481 on 2016/08/02 by Ori.Cohen
Make sure that new physical animation data defaults to 0
#JIRA UE-33678
Change 3074395 on 2016/08/02 by Ori.Cohen
Fix duplication of physical animation profiles not duplicating data.
Also fix undo redo not working for profiles.
Fix editor not passing Duplicate change type
#JIRA UE-33987, UE-33985
Change 3074392 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.
Change 3074364 on 2016/08/02 by phillip.patterson
Re-created UMG_Optimization for Test Cases
#jira UE-29618
Change 3074346 on 2016/08/02 by Jurre.deBaare
Potential DDC warning fix, remove non-existing values
#jira UE-123
Change 3074289 on 2016/08/02 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirement
Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
#jira UEVR-13
#review-3074209 @chad.taylor @nick.whiting
Change 3074196 on 2016/08/02 by Martin.Wilson
Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)
#jira UE-23453
Change 3074177 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.
Change 3074157 on 2016/08/02 by Ben.Marsh
Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.
Change 3074132 on 2016/08/02 by Trung.Le
VREditor: Fixed brush preview present while in foliage mode and hovering at UI
#jira UE-33228
Change 3074131 on 2016/08/02 by Tom.Looman
Fix for scalability build warnings in VR Template
#jira ue-33325
Change 3074089 on 2016/08/02 by Kevin.Rushin
QAGame - Added Foliage to TestMap
#jira UE-29618
Change 3074067 on 2016/08/02 by Kevin.Rushin
QAGame- Rebuilt Lighting
#jira UE-29618
Change 3074063 on 2016/08/02 by Kevin.Rushin
QAGame - Fix up VREditor Map to have more asset variation
#jira UE-29618
Change 3074057 on 2016/08/02 by Andrew.Porter
Deleting - UMG_Optimization
#jira UE-29618
Change 3074040 on 2016/08/02 by Michael.Trepka
On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.
#jira UE-31194
Change 3074008 on 2016/08/02 by Phillip.Patterson
Renamed UMG_Invalidation to UMG_Optimization to better match test
#jira UE-29618
Change 3073988 on 2016/08/02 by Mitchell.Wilson
Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
#jira UE-32723
Change 3073966 on 2016/08/02 by Jurre.deBaare
Alembic Cache Importer option for propagating matrix transformation does not work
#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
#misc typo fix
#jira UE-34066
Change 3073953 on 2016/08/02 by Lina.Halper
Fixed static warning on null reference
#jira: UE-33923
Change 3073951 on 2016/08/02 by Lina.Halper
Fix GetRelativeTransform for negative scale
#jira: UE-33380
Change 3073896 on 2016/08/02 by Alex.Delesky
#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.
#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool
Change 3073804 on 2016/08/02 by Jamie.Dale
Fixed the detail panel trying to apply class customizations to structs
This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).
#jira UE-32623
Change 3073803 on 2016/08/02 by Jurre.deBaare
Morph target vertex mapping can be wrong with multi material caches
#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
#jira UE-34074
Change 3073788 on 2016/08/02 by Andrew.Rodham
Sequencer: Added support for montage based animation
CL#3061714 :
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
CL#3063015 :
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
CL#3068399 :
Sequencer: Changed animation tracks to allow more animation types (such as anim montages)
- APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility
#jira UE-34046
Change 3073787 on 2016/08/02 by Jurre.deBaare
Handle failed Simplygon proxy mesh generation with error message instead of hard checks
#fix Added a failed delegate along side the succesful delegate
#jira UE-31990
Change 3073786 on 2016/08/02 by Jurre.deBaare
Alembic importer crashes when not assets are generated
#fix Prevented adding nullptr values to the array (now only contains valid entries)
#jira UE-34065
Change 3073777 on 2016/08/02 by Jurre.deBaare
User is able to give a Preview Scene Profile the same name as an existing profile
#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
#jira UE-34033
Change 3073775 on 2016/08/02 by Mitchell.Wilson
Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
#jira UE-31281
Change 3073732 on 2016/08/02 by Rolando.Caloca
DR - Fix crash when enabling gpu morph targets on non SM5 platforms
#jira UE-34011
Change 3073706 on 2016/08/02 by Peter.Sauerbrei
fix for no tvOS libraries in binary release for Win64
#jira UE-34076
Change 3073671 on 2016/08/02 by Allan.Bentham
High quality mobile reflection captures are now blended in correct (linear) space.
#jira UE-33915
Change 3073663 on 2016/08/02 by Peter.Sauerbrei
fix for launch on failing for iOS in Binary
#jira UE-34014
Change 3073662 on 2016/08/02 by Lee.Clark
4.13 - PS4 - Fix Media Player Audio cutting out
#jira UE-33850
Change 3073616 on 2016/08/02 by Mark.Satterthwaite
Duplicate CL #3073584 from Dev-Platform:
Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
#jira UE-32323
Change 3073592 on 2016/08/02 by Max.Chen
Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.
#jira UE-33993
Change 3073585 on 2016/08/02 by Nick.Darnell
Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.
#jira UE-34075
Change 3073575 on 2016/08/02 by Richard.TalbotWatkin
Duplicating from Dev-Editor, CL 3057645
Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server
Change 3073542 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3072169.
A couple of changes to the BSP code:
* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.
#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume
Change 3073540 on 2016/08/02 by Matthew.Griffin
Added Package Samples script behind a trigger to package samples for QA
Removed submitter notifications from Launcher Samples nodes
Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
#jira UEB-689
Change 3073511 on 2016/08/02 by Tom.Looman
Removed object redirectors to fix build warning in VR Template
#jira ue-33325
Change 3073458 on 2016/08/02 by Jurre.deBaare
Update default preview scene ini and assets
#fix deleted old sky texture and fixed BaseEditor.ini setup
#jira UE-34063
Change 3073427 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3068585
Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
#jira UE-34062 - SplineMesh collision can be generated incorrectly
Change 3073421 on 2016/08/02 by James.Golding
Resave PSD test assets in QAGame with proper version
#jira UE-34061
Change 3073419 on 2016/08/02 by James.Golding
Rename OrientationDriver to PoseDriver
#jira UE-34015
Change 3073404 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3057895
Mesh paint bugfixes and improvements.
Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.
This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.
#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting
Change 3073380 on 2016/08/02 by Richard.TalbotWatkin
Fixed build error in unity builds.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
Change 3073343 on 2016/08/02 by Matthew.Griffin
Whitelisting PS4 and XboxOne plugins for those platforms specifically
#jira UE-33866
Change 3073338 on 2016/08/02 by Ben.Marsh
When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.
Change 3073319 on 2016/08/02 by Maciej.Mroz
#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860
Manually integrated some fixes from Dev-Blueprints
Change 3073311 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor CL 3057868
Spline component improvements, both tools and runtime:
- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
- Added a custom version for SplineComponent and provded serialization fixes.
- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending.
- Allowed an explicit loop point to be specified for closed splines.
- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
- Fixed the logic which determines whether the UCS has modified the spline curves.
- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.
#jira UETOOL-766 - Spline tool improvements
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-33669 - Crash in Dev-Editor
Change 3073242 on 2016/08/02 by James.Golding
Move physics state create/destroy delegates from BodyInstance to ActorComponent
- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
#jira UE-32768
Change 3072953 on 2016/08/01 by Uriel.Doyon
Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
#jira UE-34045
[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
FName UHeadMountedDisplayFunctionLibrary : : GetHMDDeviceName ( )
{
FName DeviceName ( NAME_None ) ;
2021-06-22 00:27:54 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > GetHMDDevice ( ) )
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3088355 on 2016/08/13 by Max.Preussner
Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)
#jira UE-34643
Change 3088331 on 2016/08/13 by Max.Preussner
Media: Fixed Failing to load Precached Media Source (UE-34285)
#jira UE-34285
Change 3088202 on 2016/08/12 by Zabir.Hoque
Porting DX12 Fix from MS:
Update D3D12 RHI for 4.13
- Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.
#jira UE-0
Change 3088149 on 2016/08/12 by Mark.Satterthwaite
Duplicate CL #3087991:
Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
#jira UE-34315
Change 3088131 on 2016/08/12 by Chris.Babcock
Fix iterative deploy for new ADB
#jira UE-34638
#ue4
#android
Change 3088106 on 2016/08/12 by Dan.Oconnor
Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
#jira UE-34564
Change 3088099 on 2016/08/12 by Zabir.Hoque
Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.
#Jira UE-27026
Change 3088072 on 2016/08/12 by Max.Chen
Sequencer: Level editor camera cut flag is now a one way gate
This resolves issues to do with the flag being erroneously reset by external forces.
#jira UE-33875
Change 3088031 on 2016/08/12 by Jeff.Campeau
Fix WinXP build issues in WmfMedia and SteamVR plugins.
#jira UE-32421
Change 3088025 on 2016/08/12 by Tom.Looman
Updated VR Template with new VR device ID blueprint node.
#jira ue-34592
Change 3088023 on 2016/08/12 by Tom.Looman
Added PS Move input handling support to VR Template.
#jira UE-34188
Change 3087989 on 2016/08/12 by Michael.Trepka
Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.
#jira UE-34581
Change 3087907 on 2016/08/12 by mason.seay
New test assets for sub instance testing
#jira UE-29618
Change 3087812 on 2016/08/12 by Maciej.Mroz
#jira UE-34247 Nativized UMG assets not visible
Redone cl#3087726 from Dev-Blueprints
Change 3087810 on 2016/08/12 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
#review-3087760 @nick.whiting
#jira UEVR-13
Change 3087795 on 2016/08/12 by Mitchell.Wilson
Added project thumbnail to subway sequencer.
Added thumbnails to subway sequencer levels.
Re-saved multiple files to resolve empty engine version and nodeguid warnings.
#jira UE-34521 UE-34519
Change 3087730 on 2016/08/12 by Michael.Trepka
Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml
#jira UE-34548
Change 3087699 on 2016/08/12 by Jeff.Campeau
Make resource generation fault tolerant of unset config values.
#jira UE-34614
Change 3087690 on 2016/08/12 by Mitchell.Wilson
Added a thumbnail for the BlueprintRenderToTarget level.
#jira UE-34544
Change 3087688 on 2016/08/12 by Marc.Audy
Fix headshot crash when tearing down physics when not registered
#jira UE-32935
Change 3087615 on 2016/08/12 by Ben.Woodhouse
Fix for crash in shadowsetup when frustum is invalid
#jira UE-33014
Change 3087607 on 2016/08/12 by Max.Chen
Sequencer: Fix Import/Export FBX
- Import FBX now maps arbitrary float properties as well as the transform
- Import/Export FBX now consistently operates on selected nodes or all nodes
- Fixed exported node names so that they're consistent with Sequencer node names
#jira UETOOL-534
Change 3087586 on 2016/08/12 by Chris.Babcock
Add HUAWEI_Mali device model recognition for Vulkan
#jira UE-34610
#ue4
#android
Change 3087529 on 2016/08/12 by Jurre.deBaare
Fix for crash when start index != 0 and sampling at a different rate
#jira UE-34637
Change 3087519 on 2016/08/12 by Ben.Marsh
Pass the -ignorejunk flag on to child UBT instance when running a clean.
Change 3087455 on 2016/08/12 by Jurre.deBaare
Alembic importer plugin needs proper logo
#fix Replaced icon with inverted official Alembic logo
#jira UE-34474
Change 3087360 on 2016/08/12 by Ben.Marsh
Print out the UBT command line before running it, to help diagnose -ignorejunk problem.
Change 3087285 on 2016/08/12 by Lina.Halper
- Add which animation it fails to compress
- Make sure it doesn't go in there unless you have skeleton
#jira: UE-34490
Change 3087237 on 2016/08/12 by Alex.Delesky
#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.
Change 3087215 on 2016/08/12 by danny.bouimad
#jira UE-29618 updated QA-AnimProfiles again...
Change 3087212 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated TM-PhysicalAnimProfiles again
Change 3087200 on 2016/08/12 by Robert.Manuszewski
Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.
#jira UE-34373
Change 3087188 on 2016/08/12 by Matthew.Griffin
Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually
Change 3087160 on 2016/08/12 by Ben.Marsh
Propagate the -ignorejunk option when we're building UHT as a child process in UBT.
Change 3087148 on 2016/08/12 by Ben.Marsh
Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.
Change 3087143 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.
Change 3087140 on 2016/08/12 by Steve.Robb
GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs
I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...
#jira UE-29286
Change 3087139 on 2016/08/12 by Steve.Robb
Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.
#jira UE-31575
Change 3087107 on 2016/08/12 by Jurre.deBaare
Alembic Import with empty first frame will cause the editor to crash
#jira UE-34515
#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
#misc check condition fix in Runnable
#misc log now adds new page named after the imported Alembic file
Change 3087079 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Corrupted level package on loading cooked content
#jira UE-34591
Change 3087063 on 2016/08/12 by James.Cobbett
#jira UE-29618 Submitting test assets for Alembic Importer
Change 3087048 on 2016/08/12 by Matthew.Griffin
Changed Launcher Samples to create aggregate from property to avoid error in preflights
Only notify about Launcher Samples trigger in non-preflight builds
Change 3086985 on 2016/08/12 by Maciej.Mroz
#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]
Redone cl#3083825 from Dev-Blueprints
Change 3086960 on 2016/08/12 by Matthew.Griffin
Prevent Build DDC command from making DDC for platforms that aren't supported by project
#jira UEB-698
Change 3086945 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
#jira UE-18291
Change 3086904 on 2016/08/11 by Lina.Halper
Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f
#jira: UE-34570
Change 3086891 on 2016/08/11 by Lina.Halper
DUPEFIX: CL 3086544 from Michael Noland
Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
#jira UE-34223
#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
#tests (from Lina H) started the test project from JIRA and PIE, and no crash.
Change 3086837 on 2016/08/11 by Nick.Whiting
Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation
#jira UE-32564
Change 3086797 on 2016/08/11 by Dmitry.Rekman
Linux: fix crash on editor exit (UE-30795, UE-7519).
- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.
#jira UE-30795
Change 3086735 on 2016/08/11 by Richard.TalbotWatkin
Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash
Change 3086726 on 2016/08/11 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : 2DVR
2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
#jira UEVR-13
#review-3086004 @chad.taylor @nick.whiting
Change 3086652 on 2016/08/11 by Dmitry.Rekman
Linux: re-enable ICU (UE-34012).
- Built static libs against libc++; disabled using dynamic ones.
- Fixes lack of rich text formatting.
#jira UE-34012
Change 3086648 on 2016/08/11 by Nick.Whiting
Adding support for getting the HMD Device name from code / blueprints
#jira UE-31785
Change 3086589 on 2016/08/11 by Chad.Taylor
Fixing Vive resolution on packaged builds
#jira UE-34535
Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt
Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead.
#jira UE-34397
Change 3086529 on 2016/08/11 by Marc.Audy
Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
#jira UE-34287
Change 3086376 on 2016/08/11 by Peter.Sauerbrei
remove cached file handle from iOS and Android to save memory during loads
#jira UE-31720
Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt
Guard against crash with corrupted editor layouts
#jira UE-34364
Change 3086345 on 2016/08/11 by Dan.Oconnor
ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
#jira UE-34380
Change 3086272 on 2016/08/11 by Cody.Albert
Updating First Person templates to fix cook errors
#jira UE-22726
Change 3086259 on 2016/08/11 by Nick.Whiting
Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used
#jira UE-31617
Change 3086202 on 2016/08/11 by Marcus.Wassmer
Duplicate 3086176 to fix broken shaderpipelines on PS4
#jira UE-34540
Change 3086080 on 2016/08/11 by mason.seay
Test animbp for sub anim instances
#jira UE-29618
Change 3086062 on 2016/08/11 by Tom.Looman
Migrate from //depot/usr/ into Release-4.13 for VR Template.
#jira ue-34533
Change 3086032 on 2016/08/11 by Mike.Beach
Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).
#jira UE-34350
Change 3086025 on 2016/08/11 by Olaf.Piesche
#jira UE-32058
Replicating fix from 3050352
Change 3085969 on 2016/08/11 by John.Pollard
CIS fix
#jira UE-30516
Change 3085819 on 2016/08/11 by Jurre.deBaare
bForceOneSmoothingGroup not working for skeletal meshes
#fix Added check for forced smoothing group and calculate normals accordingly
#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
#jira UE-34555
Change 3085799 on 2016/08/11 by Ben.Marsh
Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.
Change 3085763 on 2016/08/11 by Daniel.Lamb
Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
#jira UE-34442
Change 3085717 on 2016/08/11 by Dmitry.Rekman
Linux: better messaging around Steam initialization (UE-32052).
- Also added a standalone test.
#jira UE-32052
Change 3085715 on 2016/08/11 by Chris.Bunner
Dropped check to an ensure as there's existing handling for invalid assets in that case.
#jira UE-23902
Change 3085714 on 2016/08/11 by Olaf.Piesche
#jira UE-30398
Fix offset added to particle collision locations.
Replicated from 3084645 in Dev-Rendering
Change 3085713 on 2016/08/11 by Chris.Babcock
Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
#jira UE-33840
#ue4
#android
#ios
#opengl
Change 3085711 on 2016/08/11 by Olaf.Piesche
#jira UE-34106
#jira UE-32784
#jira UE-31198
Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)
Replicated from 3083909 in Dev-Rendering
Change 3085707 on 2016/08/11 by Matthew.Griffin
Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue
Change 3085656 on 2016/08/11 by Marc.Audy
PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
#jira UE-32418
#jira UE-33617
Change 3085641 on 2016/08/11 by Lina.Halper
Fixed invalid compressed track data
- need a better solution and added ticket for 4.14 - UE-34547
#jira: UE-34077
Change 3085606 on 2016/08/11 by Max.Preussner
Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)
#jira UE-34381
Change 3085568 on 2016/08/11 by Maciej.Mroz
#jira UE-34436 Ensures when copy/pasting linked anim bp nodes
FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).
Change 3085532 on 2016/08/11 by Peter.Sauerbrei
fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
#jira UE-30335
Change 3085528 on 2016/08/11 by Max.Chen
Sequence Recorder: Fix crash when actor class to record is null.
#jira UE-34543
Change 3085418 on 2016/08/11 by Maciej.Mroz
#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults
Redone cl#3084313 from Dev-Blueprints
Change 3085395 on 2016/08/11 by John.Pollard
Don't allow hot-reloading if we're running PIE instances
#jira UE-30516
Change 3085377 on 2016/08/11 by Tom.Looman
Added StarterMap (WIP) to resolve JIRA.
#jira ue-34311
Change 3085364 on 2016/08/11 by Ben.Woodhouse
Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.
#jira UE-28561
Change 3085341 on 2016/08/11 by Dmitriy.Dyomin
Fixed: Creating Launcher Profile does not always shows all project available maps
#jira UE-33765
Change 3085336 on 2016/08/11 by Andrew.Rodham
Sequencer: Runtime instances are no longer updated when bluprints are recompiled
This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register
#jira UE-34499
Change 3085332 on 2016/08/11 by Dmitriy.Dyomin
Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
#jira UE-26868
Change 3085331 on 2016/08/11 by Ben.Woodhouse
Fix for threading related crash with precomputed lighting volumes
#jira UE-34531
Change 3085323 on 2016/08/11 by Allan.Bentham
Remove android specific vulkan hack to recreate depth buffer's imageview.
#jira UE-33593
#jira UE-33336
Change 3085313 on 2016/08/11 by Thomas.Sarkanen
StopRecordingAnimation now uses the same maing logic as RecordAnimation
This prevents inconsisten behaviour between record and stop record commands
#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor
Change 3085301 on 2016/08/11 by Allan.Bentham
Only allow gaussian DoF on mobile. Disable DoF for all other types.
#jira UE-34217
Change 3085292 on 2016/08/11 by Thomas.Sarkanen
Revert change to force shipping dlls in shipping builds
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3085291 on 2016/08/11 by Matthew.Griffin
Added nodes for Linux Editor, DDC and installed build
Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products
Change 3084973 on 2016/08/10 by Jeff.Campeau
Use relative settings for ShooterGame manifest
Package creation checks Xbox One target settings in Engine instead of Game config
#jira UE-33808
Change 3084932 on 2016/08/10 by patrickr.donovan
#jira UE-29618
SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.
Change 3084886 on 2016/08/10 by Daniel.Wright
Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
#jira UE-33238
Change 3084878 on 2016/08/10 by Jeff.Campeau
UFE launch command is generated with all devices requested instead of just the first.
#jira UE-34302
Change 3084860 on 2016/08/10 by Dmitry.Rekman
Fix CrashReportClient crashing on start (UE-32976, UE-34451).
- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.
#jira UE-32976
Change 3084756 on 2016/08/10 by Dmitry.Rekman
Linux: clean-up compiler settings logic (UE-22715).
- Includes parts of pull request #1704 by zaps166.
- Disables exceptions in most builds.
#jira UE-22715
Change 3084679 on 2016/08/10 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3084475
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
Change 3084614 on 2016/08/10 by Daniel.Wright
Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
#jira UE-34321
Change 3084607 on 2016/08/10 by Jeremiah.Waldron
Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur
Relates to:
#jira UE-34283
Change 3084586 on 2016/08/10 by Jeff.Campeau
Chunks don't assume they're done downloading at 100%.
#jira UE-34386
Change 3084552 on 2016/08/10 by Lina.Halper
Fix GetWorldFromContextObject to be used for another thread safer
: Guard to modify static variabls by another thread
#jira: UE-34416
Change 3084551 on 2016/08/10 by Mitchell.Wilson
Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
#jira UE-32855
Change 3084535 on 2016/08/10 by Mike.Beach
Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.
#jira UE-34378
Change 3084526 on 2016/08/10 by Jeff.Campeau
Update XDK to August 2016
#jira UEPLAT-1374
Change 3084471 on 2016/08/10 by John.Pollard
Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>
#jira UE-34295
Change 3084363 on 2016/08/10 by Marc.Audy
Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
#jira UE-34101
Change 3084231 on 2016/08/10 by Michael.Trepka
Fixed a problem with the search box in blueprint context menu not getting focus on Mac
#jira UE-20884
Change 3084229 on 2016/08/10 by Dmitry.Rekman
Linux: remove hardcoded staged files (UE-24594).
#jira UE-24594
Change 3084215 on 2016/08/10 by Chris.Bunner
Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
#jira UE-31936
Change 3084052 on 2016/08/10 by Jurre.deBaare
Alembic skeletal mesh importer does not calculate correct smoothing groups
#fix follow same routine as regular smoothing group/normal calculation
#jira UE-34493
Change 3084029 on 2016/08/10 by Phillip.Kavan
[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.
Mirrored from //UE4/Dev-Blueprints (CL# 3082839).
#jira UE-34458
Change 3084027 on 2016/08/10 by Ben.Woodhouse
Fix for crash when applying BSP materials
This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.
The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
#jira UE-31460
Change 3083981 on 2016/08/10 by Matthew.Griffin
Set Localization branch for Localise command to release version when running in the Release Branch
#jira UE-34471
Change 3083970 on 2016/08/10 by Max.Preussner
PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)
#jira UE-33481
Change 3083918 on 2016/08/10 by Matthew.Griffin
Exclude UBT generated files from the installed build
Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt
Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material
#jira UE-34360
Change 3083890 on 2016/08/10 by Matthew.Griffin
Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
#jira UE-34401
Change 3083873 on 2016/08/10 by Dmitry.Rekman
CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).
#jira UE-34478
Change 3083862 on 2016/08/10 by Mitchell.Wilson
Rebuilt lighting on Advanced_Lighting level in Samples Content
#jira UE-34383
Change 3083792 on 2016/08/10 by Benn.Gallagher
PR #2671: Fix sub instance curve values. (Contributed by tmiv)
PR #2668: Sub inst post anim fix (Contributed by tmiv)
#jira UE-34162
#jira UE-34121
Change 3083775 on 2016/08/10 by Kevin.Rushin
QAGame - Updating VRLatency Testmap, Can freelook
#jira UE-29618
Change 3083771 on 2016/08/10 by Robert.Manuszewski
Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.
#jira UE-34371
Change 3083742 on 2016/08/10 by Lee.Clark
4.13 - PS4 - Fix memory allocation sizes
#jira UE-33270
Change 3083732 on 2016/08/10 by Ben.Marsh
Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.
Change 3083690 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Foliage instances are not included when exporting a scene to FBX
#jira UE-34214
Change 3083654 on 2016/08/10 by Keith.Judge
Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().
#jira UE-23059
Change 3083646 on 2016/08/10 by Thomas.Sarkanen
Use shipping PhysX libs for installed builds
Copy fix from UE4Game.Target.cs to apply to all packaged games
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3083527 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Warning upon Undo/redo-ing of sculpting the landscape
#jira UE-34443
Change 3083502 on 2016/08/10 by Dmitriy.Dyomin
Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
#jira UE-34417
Change 3083349 on 2016/08/09 by Daniel.Wright
Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
#jira UE-31181
Change 3083167 on 2016/08/09 by Chad.Taylor
Null deref crash fix
#jira UE-33830
Change 3083144 on 2016/08/09 by Zabir.Hoque
Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.
#jira UE-32980
Change 3083136 on 2016/08/09 by Chad.Taylor
Stripping out egregious log spam
#jira UE-34181
Change 3083116 on 2016/08/09 by John.Billon
Defaulting r.D3D.RemoveUnusedInterpolators to on.
#Jira UE-34461
Change 3083114 on 2016/08/09 by John.Billon
Fixing static analysis warning in NullRHI.
#Jira UE-34462
Change 3083070 on 2016/08/09 by Dmitry.Rekman
PR #2516: CMake improvements and fixes (UE-22233, UE-32136).
- Contributed by Nihlus.
- Contains PR #1668 by mgerhardy
Summary of changes (from PR):
- Fixed an issue where CMake build files would contain invalid targets
- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
- Improved code readability throughout the generator. Can still use some more polish.
- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
- Improved commenting throughout the generator. As with readability, can still use some more polish.
- Removed unused using statements.
- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.
#jira UE-22233
Change 3082999 on 2016/08/09 by Jeremiah.Waldron
Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
#jira UE-34457
Change 3082993 on 2016/08/09 by mason.seay
Fixed level BP error and updated Reverb asset
#jira UE-29618
Change 3082981 on 2016/08/09 by Peter.Sauerbrei
disable roughness calculation for iOS metal
#jira UE-31815
Change 3082912 on 2016/08/09 by Chris.Babcock
Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
#jira UE-34432
#ue4
#android
Change 3082875 on 2016/08/09 by Chris.Bunner
Lowered verbosity of mesh build warning when using MikkTSpace.
#jira UE-23903
Change 3082867 on 2016/08/09 by Trung.Le
VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
#jira UE-34227
Change 3082818 on 2016/08/09 by Mike.Beach
Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).
#jira UE-34430
Change 3082794 on 2016/08/09 by Lukasz.Furman
fixed gameplay debugger extensions activating during simulate in editor
#jira UE-33343
Change 3082760 on 2016/08/09 by Jamie.Dale
Scene viewports are now centered when re-entering windowed mode
#jira UE-32842
Change 3082744 on 2016/08/09 by Mitchell.Wilson
Resaving assets to resolve empty engine version warnings.
#jira UE-29746
Change 3082728 on 2016/08/09 by Ben.Marsh
BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.
#jira UE-34329
Change 3082686 on 2016/08/09 by Marc.Audy
If the GameMode is not carried over as part of a seamless travel create it.
#jira UE-25569
Change 3082663 on 2016/08/09 by John.Billon
Fixed SubUVAnimation asset crash when texture source is cleared.
#Jira UE-34231
Change 3082650 on 2016/08/09 by John.Billon
Changed an ensure the NullRHI dealing with memory allocation to be a log message.
#Jira UE-32362
Change 3082644 on 2016/08/09 by Maciej.Mroz
#jira UE-34240 Match 3 nativization failure
Redone cl3082121 from Dev-Blueprints
Change 3082633 on 2016/08/09 by Maciej.Mroz
#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]
Redone cl3082414 from Dev-Blueprints
Change 3082606 on 2016/08/09 by Michael.Trepka
Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.
#jira UE-34276
Change 3082579 on 2016/08/09 by Benn.Gallagher
CIS fix, missed removing a few #ifs
#jira UE-29180
Change 3082525 on 2016/08/09 by Tom.Looman
Removed Android from supported platforms in VR Template.
#jira UE-34189
Change 3082523 on 2016/08/09 by Tom.Looman
Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
Fixed typo in level text.
#JIRA UE-34422
Change 3082504 on 2016/08/09 by Jurre.deBaare
Crash importing alembic asset over itself after saving it in Content Browser
#fix Trivial nullptr + isValid fix
#jira UE-34418
Change 3082433 on 2016/08/09 by Tom.Looman
Updated list of supported platforms.
#jira UE-34189
Change 3082423 on 2016/08/09 by Mitchell.Wilson
Resaving levels to resolve MikkTSpace warnings
Updating collision on SM_Floor_Round
#jira UE-30786
Change 3082361 on 2016/08/09 by Keith.Judge
Xbox One - Fix a controller disconnection crash.
- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
- Possibly a VS2015 Update 3 bug.
#jira UE-33955
Change 3082341 on 2016/08/09 by Mitchell.Wilson
Reimporting SM_GodRay_Plane
Resaving levels to resolve MikkTSpace warnings
Resaving multiple materials to resolve warnings
#jira UE-34212
Change 3082313 on 2016/08/09 by Matthew.Griffin
Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)
Change 3082294 on 2016/08/09 by Jurre.deBaare
Crash when importing an Alembic file with Materials as a different asset type than one that already exists
#fix Ensure that we have a valid material to assign to the assets
#jira UE-34377
Change 3082291 on 2016/08/09 by Jurre.deBaare
Unable to save Alembic asset with materials after importing more than once
#fix Make sure we delete referenced transient materials if they are not used
#jira UE-34400
Change 3082290 on 2016/08/09 by Jurre.deBaare
Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
#jira UE-34392
Change 3082274 on 2016/08/09 by Benn.Gallagher
Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
#jira UE-29780
Change 3082273 on 2016/08/09 by Benn.Gallagher
Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
#jira UE-30827
Change 3082270 on 2016/08/09 by Benn.Gallagher
Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
#jira UE-29180
Change 3082257 on 2016/08/09 by Jurre.deBaare
Auto align floor mesh does not work in Persona
#fix Readded functionality for the auto alignment :)
#jira UE-34404
Change 3082239 on 2016/08/09 by Peter.Sauerbrei
make sure IPP and supporting dlls are all 64-bit
#jira UE-34408
Change 3082225 on 2016/08/09 by Mitchell.Wilson
Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
Reimporting SM_GodRay_Plane
Saving all levels to resolve MikkTSpace warnings.
#jira UE-30787
Change 3082222 on 2016/08/09 by Rolando.Caloca
UE4.13 - Fix crash on opengl3
- Load proper shader map depending on feature level
- int interpolators require nointerpolation modifier
#jira UE-33879
Change 3082221 on 2016/08/09 by Benn.Gallagher
Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
#jira UE-34384
Change 3082179 on 2016/08/09 by Ben.Woodhouse
Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
#jira UE-31461
Change 3082170 on 2016/08/09 by Graeme.Thornton
Manual copy of CL 3078836 from Dev-Core to Release-4.13
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
#jira UE-33909
Change 3082169 on 2016/08/09 by Graeme.Thornton
Make FLauncherTasks have unique names so we don't end up with stat name collisions
#jira UE-33849
Change 3082163 on 2016/08/09 by Matthew.Griffin
Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
Added Checks for files that might not exist when creating Installed Build from Github etc.
Tag the published installed build zips
#jira UE-34249
Change 3082139 on 2016/08/09 by Ben.Marsh
BuildGraph: Allow writing a schema without passing a script in.
Change 3082109 on 2016/08/09 by Thomas.Sarkanen
Fixed blendspaces producing bad data when degenerate spaces are present
Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.
#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph
Change 3082080 on 2016/08/09 by Matthew.Griffin
Added notifications for available triggers
Change 3082054 on 2016/08/09 by Allan.Bentham
Quality level override changes to high QL are now correctly picked up.
#jira UE-22812
Change 3082049 on 2016/08/09 by Allan.Bentham
Update shaders when mobile preview device is changed.
#jira UE-22810
Change 3081866 on 2016/08/09 by Max.Chen
Fbx Export: Fix build.
#jira UETOOL-750
Change 3081863 on 2016/08/09 by Max.Chen
Fbx Export: Fix level sequence fbx export.
- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
- Fix setting rich curve tangents and interpolation modes.
- Fix camera focal length export.
#jira UETOOL-750
Change 3081823 on 2016/08/08 by Dmitriy.Dyomin
Fixed: Crash when simulating in editor with a landscape actor selected
#jira UE-34367
#coderview Gareth.Martin
Change 3081647 on 2016/08/08 by Chad.Taylor
OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport
#jira UE-34352
Change 3081645 on 2016/08/08 by Zak.Middleton
#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.
#jira UE-30178
Change 3081639 on 2016/08/08 by Tyler.Cole
Update build scripts for WEX MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081616 on 2016/08/08 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements
-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
#jira UEVR-13
#review-3081284 @chad.taylor @nick.whiting
Change 3081597 on 2016/08/08 by Tyler.Cole
Update build scripts for Ocean MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081476 on 2016/08/08 by Tyler.Cole
Update build script for UE4 Release-4.13 stream Fortnite MCP.
#jira NONE-0
Change 3081397 on 2016/08/08 by Josh.Adams
- Fixing more linux case issues in UT
#jira ue-33478
Change 3081391 on 2016/08/08 by Mitchell.Wilson
Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
#jira UE-33843
Change 3081383 on 2016/08/08 by Aaron.McLeran
#jira UE-34081
Implementing CL 3076637 into 4.13
#tests run a procedural sound wave object test
Change 3081337 on 2016/08/08 by Aaron.McLeran
#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay
- OR-26580
- Implementing CL 3071258 to 3.13
#tests ran paragon with change, no crashes
Change 3081335 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed memory leak in source resolver (UE-34385)
#jira UE-34385
Change 3081320 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed typo (UE-32421)
#jira UE-32421
Change 3081276 on 2016/08/08 by Mitchell.Wilson
Resaving asset to resolve MikkTSpace warning.
#jira UE-31116
Change 3081269 on 2016/08/08 by Dan.Oconnor
Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
#jira UE-34324
Change 3081052 on 2016/08/08 by Dan.Oconnor
Making a change to test UE-34324
#jira UE-34324
Change 3081026 on 2016/08/08 by Daniel.Wright
Added a heightfield painting example to BlueprintRenderToTarget content example
#jira UE-34323
Change 3081025 on 2016/08/08 by Daniel.Wright
CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
#jira UE-34321
Change 3081023 on 2016/08/08 by Aaron.McLeran
#jira UE-34325 Implementing 3080958 in 4.13
- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.
#tests ran repro case described in bug several times without crashing (was 100% repro)
Change 3081020 on 2016/08/08 by Dan.Oconnor
Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
#jira UE-26310
Change 3081010 on 2016/08/08 by Dan.Oconnor
Fix for losing root transform when recycling objects
#jira UE-28398
Change 3080972 on 2016/08/08 by Mark.Satterthwaite
Duplicate CL #3080684:
Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
#jira UE-21857
Change 3080971 on 2016/08/08 by Mark.Satterthwaite
Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
#jira UE-34355
Change 3080923 on 2016/08/08 by Michael.Trepka
When archiving on for Mac delete the dest icon if it exists before trying to call File.Move
#jira UE-33304
Change 3080919 on 2016/08/08 by samuel.proctor
Revised assets for Blueprint Debugging tests
#jira UE-29618
Change 3080878 on 2016/08/08 by Ben.Marsh
Fix sample build timeouts due to generating DDC using installed engine builds taking too long.
* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.
Change 3080849 on 2016/08/08 by Marc.Audy
Always stop matinee sounds when jumping around, not just if the sound changed.
#jira UE-31447
Change 3080843 on 2016/08/08 by Ben.Marsh
BuildGraph: Fix compile error due to duplicated variable name.
Change 3080840 on 2016/08/08 by Max.Chen
Fbx: Fix rich curve export being exported at the incorrect times when baked.
#jira UETOOL-750
Change 3080824 on 2016/08/08 by Max.Chen
Sequencer: Revert fix root component structure for level sequence actor.
#jira UE-34354
Change 3080819 on 2016/08/08 by Chad.Taylor
Merging Move and Vive haptic implementation from Dev-VR to Release-4.13
#jira UE-27886
Change 3080818 on 2016/08/08 by Jurre.deBaare
Crash when importing the same Alembic file but as a different Asset Type
#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
#misc Typo
#jira UE-34293
Change 3080817 on 2016/08/08 by Jurre.deBaare
Crash when importing an Alembic file with Materials if it already exists
#fix Only create materials if they don't already exist
#jira UE-34300
Change 3080814 on 2016/08/08 by Jurre.deBaare
Crash when importing Alembic files as Skeletal Mesh
#fix Set the NumVertices variable that was re-added :)
#misc removed dead code
#jira UE-34288
Change 3080813 on 2016/08/08 by Jurre.deBaare
[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
#jira UE-34294
Change 3080797 on 2016/08/08 by Dmitriy.Dyomin
Fix: Crash opening levels with landscape in them via the command console in standalone game
#jira UE-34348
Change 3080784 on 2016/08/08 by Jamie.Dale
We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)
#jira UE-34298
Change 3080734 on 2016/08/08 by Matthew.Griffin
Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent
Change 3080685 on 2016/08/08 by Peter.Sauerbrei
fix for crash on tvOS and iOS when launching a project
#jira UE-34005
Change 3080683 on 2016/08/08 by Matthew.Griffin
Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built
Change 3080681 on 2016/08/08 by Matthew.Griffin
Corrected path separators for Mac DDC location, which was preventing it from being included in installed build
Change 3080675 on 2016/08/08 by Robert.Manuszewski
Fixing CIS on Clang platforms
#jira UE-34025
Change 3080674 on 2016/08/08 by Ben.Woodhouse
Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507
#jira UE-32651
Change 3080594 on 2016/08/08 by Keith.Judge
Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.
#jira UE-31607
Change 3080573 on 2016/08/08 by Martin.Wilson
Fix Root Motion from Everything blending incorrectly when using layered blend per bone
#Jira UE-17815
Change 3080517 on 2016/08/08 by James.Golding
PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
#jira UE-34299, UE-34279
Change 3080512 on 2016/08/08 by Benn.Gallagher
Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
#jira UE-34137
Change 3080510 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)
#jira UE-32421
Change 3080509 on 2016/08/08 by Robert.Manuszewski
Added more detailed message when TArray's BulkSerialize fails.
#jira UE-34025
Change 3080506 on 2016/08/08 by Allan.Bentham
Do not set render target if there are no modulated shadows.
#jira UE-33252
Change 3080498 on 2016/08/08 by Keith.Judge
Fix D3D12.x link error.
#jira UE-34322
Change 3080493 on 2016/08/08 by Matthew.Griffin
Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
#jira UE-34073
Change 3080490 on 2016/08/08 by Maciej.Mroz
#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match
Redone cl# 3080484
Change 3080462 on 2016/08/08 by Allan.Bentham
Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
Fix initialisation errors introduced in CL 3070035.
#jira UE-34099
Change 3080242 on 2016/08/07 by Max.Chen
Sequencer: Fix to allow deleting spawnables from the viewport
#jira UE-28523
Change 3080241 on 2016/08/07 by Dmitriy.Dyomin
Fixed: StartCameraFade not fading camera when MobileHDR is off
#jira UE-34143
Change 3079990 on 2016/08/06 by andrew.porter
Changing defaults on some settings on M_Details for test case.
#jira UE-29618
Change 3079989 on 2016/08/06 by andrew.porter
Setting two sided off on M_Details material
#jira UE-29618
Change 3079986 on 2016/08/06 by phillip.patterson
Updated QA-Foliage for test case
#jira UE-29618
Change 3079984 on 2016/08/06 by andrew.porter
Adding test content for using sprites in UMG
#jira UE-29618
Change 3079879 on 2016/08/05 by Dmitry.Rekman
Remove HITCHHUNTER logspam from release UE (UE-30959).
#tests Compiled the UE4Editor.
#jira UE-30959
Change 3079815 on 2016/08/05 by Tyler.Cole
Set dependencies for Orion MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3079808 on 2016/08/05 by Daniel.Wright
BlueprintRenderToTarget content example map with interactable fluid surface
#jira UE-34323
Change 3079746 on 2016/08/05 by Daniel.Wright
Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
New blueprint function CreateRenderTarget2D
#jira UE-34321
Change 3079569 on 2016/08/05 by Mitchell.Wilson
Updating template tutorials after assets were moved to new folders
#jira UE-34139
Change 3079546 on 2016/08/05 by Ian.Shadden
#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6
#jira UE-34316
Change 3079542 on 2016/08/05 by Mark.Satterthwaite
Duplicate CL #3079503:
Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
#jira UE-33856
Change 3079472 on 2016/08/05 by Peter.Sauerbrei
fix for remote server name being empty stopping a build for a BP project in binary
fix for several error messages from platform requirements not stopping a build
#jira UE-34213
Change 3079453 on 2016/08/05 by Benjamin.Hyder
Updating QA_Materials to include Material Details example
#jira UE-29618
Change 3079389 on 2016/08/05 by Gareth.Martin
Missing file from CL 3079376:
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079384 on 2016/08/05 by Michael.Trepka
PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)
#jira UE-29358
Change 3079376 on 2016/08/05 by Gareth.Martin
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079365 on 2016/08/05 by Peter.Sauerbrei
fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
#jira UE-34192
Change 3079361 on 2016/08/05 by Ryan.Vance
#jira UE-34297
Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)
Change 3079349 on 2016/08/05 by Mason.Seay
Deleting unneeded assets
#jira UE-29618
Change 3079306 on 2016/08/05 by Peter.Sauerbrei
IPP is now built as a 64-bit executable
#jira UE-26393
Change 3079303 on 2016/08/05 by Peter.Sauerbrei
PR2018 - disable user input request from ssh courtesy of Teivaz
#jira UE-26393
Change 3079276 on 2016/08/05 by mason.seay
Extended Line Trace For Convenient
#jira UE-29618
Change 3079274 on 2016/08/05 by Alex.Delesky
#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.
Change 3079273 on 2016/08/05 by Max.Chen
Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.
#jira UE-34301
Change 3079254 on 2016/08/05 by Ori.Cohen
Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.
#JIRA UE-34224
Change 3079242 on 2016/08/05 by Nick.Darnell
Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.
#jira UE-34304
Change 3079129 on 2016/08/05 by Jurre.deBaare
#jira UE-34278
#fix Changed reimport path to be the same as geometry cache / skeletal mesh
Unable to reimport Alembic static meshes
#jira UE-34292
#fix Handle cancelled situation during reimport ui interaction
Cancelling the reimport of an Alembic file seems to confirm the action
#jira UE-34288
#fix Possible fix, flush rendering commands before importing
Crash when importing Alembic files as Skeletal Mesh
#jira UE-34282
#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
"Failed to Import" message when clicking Cancel on the Alembic Import Message
Change 3079127 on 2016/08/05 by Marc.Audy
Properly clean up all worlds when ending PIE while a seamless transition is active
#jira UE-33863
Change 3079107 on 2016/08/05 by Mike.Beach
Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).
#jira UE-30548
Change 3079093 on 2016/08/05 by Jurre.deBaare
Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
#fix Hide the environment and sky when showing vertex colours
#jira UE-34251
Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
#jira UE-34206
Change 3079090 on 2016/08/05 by Jurre.deBaare
Bad performance when changing (slider) values for the advanced preview scene
#fix Could not repro but added some more check if update needed checks
#jira UE-33496
Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
#fix Add the rotational delta for the sky to the directional light rotation
#jira UE-34108
Change 3079088 on 2016/08/05 by Jurre.deBaare
Alembic Cache Importer option for Hard Edge Angle Threshold does not work
#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
#jira UE-34127
Change 3079040 on 2016/08/05 by Max.Preussner
MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)
Also made class properties blueprint read-writable
#jira UE-34290
Change 3078958 on 2016/08/05 by Marc.Audy
Don't ever reregister child actor components
Don't destroy child actors when hiding a level
#jira UE-31038
Change 3078954 on 2016/08/05 by ryan.brucks
#jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL
Change 3078952 on 2016/08/05 by Phillip.Kavan
[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.
change summary:
- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.
#jira UE-34085, UE-34169
Change 3078912 on 2016/08/05 by Andrew.Rodham
Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified
#jira UE-33875
Change 3078900 on 2016/08/05 by Lauren.Ridge
Fix for small Vive HMD movements entering VR mode
#jira UE-33970
Change 3078880 on 2016/08/05 by Jack.Porter
Cannot set GenerateOverlapEvents flag on Landscape
#jira UE-9055
Change 3078879 on 2016/08/05 by Lee.Clark
PS4 - Fix corrupted debuffer decals
(CMask wasn't getting decoded correctly)
#jira UE-34273
Change 3078871 on 2016/08/05 by Steve.Robb
Fix for changes to UObject*s in property boxes.
#jira UE-29596
Change 3078857 on 2016/08/05 by Max.Chen
Sequencer: Set Fixed frame interval playback to false by default.
#jira UE-34272
Change 3078850 on 2016/08/05 by mason.seay
Updated map to test physics mesh, added comments to level BP
#jira UE-29618
Change 3078795 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixed spawnables not responding to blueprint reinstance events
This ultimately left spawnable bindings broken, and an unreachable object in the world
#jira UE-31635
Change 3078786 on 2016/08/05 by Robert.Manuszewski
Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.
#jira UE-33872
Change 3078782 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixes to "Create Camera Here" functionality
Fixed crash when undoing the "Create Camera Here" operation.
Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
Fixed issues when the cursor was outside of the play range
#jira UE-33127
Change 3078737 on 2016/08/05 by Andrew.Rodham
Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
#jira UE-34256
Change 3078722 on 2016/08/05 by Ben.Woodhouse
Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
#jira UE-34269
Change 3078620 on 2016/08/05 by Dmitriy.Dyomin
Fixed: SunTemple geometry has rendering artifacts on low end devices
[Android_Low] devices will use 'Low' material quality level
#jira UE-22455
Change 3078584 on 2016/08/05 by James.Golding
Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
#jira UE-33675
Change 3078565 on 2016/08/05 by Jack.Porter
Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.
#jira UE-33842
Change 3078564 on 2016/08/05 by James.Golding
Fix display name for bSupportUVFromHitResults to fix missingspace
#jira UE-34248
Change 3078542 on 2016/08/05 by Yannick.Lange
VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
#jira UE-32839
Change 3078541 on 2016/08/05 by Yannick.Lange
VR Editor : Fix linux compile error from VREditorAvatarActor
#jira UE-34215
Change 3078396 on 2016/08/04 by Max.Chen
Sequencer: Invalidate playback context when map changes.
#jira UE-34256
Change 3078291 on 2016/08/04 by Jeff.Campeau
RHI compress/decompress return success/failure
Failure falls back to software method
D3D12 for Xbox One still needs implementation
#jira UE-31363
Change 3078131 on 2016/08/04 by Chris.Babcock
Deal with missing Android movie framerate by defaulting to 30 if not available
#jira UE-34208
#ue4
#android
Change 3078084 on 2016/08/04 by John.Billon
Disabled AMD hacks Cvars that aren't needed anymore.
#Jira UE-30772
Change 3078083 on 2016/08/04 by John.Billon
Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
Added a couple of more ensures when allocating render targets.
Added log message when changing feature levels.
#Jira UE-32536
#Jira UE-32204
Change 3078039 on 2016/08/04 by Josh.Adams
- Fixed a case issue with Linux
#jira UE-33478
Change 3078029 on 2016/08/04 by Ryan.Vance
#jira UE-30989
We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.
Change 3078027 on 2016/08/04 by Lina.Halper
Fix sequencer morphtarget displaying issue
#code review:Max.Chen
#jira: UE-28459
Change 3078012 on 2016/08/04 by mason.seay
map and asset updates for testing UV hit detection
#jira UE-29618
Change 3078009 on 2016/08/04 by Jamie.Dale
Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading
This prevents it being incorrectly set by other operations, such as counting memory used by font data.
#jira UE-34252
Change 3078006 on 2016/08/04 by Mark.Satterthwaite
Duplicate CL #3064008 & CL #3077412:
Fix "iOS Metal-based build crashes at launch with sub-levels":
- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
- Fix validation error of texture reallocation on loading template projects under Metal.
#jira UE-30847
Change 3078002 on 2016/08/04 by John.Billon
Fixed LowLightMapQuality warning triggering with wrong conditions.
#Jira UE-33237
Change 3078001 on 2016/08/04 by John.Billon
Fixed a crash due to particle threading issues in packaged game.
#Jira UE-32147
Change 3077989 on 2016/08/04 by Rolando.Caloca
UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
#jira UE-34218
Change 3077940 on 2016/08/04 by Jeff.Campeau
Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
Include copies of the VS2015 runtime and UCRT
Change -applocaldir parameter to -applocaldirectory
Stage to engine and project binaries paths (for crash reporter, etc.)
#jira UE-33903
Change 3077936 on 2016/08/04 by Daniel.Wright
DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
#jira UE-34183
Change 3077927 on 2016/08/04 by Lina.Halper
Fix issue with morphtarget not working due to invalid guid
#jira: UE-34077
Change 3077919 on 2016/08/04 by Daniel.Wright
Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
#jira UE-34245
Change 3077877 on 2016/08/04 by Ori.Cohen
Fix physical animation undo/redo not affecting linked bodies and constraints
#JIRA UE-33987
Change 3077823 on 2016/08/04 by Ori.Cohen
Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)
#JIRA UE-33985
Change 3077814 on 2016/08/04 by Uriel.Doyon
Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
#jira UE-34120
#review-3077812
Change 3077781 on 2016/08/04 by Max.Chen
Sequencer: Fix crash in rotation key struct
#jira UE-34155
Change 3077771 on 2016/08/04 by Lina.Halper
Added const and removed auto
#jira: UE-33023
Change 3077702 on 2016/08/04 by Daniel.Wright
Copy - Planar reflection show flags can now be edited
#jira UE-34229
Change 3077585 on 2016/08/04 by Ori.Cohen
Fix spam when moving simulated skeletal mesh in the editor.
#JIRA UE-34164
Change 3077532 on 2016/08/04 by Tom.Looman
Fixed error in description of VR Template.
#jira ue-33950
Change 3077517 on 2016/08/04 by Tom.Looman
Fixed parsing error for FP_VirtualRealityBP
#jira UE-34059
Change 3077493 on 2016/08/04 by Tom.Looman
Updated Template description to remove GearVR reference and include more clear message on the two available maps.
#jira UE-33950
Change 3077492 on 2016/08/04 by Tom.Looman
Improvements to VR Template
Fixed teleportation issue on both locomotion types (JIRA)
Rebuilt navmesh for motioncontrollermap
Added new WIP startermap to clarify the difference between the multiple levels.
Added more comments and did some cleanup in BPs.
#jira UE-33962
Change 3077491 on 2016/08/04 by Jurre.deBaare
Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
#fix Pass in complete path to save material to instead of just the name
#jira UE-34211
Change 3077481 on 2016/08/04 by Tom.Looman
Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)
#jira ue-34143
Change 3077463 on 2016/08/04 by Ben.Woodhouse
Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
#jira UE-32843
Change 3077432 on 2016/08/04 by Steve.Robb
Removal of Fortnite-specific setting which disables hot reload.
#jira UE-33261
Change 3077380 on 2016/08/04 by Keith.Judge
Fix for green reflection environment in some maps.
- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
- Fixed a validation error when locking cube map faces which was causing them not to be updated.
- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
- Added a GPU/CPU sync at the same point the PS4 code does.
#jira UE-32086
Change 3077336 on 2016/08/04 by Mitchell.Wilson
removed r.Streaming.PoolSize from DefaultEngine.ini
Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
#jira UE-30941
Change 3077275 on 2016/08/04 by Phillip.Kavan
[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.
#jira UE-29903
Change 3077119 on 2016/08/04 by Marc.Audy
Use TickType All when in PIE
#jira UE-18982
Change 3077108 on 2016/08/04 by Jon.Nabozny
Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.
#jira UE-34032
Change 3077073 on 2016/08/04 by Jurre.deBaare
bBlendOverlappingNormals does not seem to have an impact for Alembic importing
#fix this wasn't being used in the normal calculation anymore so redundant
#jira UE-34204
Change 3077059 on 2016/08/04 by Robert.Manuszewski
Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).
#jira UE-34200
Change 3077024 on 2016/08/04 by Thomas.Sarkanen
Added GetResourceSize to UDataAsset
Data assets now correctly report their size.
#jira UE-28851 - Fix mem reporting of DataTables
Change 3077001 on 2016/08/04 by Andrew.Rodham
Sequencer: Fixed sequencer adding spawnables into recorded worlds twice
The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.
Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.
#jira UE-31422
Change 3076995 on 2016/08/04 by Matthew.Griffin
Fixed Shadow Variable warning
Change 3076974 on 2016/08/04 by Matthew.Griffin
Added Node to build CrashReportClient for Linux that can be used by internal game targets
Change 3076820 on 2016/08/04 by Max.Chen
Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).
#jira UE-34199
Change 3076665 on 2016/08/03 by Dan.Oconnor
Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
#jira UE-18982
Change 3076569 on 2016/08/03 by Chad.Taylor
SteamVR GetOrthoProjection implementation to fix broken console rendering in VR
#jira UE-21424
Change 3076556 on 2016/08/03 by Aaron.McLeran
#jira UE-34154 PSVR Stereo assets are spatialized as MONO
- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
- Fix is to only route audio that is mono and spatialized
- Fixed some compile errors/shadow variables
- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library
Change 3076546 on 2016/08/03 by Aaron.McLeran
#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves
Implementing 3069092 in Release-4.13
- Not all active sounds have sound classes, was causing a crash
#tests Run game with stat soundcues and not crash
Change 3076512 on 2016/08/03 by Ben.Marsh
Fix warning about UnrealTournament:true argument.
Change 3076492 on 2016/08/03 by Daniel.Wright
Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor.
#jira UE-34177
Change 3076491 on 2016/08/03 by Daniel.Wright
Marked the Forward Shading project setting as experimental for 4.13
#jira UE-34176
Change 3076490 on 2016/08/03 by Daniel.Wright
Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
#jira UE-34175
Change 3076489 on 2016/08/03 by Daniel.Wright
Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
#jira UE-34174
Change 3076485 on 2016/08/03 by Daniel.Wright
Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
#jira UE-34173
Change 3076440 on 2016/08/03 by Ryan.Vance
#jira UE-34184
Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
Adding Oculus 1.6 support.
Change 3076399 on 2016/08/03 by Nick.Darnell
Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.
#jira UE-34185
Change 3076397 on 2016/08/03 by Rolando.Caloca
UE4.13 - hlslcc -Fix for hlsl length(float)
#jira UE-32629
Change 3076337 on 2016/08/03 by mason.seay
Test assets (and map for ensure bug)
#jira UE-29618
Change 3076332 on 2016/08/03 by Peter.Sauerbrei
fix for clang build errors
#jira UE-34163
Change 3076326 on 2016/08/03 by Ryan.Vance
#jira UE-32975
Using the wrong screen position in the base pass pixel shader with ISR.
Change 3076309 on 2016/08/03 by Benjamin.Hyder
Renaming TEST-LightingFeatures to TM-LightingFeatures
#jira UE-29618
Change 3076299 on 2016/08/03 by Chad.Taylor
Fix SteamVR lag in late-update fold child renderables.
#jira UE-33928
Change 3076214 on 2016/08/03 by Mitchell.Wilson
Resaving BluperintOffice level to resolve MikkTSpace warnings.
Reimporting SM_GodRay_Plane to resolve cook warning.
#jira UE-30064
Change 3076112 on 2016/08/03 by Max.Chen
Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)
#jira UE-34167
Change 3076090 on 2016/08/03 by Marc.Audy
Fix Mac compile error
#jira UE-34163
Change 3076075 on 2016/08/03 by Jeremiah.Waldron
Fixing comments documenting attribute in deleteFiles node for UPL
#jira UE-34161
Change 3076034 on 2016/08/03 by Mitchell.Wilson
Resaving Strategy Game maps to resolve MikkTSpace warnings.
Resaving material in strategy game to resolve string asset reference warning.
#jira UE-29720
Change 3076003 on 2016/08/03 by Mitchell.Wilson
Resaving Elemental Demo levels to resolve MikkTSpace warnings.
Resaving multiple materials to resolve String asset reference warnings.
#jira UE-29679
Change 3075985 on 2016/08/03 by Jeremiah.Waldron
Fixing UPL comments misnaming the deleteFiles node
#jira UE-34161
Change 3075977 on 2016/08/03 by Maciej.Mroz
#jira UE-30473 Moving child component in child blueprint forces parent to become dirty
Duplicated from Dev-Blueprints CL 3075793
Change 3075959 on 2016/08/03 by Marc.Audy
Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
#jira UE-33921
Change 3075891 on 2016/08/03 by Chad.Taylor
SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.
#jira UE-34142
Change 3075882 on 2016/08/03 by Dan.Oconnor
Manually integrating 3073939 to address UE-19062
#jira UE-19062
Change 3075805 on 2016/08/03 by Marc.Audy
Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
#jira UE-18982
Change 3075803 on 2016/08/03 by Marc.Audy
Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
#jira UE-18982
Change 3075761 on 2016/08/03 by Max.Preussner
MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)
#jira UE-34152
Change 3075719 on 2016/08/03 by Chad.Taylor
Blocker fix for binary editor crash on incorrectly used dll
#jira UE-34142
Change 3075709 on 2016/08/03 by Jeremiah.Waldron
Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor
#android
#jira UE-34149
Change 3075695 on 2016/08/03 by Jurre.deBaare
Adding missing debug zlib dll
#jira UE-123
Change 3075641 on 2016/08/03 by Jurre.deBaare
Crash when re-importing alembic cache file several times
#fix Always create a new object when importing
#jira UE-34130
Change 3075609 on 2016/08/03 by Danny.Bouimad
#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.
Change 3075578 on 2016/08/03 by Mitchell.Wilson
Updating attenuation settings for multiple sounds in Strategy Game.
#jira UE-25828
Change 3075529 on 2016/08/03 by Trung.Le
VREditor: Fxied foliage lasso select without pressing trigger
#jira UE-33689
Change 3075502 on 2016/08/03 by Lee.Clark
Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.
#jira UE-28549
Change 3075386 on 2016/08/03 by Robert.Manuszewski
Fixing bulkdata using source data pointer as an archive instead of raw data when saving
#jira UE-34132
Change 3075384 on 2016/08/03 by mason.seay
AnimBP for crash bug
#jira UE-29618
Change 3075350 on 2016/08/03 by Max.Chen
Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.
#jira UE-30506
Change 3075327 on 2016/08/03 by Max.Chen
Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.
#jira UE-34093
Change 3075313 on 2016/08/03 by Matthew.Griffin
Tidied up hardcoded installed build includes so that they're all in one file with platform checks
Added .dll.config files to CsCompile build products if they exist
Change 3075133 on 2016/08/03 by Yannick.Lange
VREditor : Original submit in Dev-VREditor = 3064489
- Fix crash when starting VREditor and then changing levels
#jira UE-33766
Change 3075124 on 2016/08/03 by Thomas.Sarkanen
Fixed undo/redo crash when editing anim blueprint defaults
Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.
#jira UE-34024 - Crash undoing variable change in Animation Blueprint.
Change 3075101 on 2016/08/03 by Matthew.Griffin
Adding job to selectively build games in release branch
Also adding documentation and localization to overnight build
#jira UEB-688
Change 3075061 on 2016/08/03 by Yannick.Lange
VR Editor : Original submit in Dev-VREditor = 3062883
- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
- Avatar code refactor to its own actor class #jira UETOOL-812
#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812
Change 3075059 on 2016/08/03 by Allan.Bentham
Fall back to standard shadows when capsule shadows are not supported.
#jira UE-33344
Change 3075045 on 2016/08/03 by Matthew.Griffin
Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step
Change 3074693 on 2016/08/02 by Dan.Oconnor
Manually integrating 3070569 from Dev-Blueprints
#jira UE-34119
Change 3074672 on 2016/08/02 by Dan.Oconnor
Manually integrating 3061854 into 4.13 from Dev-Blueprints
#jira UE-34119
Change 3074646 on 2016/08/02 by Aaron.McLeran
#jira UE-34081 Implementing from Dev-Framework CL 3074325
Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback
- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.
- Implementing 3003851 from UT into Dev-Framework.
Change 3074630 on 2016/08/02 by Brent.Pease
UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
UE-33200 - A movie isn't played on iOS occasionally.
UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows
+ Give a more friendly error message when UHT fails with an invalid error code.
#jira UE-23846
#jira UE-33200
#jira UE-32397
Change 3074590 on 2016/08/02 by Rolando.Caloca
UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
#jira UE-33694
Change 3074588 on 2016/08/02 by Chad.Taylor
Update OpenVR SDK to v1.0.2
-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers
#jira UE-34115
Change 3074481 on 2016/08/02 by Ori.Cohen
Make sure that new physical animation data defaults to 0
#JIRA UE-33678
Change 3074395 on 2016/08/02 by Ori.Cohen
Fix duplication of physical animation profiles not duplicating data.
Also fix undo redo not working for profiles.
Fix editor not passing Duplicate change type
#JIRA UE-33987, UE-33985
Change 3074392 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.
Change 3074364 on 2016/08/02 by phillip.patterson
Re-created UMG_Optimization for Test Cases
#jira UE-29618
Change 3074346 on 2016/08/02 by Jurre.deBaare
Potential DDC warning fix, remove non-existing values
#jira UE-123
Change 3074289 on 2016/08/02 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirement
Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
#jira UEVR-13
#review-3074209 @chad.taylor @nick.whiting
Change 3074196 on 2016/08/02 by Martin.Wilson
Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)
#jira UE-23453
Change 3074177 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.
Change 3074157 on 2016/08/02 by Ben.Marsh
Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.
Change 3074132 on 2016/08/02 by Trung.Le
VREditor: Fixed brush preview present while in foliage mode and hovering at UI
#jira UE-33228
Change 3074131 on 2016/08/02 by Tom.Looman
Fix for scalability build warnings in VR Template
#jira ue-33325
Change 3074089 on 2016/08/02 by Kevin.Rushin
QAGame - Added Foliage to TestMap
#jira UE-29618
Change 3074067 on 2016/08/02 by Kevin.Rushin
QAGame- Rebuilt Lighting
#jira UE-29618
Change 3074063 on 2016/08/02 by Kevin.Rushin
QAGame - Fix up VREditor Map to have more asset variation
#jira UE-29618
Change 3074057 on 2016/08/02 by Andrew.Porter
Deleting - UMG_Optimization
#jira UE-29618
Change 3074040 on 2016/08/02 by Michael.Trepka
On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.
#jira UE-31194
Change 3074008 on 2016/08/02 by Phillip.Patterson
Renamed UMG_Invalidation to UMG_Optimization to better match test
#jira UE-29618
Change 3073988 on 2016/08/02 by Mitchell.Wilson
Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
#jira UE-32723
Change 3073966 on 2016/08/02 by Jurre.deBaare
Alembic Cache Importer option for propagating matrix transformation does not work
#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
#misc typo fix
#jira UE-34066
Change 3073953 on 2016/08/02 by Lina.Halper
Fixed static warning on null reference
#jira: UE-33923
Change 3073951 on 2016/08/02 by Lina.Halper
Fix GetRelativeTransform for negative scale
#jira: UE-33380
Change 3073896 on 2016/08/02 by Alex.Delesky
#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.
#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool
Change 3073804 on 2016/08/02 by Jamie.Dale
Fixed the detail panel trying to apply class customizations to structs
This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).
#jira UE-32623
Change 3073803 on 2016/08/02 by Jurre.deBaare
Morph target vertex mapping can be wrong with multi material caches
#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
#jira UE-34074
Change 3073788 on 2016/08/02 by Andrew.Rodham
Sequencer: Added support for montage based animation
CL#3061714 :
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
CL#3063015 :
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
CL#3068399 :
Sequencer: Changed animation tracks to allow more animation types (such as anim montages)
- APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility
#jira UE-34046
Change 3073787 on 2016/08/02 by Jurre.deBaare
Handle failed Simplygon proxy mesh generation with error message instead of hard checks
#fix Added a failed delegate along side the succesful delegate
#jira UE-31990
Change 3073786 on 2016/08/02 by Jurre.deBaare
Alembic importer crashes when not assets are generated
#fix Prevented adding nullptr values to the array (now only contains valid entries)
#jira UE-34065
Change 3073777 on 2016/08/02 by Jurre.deBaare
User is able to give a Preview Scene Profile the same name as an existing profile
#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
#jira UE-34033
Change 3073775 on 2016/08/02 by Mitchell.Wilson
Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
#jira UE-31281
Change 3073732 on 2016/08/02 by Rolando.Caloca
DR - Fix crash when enabling gpu morph targets on non SM5 platforms
#jira UE-34011
Change 3073706 on 2016/08/02 by Peter.Sauerbrei
fix for no tvOS libraries in binary release for Win64
#jira UE-34076
Change 3073671 on 2016/08/02 by Allan.Bentham
High quality mobile reflection captures are now blended in correct (linear) space.
#jira UE-33915
Change 3073663 on 2016/08/02 by Peter.Sauerbrei
fix for launch on failing for iOS in Binary
#jira UE-34014
Change 3073662 on 2016/08/02 by Lee.Clark
4.13 - PS4 - Fix Media Player Audio cutting out
#jira UE-33850
Change 3073616 on 2016/08/02 by Mark.Satterthwaite
Duplicate CL #3073584 from Dev-Platform:
Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
#jira UE-32323
Change 3073592 on 2016/08/02 by Max.Chen
Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.
#jira UE-33993
Change 3073585 on 2016/08/02 by Nick.Darnell
Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.
#jira UE-34075
Change 3073575 on 2016/08/02 by Richard.TalbotWatkin
Duplicating from Dev-Editor, CL 3057645
Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server
Change 3073542 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3072169.
A couple of changes to the BSP code:
* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.
#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume
Change 3073540 on 2016/08/02 by Matthew.Griffin
Added Package Samples script behind a trigger to package samples for QA
Removed submitter notifications from Launcher Samples nodes
Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
#jira UEB-689
Change 3073511 on 2016/08/02 by Tom.Looman
Removed object redirectors to fix build warning in VR Template
#jira ue-33325
Change 3073458 on 2016/08/02 by Jurre.deBaare
Update default preview scene ini and assets
#fix deleted old sky texture and fixed BaseEditor.ini setup
#jira UE-34063
Change 3073427 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3068585
Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
#jira UE-34062 - SplineMesh collision can be generated incorrectly
Change 3073421 on 2016/08/02 by James.Golding
Resave PSD test assets in QAGame with proper version
#jira UE-34061
Change 3073419 on 2016/08/02 by James.Golding
Rename OrientationDriver to PoseDriver
#jira UE-34015
Change 3073404 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3057895
Mesh paint bugfixes and improvements.
Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.
This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.
#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting
Change 3073380 on 2016/08/02 by Richard.TalbotWatkin
Fixed build error in unity builds.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
Change 3073343 on 2016/08/02 by Matthew.Griffin
Whitelisting PS4 and XboxOne plugins for those platforms specifically
#jira UE-33866
Change 3073338 on 2016/08/02 by Ben.Marsh
When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.
Change 3073319 on 2016/08/02 by Maciej.Mroz
#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860
Manually integrated some fixes from Dev-Blueprints
Change 3073311 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor CL 3057868
Spline component improvements, both tools and runtime:
- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
- Added a custom version for SplineComponent and provded serialization fixes.
- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending.
- Allowed an explicit loop point to be specified for closed splines.
- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
- Fixed the logic which determines whether the UCS has modified the spline curves.
- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.
#jira UETOOL-766 - Spline tool improvements
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-33669 - Crash in Dev-Editor
Change 3073242 on 2016/08/02 by James.Golding
Move physics state create/destroy delegates from BodyInstance to ActorComponent
- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
#jira UE-32768
Change 3072953 on 2016/08/01 by Uriel.Doyon
Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
#jira UE-34045
[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
{
2021-06-22 00:27:54 -04:00
DeviceName = GEngine - > XRSystem - > GetHMDDevice ( ) - > GetHMDName ( ) ;
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3088355 on 2016/08/13 by Max.Preussner
Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)
#jira UE-34643
Change 3088331 on 2016/08/13 by Max.Preussner
Media: Fixed Failing to load Precached Media Source (UE-34285)
#jira UE-34285
Change 3088202 on 2016/08/12 by Zabir.Hoque
Porting DX12 Fix from MS:
Update D3D12 RHI for 4.13
- Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.
#jira UE-0
Change 3088149 on 2016/08/12 by Mark.Satterthwaite
Duplicate CL #3087991:
Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
#jira UE-34315
Change 3088131 on 2016/08/12 by Chris.Babcock
Fix iterative deploy for new ADB
#jira UE-34638
#ue4
#android
Change 3088106 on 2016/08/12 by Dan.Oconnor
Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
#jira UE-34564
Change 3088099 on 2016/08/12 by Zabir.Hoque
Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.
#Jira UE-27026
Change 3088072 on 2016/08/12 by Max.Chen
Sequencer: Level editor camera cut flag is now a one way gate
This resolves issues to do with the flag being erroneously reset by external forces.
#jira UE-33875
Change 3088031 on 2016/08/12 by Jeff.Campeau
Fix WinXP build issues in WmfMedia and SteamVR plugins.
#jira UE-32421
Change 3088025 on 2016/08/12 by Tom.Looman
Updated VR Template with new VR device ID blueprint node.
#jira ue-34592
Change 3088023 on 2016/08/12 by Tom.Looman
Added PS Move input handling support to VR Template.
#jira UE-34188
Change 3087989 on 2016/08/12 by Michael.Trepka
Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.
#jira UE-34581
Change 3087907 on 2016/08/12 by mason.seay
New test assets for sub instance testing
#jira UE-29618
Change 3087812 on 2016/08/12 by Maciej.Mroz
#jira UE-34247 Nativized UMG assets not visible
Redone cl#3087726 from Dev-Blueprints
Change 3087810 on 2016/08/12 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
#review-3087760 @nick.whiting
#jira UEVR-13
Change 3087795 on 2016/08/12 by Mitchell.Wilson
Added project thumbnail to subway sequencer.
Added thumbnails to subway sequencer levels.
Re-saved multiple files to resolve empty engine version and nodeguid warnings.
#jira UE-34521 UE-34519
Change 3087730 on 2016/08/12 by Michael.Trepka
Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml
#jira UE-34548
Change 3087699 on 2016/08/12 by Jeff.Campeau
Make resource generation fault tolerant of unset config values.
#jira UE-34614
Change 3087690 on 2016/08/12 by Mitchell.Wilson
Added a thumbnail for the BlueprintRenderToTarget level.
#jira UE-34544
Change 3087688 on 2016/08/12 by Marc.Audy
Fix headshot crash when tearing down physics when not registered
#jira UE-32935
Change 3087615 on 2016/08/12 by Ben.Woodhouse
Fix for crash in shadowsetup when frustum is invalid
#jira UE-33014
Change 3087607 on 2016/08/12 by Max.Chen
Sequencer: Fix Import/Export FBX
- Import FBX now maps arbitrary float properties as well as the transform
- Import/Export FBX now consistently operates on selected nodes or all nodes
- Fixed exported node names so that they're consistent with Sequencer node names
#jira UETOOL-534
Change 3087586 on 2016/08/12 by Chris.Babcock
Add HUAWEI_Mali device model recognition for Vulkan
#jira UE-34610
#ue4
#android
Change 3087529 on 2016/08/12 by Jurre.deBaare
Fix for crash when start index != 0 and sampling at a different rate
#jira UE-34637
Change 3087519 on 2016/08/12 by Ben.Marsh
Pass the -ignorejunk flag on to child UBT instance when running a clean.
Change 3087455 on 2016/08/12 by Jurre.deBaare
Alembic importer plugin needs proper logo
#fix Replaced icon with inverted official Alembic logo
#jira UE-34474
Change 3087360 on 2016/08/12 by Ben.Marsh
Print out the UBT command line before running it, to help diagnose -ignorejunk problem.
Change 3087285 on 2016/08/12 by Lina.Halper
- Add which animation it fails to compress
- Make sure it doesn't go in there unless you have skeleton
#jira: UE-34490
Change 3087237 on 2016/08/12 by Alex.Delesky
#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.
Change 3087215 on 2016/08/12 by danny.bouimad
#jira UE-29618 updated QA-AnimProfiles again...
Change 3087212 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated TM-PhysicalAnimProfiles again
Change 3087200 on 2016/08/12 by Robert.Manuszewski
Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.
#jira UE-34373
Change 3087188 on 2016/08/12 by Matthew.Griffin
Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually
Change 3087160 on 2016/08/12 by Ben.Marsh
Propagate the -ignorejunk option when we're building UHT as a child process in UBT.
Change 3087148 on 2016/08/12 by Ben.Marsh
Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.
Change 3087143 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.
Change 3087140 on 2016/08/12 by Steve.Robb
GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs
I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...
#jira UE-29286
Change 3087139 on 2016/08/12 by Steve.Robb
Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.
#jira UE-31575
Change 3087107 on 2016/08/12 by Jurre.deBaare
Alembic Import with empty first frame will cause the editor to crash
#jira UE-34515
#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
#misc check condition fix in Runnable
#misc log now adds new page named after the imported Alembic file
Change 3087079 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Corrupted level package on loading cooked content
#jira UE-34591
Change 3087063 on 2016/08/12 by James.Cobbett
#jira UE-29618 Submitting test assets for Alembic Importer
Change 3087048 on 2016/08/12 by Matthew.Griffin
Changed Launcher Samples to create aggregate from property to avoid error in preflights
Only notify about Launcher Samples trigger in non-preflight builds
Change 3086985 on 2016/08/12 by Maciej.Mroz
#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]
Redone cl#3083825 from Dev-Blueprints
Change 3086960 on 2016/08/12 by Matthew.Griffin
Prevent Build DDC command from making DDC for platforms that aren't supported by project
#jira UEB-698
Change 3086945 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
#jira UE-18291
Change 3086904 on 2016/08/11 by Lina.Halper
Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f
#jira: UE-34570
Change 3086891 on 2016/08/11 by Lina.Halper
DUPEFIX: CL 3086544 from Michael Noland
Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
#jira UE-34223
#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
#tests (from Lina H) started the test project from JIRA and PIE, and no crash.
Change 3086837 on 2016/08/11 by Nick.Whiting
Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation
#jira UE-32564
Change 3086797 on 2016/08/11 by Dmitry.Rekman
Linux: fix crash on editor exit (UE-30795, UE-7519).
- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.
#jira UE-30795
Change 3086735 on 2016/08/11 by Richard.TalbotWatkin
Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash
Change 3086726 on 2016/08/11 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : 2DVR
2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
#jira UEVR-13
#review-3086004 @chad.taylor @nick.whiting
Change 3086652 on 2016/08/11 by Dmitry.Rekman
Linux: re-enable ICU (UE-34012).
- Built static libs against libc++; disabled using dynamic ones.
- Fixes lack of rich text formatting.
#jira UE-34012
Change 3086648 on 2016/08/11 by Nick.Whiting
Adding support for getting the HMD Device name from code / blueprints
#jira UE-31785
Change 3086589 on 2016/08/11 by Chad.Taylor
Fixing Vive resolution on packaged builds
#jira UE-34535
Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt
Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead.
#jira UE-34397
Change 3086529 on 2016/08/11 by Marc.Audy
Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
#jira UE-34287
Change 3086376 on 2016/08/11 by Peter.Sauerbrei
remove cached file handle from iOS and Android to save memory during loads
#jira UE-31720
Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt
Guard against crash with corrupted editor layouts
#jira UE-34364
Change 3086345 on 2016/08/11 by Dan.Oconnor
ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
#jira UE-34380
Change 3086272 on 2016/08/11 by Cody.Albert
Updating First Person templates to fix cook errors
#jira UE-22726
Change 3086259 on 2016/08/11 by Nick.Whiting
Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used
#jira UE-31617
Change 3086202 on 2016/08/11 by Marcus.Wassmer
Duplicate 3086176 to fix broken shaderpipelines on PS4
#jira UE-34540
Change 3086080 on 2016/08/11 by mason.seay
Test animbp for sub anim instances
#jira UE-29618
Change 3086062 on 2016/08/11 by Tom.Looman
Migrate from //depot/usr/ into Release-4.13 for VR Template.
#jira ue-34533
Change 3086032 on 2016/08/11 by Mike.Beach
Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).
#jira UE-34350
Change 3086025 on 2016/08/11 by Olaf.Piesche
#jira UE-32058
Replicating fix from 3050352
Change 3085969 on 2016/08/11 by John.Pollard
CIS fix
#jira UE-30516
Change 3085819 on 2016/08/11 by Jurre.deBaare
bForceOneSmoothingGroup not working for skeletal meshes
#fix Added check for forced smoothing group and calculate normals accordingly
#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
#jira UE-34555
Change 3085799 on 2016/08/11 by Ben.Marsh
Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.
Change 3085763 on 2016/08/11 by Daniel.Lamb
Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
#jira UE-34442
Change 3085717 on 2016/08/11 by Dmitry.Rekman
Linux: better messaging around Steam initialization (UE-32052).
- Also added a standalone test.
#jira UE-32052
Change 3085715 on 2016/08/11 by Chris.Bunner
Dropped check to an ensure as there's existing handling for invalid assets in that case.
#jira UE-23902
Change 3085714 on 2016/08/11 by Olaf.Piesche
#jira UE-30398
Fix offset added to particle collision locations.
Replicated from 3084645 in Dev-Rendering
Change 3085713 on 2016/08/11 by Chris.Babcock
Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
#jira UE-33840
#ue4
#android
#ios
#opengl
Change 3085711 on 2016/08/11 by Olaf.Piesche
#jira UE-34106
#jira UE-32784
#jira UE-31198
Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)
Replicated from 3083909 in Dev-Rendering
Change 3085707 on 2016/08/11 by Matthew.Griffin
Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue
Change 3085656 on 2016/08/11 by Marc.Audy
PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
#jira UE-32418
#jira UE-33617
Change 3085641 on 2016/08/11 by Lina.Halper
Fixed invalid compressed track data
- need a better solution and added ticket for 4.14 - UE-34547
#jira: UE-34077
Change 3085606 on 2016/08/11 by Max.Preussner
Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)
#jira UE-34381
Change 3085568 on 2016/08/11 by Maciej.Mroz
#jira UE-34436 Ensures when copy/pasting linked anim bp nodes
FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).
Change 3085532 on 2016/08/11 by Peter.Sauerbrei
fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
#jira UE-30335
Change 3085528 on 2016/08/11 by Max.Chen
Sequence Recorder: Fix crash when actor class to record is null.
#jira UE-34543
Change 3085418 on 2016/08/11 by Maciej.Mroz
#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults
Redone cl#3084313 from Dev-Blueprints
Change 3085395 on 2016/08/11 by John.Pollard
Don't allow hot-reloading if we're running PIE instances
#jira UE-30516
Change 3085377 on 2016/08/11 by Tom.Looman
Added StarterMap (WIP) to resolve JIRA.
#jira ue-34311
Change 3085364 on 2016/08/11 by Ben.Woodhouse
Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.
#jira UE-28561
Change 3085341 on 2016/08/11 by Dmitriy.Dyomin
Fixed: Creating Launcher Profile does not always shows all project available maps
#jira UE-33765
Change 3085336 on 2016/08/11 by Andrew.Rodham
Sequencer: Runtime instances are no longer updated when bluprints are recompiled
This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register
#jira UE-34499
Change 3085332 on 2016/08/11 by Dmitriy.Dyomin
Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
#jira UE-26868
Change 3085331 on 2016/08/11 by Ben.Woodhouse
Fix for threading related crash with precomputed lighting volumes
#jira UE-34531
Change 3085323 on 2016/08/11 by Allan.Bentham
Remove android specific vulkan hack to recreate depth buffer's imageview.
#jira UE-33593
#jira UE-33336
Change 3085313 on 2016/08/11 by Thomas.Sarkanen
StopRecordingAnimation now uses the same maing logic as RecordAnimation
This prevents inconsisten behaviour between record and stop record commands
#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor
Change 3085301 on 2016/08/11 by Allan.Bentham
Only allow gaussian DoF on mobile. Disable DoF for all other types.
#jira UE-34217
Change 3085292 on 2016/08/11 by Thomas.Sarkanen
Revert change to force shipping dlls in shipping builds
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3085291 on 2016/08/11 by Matthew.Griffin
Added nodes for Linux Editor, DDC and installed build
Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products
Change 3084973 on 2016/08/10 by Jeff.Campeau
Use relative settings for ShooterGame manifest
Package creation checks Xbox One target settings in Engine instead of Game config
#jira UE-33808
Change 3084932 on 2016/08/10 by patrickr.donovan
#jira UE-29618
SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.
Change 3084886 on 2016/08/10 by Daniel.Wright
Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
#jira UE-33238
Change 3084878 on 2016/08/10 by Jeff.Campeau
UFE launch command is generated with all devices requested instead of just the first.
#jira UE-34302
Change 3084860 on 2016/08/10 by Dmitry.Rekman
Fix CrashReportClient crashing on start (UE-32976, UE-34451).
- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.
#jira UE-32976
Change 3084756 on 2016/08/10 by Dmitry.Rekman
Linux: clean-up compiler settings logic (UE-22715).
- Includes parts of pull request #1704 by zaps166.
- Disables exceptions in most builds.
#jira UE-22715
Change 3084679 on 2016/08/10 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3084475
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
Change 3084614 on 2016/08/10 by Daniel.Wright
Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
#jira UE-34321
Change 3084607 on 2016/08/10 by Jeremiah.Waldron
Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur
Relates to:
#jira UE-34283
Change 3084586 on 2016/08/10 by Jeff.Campeau
Chunks don't assume they're done downloading at 100%.
#jira UE-34386
Change 3084552 on 2016/08/10 by Lina.Halper
Fix GetWorldFromContextObject to be used for another thread safer
: Guard to modify static variabls by another thread
#jira: UE-34416
Change 3084551 on 2016/08/10 by Mitchell.Wilson
Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
#jira UE-32855
Change 3084535 on 2016/08/10 by Mike.Beach
Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.
#jira UE-34378
Change 3084526 on 2016/08/10 by Jeff.Campeau
Update XDK to August 2016
#jira UEPLAT-1374
Change 3084471 on 2016/08/10 by John.Pollard
Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>
#jira UE-34295
Change 3084363 on 2016/08/10 by Marc.Audy
Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
#jira UE-34101
Change 3084231 on 2016/08/10 by Michael.Trepka
Fixed a problem with the search box in blueprint context menu not getting focus on Mac
#jira UE-20884
Change 3084229 on 2016/08/10 by Dmitry.Rekman
Linux: remove hardcoded staged files (UE-24594).
#jira UE-24594
Change 3084215 on 2016/08/10 by Chris.Bunner
Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
#jira UE-31936
Change 3084052 on 2016/08/10 by Jurre.deBaare
Alembic skeletal mesh importer does not calculate correct smoothing groups
#fix follow same routine as regular smoothing group/normal calculation
#jira UE-34493
Change 3084029 on 2016/08/10 by Phillip.Kavan
[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.
Mirrored from //UE4/Dev-Blueprints (CL# 3082839).
#jira UE-34458
Change 3084027 on 2016/08/10 by Ben.Woodhouse
Fix for crash when applying BSP materials
This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.
The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
#jira UE-31460
Change 3083981 on 2016/08/10 by Matthew.Griffin
Set Localization branch for Localise command to release version when running in the Release Branch
#jira UE-34471
Change 3083970 on 2016/08/10 by Max.Preussner
PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)
#jira UE-33481
Change 3083918 on 2016/08/10 by Matthew.Griffin
Exclude UBT generated files from the installed build
Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt
Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material
#jira UE-34360
Change 3083890 on 2016/08/10 by Matthew.Griffin
Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
#jira UE-34401
Change 3083873 on 2016/08/10 by Dmitry.Rekman
CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).
#jira UE-34478
Change 3083862 on 2016/08/10 by Mitchell.Wilson
Rebuilt lighting on Advanced_Lighting level in Samples Content
#jira UE-34383
Change 3083792 on 2016/08/10 by Benn.Gallagher
PR #2671: Fix sub instance curve values. (Contributed by tmiv)
PR #2668: Sub inst post anim fix (Contributed by tmiv)
#jira UE-34162
#jira UE-34121
Change 3083775 on 2016/08/10 by Kevin.Rushin
QAGame - Updating VRLatency Testmap, Can freelook
#jira UE-29618
Change 3083771 on 2016/08/10 by Robert.Manuszewski
Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.
#jira UE-34371
Change 3083742 on 2016/08/10 by Lee.Clark
4.13 - PS4 - Fix memory allocation sizes
#jira UE-33270
Change 3083732 on 2016/08/10 by Ben.Marsh
Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.
Change 3083690 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Foliage instances are not included when exporting a scene to FBX
#jira UE-34214
Change 3083654 on 2016/08/10 by Keith.Judge
Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().
#jira UE-23059
Change 3083646 on 2016/08/10 by Thomas.Sarkanen
Use shipping PhysX libs for installed builds
Copy fix from UE4Game.Target.cs to apply to all packaged games
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3083527 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Warning upon Undo/redo-ing of sculpting the landscape
#jira UE-34443
Change 3083502 on 2016/08/10 by Dmitriy.Dyomin
Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
#jira UE-34417
Change 3083349 on 2016/08/09 by Daniel.Wright
Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
#jira UE-31181
Change 3083167 on 2016/08/09 by Chad.Taylor
Null deref crash fix
#jira UE-33830
Change 3083144 on 2016/08/09 by Zabir.Hoque
Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.
#jira UE-32980
Change 3083136 on 2016/08/09 by Chad.Taylor
Stripping out egregious log spam
#jira UE-34181
Change 3083116 on 2016/08/09 by John.Billon
Defaulting r.D3D.RemoveUnusedInterpolators to on.
#Jira UE-34461
Change 3083114 on 2016/08/09 by John.Billon
Fixing static analysis warning in NullRHI.
#Jira UE-34462
Change 3083070 on 2016/08/09 by Dmitry.Rekman
PR #2516: CMake improvements and fixes (UE-22233, UE-32136).
- Contributed by Nihlus.
- Contains PR #1668 by mgerhardy
Summary of changes (from PR):
- Fixed an issue where CMake build files would contain invalid targets
- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
- Improved code readability throughout the generator. Can still use some more polish.
- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
- Improved commenting throughout the generator. As with readability, can still use some more polish.
- Removed unused using statements.
- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.
#jira UE-22233
Change 3082999 on 2016/08/09 by Jeremiah.Waldron
Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
#jira UE-34457
Change 3082993 on 2016/08/09 by mason.seay
Fixed level BP error and updated Reverb asset
#jira UE-29618
Change 3082981 on 2016/08/09 by Peter.Sauerbrei
disable roughness calculation for iOS metal
#jira UE-31815
Change 3082912 on 2016/08/09 by Chris.Babcock
Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
#jira UE-34432
#ue4
#android
Change 3082875 on 2016/08/09 by Chris.Bunner
Lowered verbosity of mesh build warning when using MikkTSpace.
#jira UE-23903
Change 3082867 on 2016/08/09 by Trung.Le
VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
#jira UE-34227
Change 3082818 on 2016/08/09 by Mike.Beach
Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).
#jira UE-34430
Change 3082794 on 2016/08/09 by Lukasz.Furman
fixed gameplay debugger extensions activating during simulate in editor
#jira UE-33343
Change 3082760 on 2016/08/09 by Jamie.Dale
Scene viewports are now centered when re-entering windowed mode
#jira UE-32842
Change 3082744 on 2016/08/09 by Mitchell.Wilson
Resaving assets to resolve empty engine version warnings.
#jira UE-29746
Change 3082728 on 2016/08/09 by Ben.Marsh
BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.
#jira UE-34329
Change 3082686 on 2016/08/09 by Marc.Audy
If the GameMode is not carried over as part of a seamless travel create it.
#jira UE-25569
Change 3082663 on 2016/08/09 by John.Billon
Fixed SubUVAnimation asset crash when texture source is cleared.
#Jira UE-34231
Change 3082650 on 2016/08/09 by John.Billon
Changed an ensure the NullRHI dealing with memory allocation to be a log message.
#Jira UE-32362
Change 3082644 on 2016/08/09 by Maciej.Mroz
#jira UE-34240 Match 3 nativization failure
Redone cl3082121 from Dev-Blueprints
Change 3082633 on 2016/08/09 by Maciej.Mroz
#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]
Redone cl3082414 from Dev-Blueprints
Change 3082606 on 2016/08/09 by Michael.Trepka
Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.
#jira UE-34276
Change 3082579 on 2016/08/09 by Benn.Gallagher
CIS fix, missed removing a few #ifs
#jira UE-29180
Change 3082525 on 2016/08/09 by Tom.Looman
Removed Android from supported platforms in VR Template.
#jira UE-34189
Change 3082523 on 2016/08/09 by Tom.Looman
Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
Fixed typo in level text.
#JIRA UE-34422
Change 3082504 on 2016/08/09 by Jurre.deBaare
Crash importing alembic asset over itself after saving it in Content Browser
#fix Trivial nullptr + isValid fix
#jira UE-34418
Change 3082433 on 2016/08/09 by Tom.Looman
Updated list of supported platforms.
#jira UE-34189
Change 3082423 on 2016/08/09 by Mitchell.Wilson
Resaving levels to resolve MikkTSpace warnings
Updating collision on SM_Floor_Round
#jira UE-30786
Change 3082361 on 2016/08/09 by Keith.Judge
Xbox One - Fix a controller disconnection crash.
- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
- Possibly a VS2015 Update 3 bug.
#jira UE-33955
Change 3082341 on 2016/08/09 by Mitchell.Wilson
Reimporting SM_GodRay_Plane
Resaving levels to resolve MikkTSpace warnings
Resaving multiple materials to resolve warnings
#jira UE-34212
Change 3082313 on 2016/08/09 by Matthew.Griffin
Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)
Change 3082294 on 2016/08/09 by Jurre.deBaare
Crash when importing an Alembic file with Materials as a different asset type than one that already exists
#fix Ensure that we have a valid material to assign to the assets
#jira UE-34377
Change 3082291 on 2016/08/09 by Jurre.deBaare
Unable to save Alembic asset with materials after importing more than once
#fix Make sure we delete referenced transient materials if they are not used
#jira UE-34400
Change 3082290 on 2016/08/09 by Jurre.deBaare
Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
#jira UE-34392
Change 3082274 on 2016/08/09 by Benn.Gallagher
Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
#jira UE-29780
Change 3082273 on 2016/08/09 by Benn.Gallagher
Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
#jira UE-30827
Change 3082270 on 2016/08/09 by Benn.Gallagher
Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
#jira UE-29180
Change 3082257 on 2016/08/09 by Jurre.deBaare
Auto align floor mesh does not work in Persona
#fix Readded functionality for the auto alignment :)
#jira UE-34404
Change 3082239 on 2016/08/09 by Peter.Sauerbrei
make sure IPP and supporting dlls are all 64-bit
#jira UE-34408
Change 3082225 on 2016/08/09 by Mitchell.Wilson
Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
Reimporting SM_GodRay_Plane
Saving all levels to resolve MikkTSpace warnings.
#jira UE-30787
Change 3082222 on 2016/08/09 by Rolando.Caloca
UE4.13 - Fix crash on opengl3
- Load proper shader map depending on feature level
- int interpolators require nointerpolation modifier
#jira UE-33879
Change 3082221 on 2016/08/09 by Benn.Gallagher
Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
#jira UE-34384
Change 3082179 on 2016/08/09 by Ben.Woodhouse
Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
#jira UE-31461
Change 3082170 on 2016/08/09 by Graeme.Thornton
Manual copy of CL 3078836 from Dev-Core to Release-4.13
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
#jira UE-33909
Change 3082169 on 2016/08/09 by Graeme.Thornton
Make FLauncherTasks have unique names so we don't end up with stat name collisions
#jira UE-33849
Change 3082163 on 2016/08/09 by Matthew.Griffin
Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
Added Checks for files that might not exist when creating Installed Build from Github etc.
Tag the published installed build zips
#jira UE-34249
Change 3082139 on 2016/08/09 by Ben.Marsh
BuildGraph: Allow writing a schema without passing a script in.
Change 3082109 on 2016/08/09 by Thomas.Sarkanen
Fixed blendspaces producing bad data when degenerate spaces are present
Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.
#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph
Change 3082080 on 2016/08/09 by Matthew.Griffin
Added notifications for available triggers
Change 3082054 on 2016/08/09 by Allan.Bentham
Quality level override changes to high QL are now correctly picked up.
#jira UE-22812
Change 3082049 on 2016/08/09 by Allan.Bentham
Update shaders when mobile preview device is changed.
#jira UE-22810
Change 3081866 on 2016/08/09 by Max.Chen
Fbx Export: Fix build.
#jira UETOOL-750
Change 3081863 on 2016/08/09 by Max.Chen
Fbx Export: Fix level sequence fbx export.
- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
- Fix setting rich curve tangents and interpolation modes.
- Fix camera focal length export.
#jira UETOOL-750
Change 3081823 on 2016/08/08 by Dmitriy.Dyomin
Fixed: Crash when simulating in editor with a landscape actor selected
#jira UE-34367
#coderview Gareth.Martin
Change 3081647 on 2016/08/08 by Chad.Taylor
OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport
#jira UE-34352
Change 3081645 on 2016/08/08 by Zak.Middleton
#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.
#jira UE-30178
Change 3081639 on 2016/08/08 by Tyler.Cole
Update build scripts for WEX MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081616 on 2016/08/08 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements
-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
#jira UEVR-13
#review-3081284 @chad.taylor @nick.whiting
Change 3081597 on 2016/08/08 by Tyler.Cole
Update build scripts for Ocean MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081476 on 2016/08/08 by Tyler.Cole
Update build script for UE4 Release-4.13 stream Fortnite MCP.
#jira NONE-0
Change 3081397 on 2016/08/08 by Josh.Adams
- Fixing more linux case issues in UT
#jira ue-33478
Change 3081391 on 2016/08/08 by Mitchell.Wilson
Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
#jira UE-33843
Change 3081383 on 2016/08/08 by Aaron.McLeran
#jira UE-34081
Implementing CL 3076637 into 4.13
#tests run a procedural sound wave object test
Change 3081337 on 2016/08/08 by Aaron.McLeran
#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay
- OR-26580
- Implementing CL 3071258 to 3.13
#tests ran paragon with change, no crashes
Change 3081335 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed memory leak in source resolver (UE-34385)
#jira UE-34385
Change 3081320 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed typo (UE-32421)
#jira UE-32421
Change 3081276 on 2016/08/08 by Mitchell.Wilson
Resaving asset to resolve MikkTSpace warning.
#jira UE-31116
Change 3081269 on 2016/08/08 by Dan.Oconnor
Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
#jira UE-34324
Change 3081052 on 2016/08/08 by Dan.Oconnor
Making a change to test UE-34324
#jira UE-34324
Change 3081026 on 2016/08/08 by Daniel.Wright
Added a heightfield painting example to BlueprintRenderToTarget content example
#jira UE-34323
Change 3081025 on 2016/08/08 by Daniel.Wright
CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
#jira UE-34321
Change 3081023 on 2016/08/08 by Aaron.McLeran
#jira UE-34325 Implementing 3080958 in 4.13
- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.
#tests ran repro case described in bug several times without crashing (was 100% repro)
Change 3081020 on 2016/08/08 by Dan.Oconnor
Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
#jira UE-26310
Change 3081010 on 2016/08/08 by Dan.Oconnor
Fix for losing root transform when recycling objects
#jira UE-28398
Change 3080972 on 2016/08/08 by Mark.Satterthwaite
Duplicate CL #3080684:
Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
#jira UE-21857
Change 3080971 on 2016/08/08 by Mark.Satterthwaite
Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
#jira UE-34355
Change 3080923 on 2016/08/08 by Michael.Trepka
When archiving on for Mac delete the dest icon if it exists before trying to call File.Move
#jira UE-33304
Change 3080919 on 2016/08/08 by samuel.proctor
Revised assets for Blueprint Debugging tests
#jira UE-29618
Change 3080878 on 2016/08/08 by Ben.Marsh
Fix sample build timeouts due to generating DDC using installed engine builds taking too long.
* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.
Change 3080849 on 2016/08/08 by Marc.Audy
Always stop matinee sounds when jumping around, not just if the sound changed.
#jira UE-31447
Change 3080843 on 2016/08/08 by Ben.Marsh
BuildGraph: Fix compile error due to duplicated variable name.
Change 3080840 on 2016/08/08 by Max.Chen
Fbx: Fix rich curve export being exported at the incorrect times when baked.
#jira UETOOL-750
Change 3080824 on 2016/08/08 by Max.Chen
Sequencer: Revert fix root component structure for level sequence actor.
#jira UE-34354
Change 3080819 on 2016/08/08 by Chad.Taylor
Merging Move and Vive haptic implementation from Dev-VR to Release-4.13
#jira UE-27886
Change 3080818 on 2016/08/08 by Jurre.deBaare
Crash when importing the same Alembic file but as a different Asset Type
#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
#misc Typo
#jira UE-34293
Change 3080817 on 2016/08/08 by Jurre.deBaare
Crash when importing an Alembic file with Materials if it already exists
#fix Only create materials if they don't already exist
#jira UE-34300
Change 3080814 on 2016/08/08 by Jurre.deBaare
Crash when importing Alembic files as Skeletal Mesh
#fix Set the NumVertices variable that was re-added :)
#misc removed dead code
#jira UE-34288
Change 3080813 on 2016/08/08 by Jurre.deBaare
[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
#jira UE-34294
Change 3080797 on 2016/08/08 by Dmitriy.Dyomin
Fix: Crash opening levels with landscape in them via the command console in standalone game
#jira UE-34348
Change 3080784 on 2016/08/08 by Jamie.Dale
We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)
#jira UE-34298
Change 3080734 on 2016/08/08 by Matthew.Griffin
Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent
Change 3080685 on 2016/08/08 by Peter.Sauerbrei
fix for crash on tvOS and iOS when launching a project
#jira UE-34005
Change 3080683 on 2016/08/08 by Matthew.Griffin
Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built
Change 3080681 on 2016/08/08 by Matthew.Griffin
Corrected path separators for Mac DDC location, which was preventing it from being included in installed build
Change 3080675 on 2016/08/08 by Robert.Manuszewski
Fixing CIS on Clang platforms
#jira UE-34025
Change 3080674 on 2016/08/08 by Ben.Woodhouse
Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507
#jira UE-32651
Change 3080594 on 2016/08/08 by Keith.Judge
Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.
#jira UE-31607
Change 3080573 on 2016/08/08 by Martin.Wilson
Fix Root Motion from Everything blending incorrectly when using layered blend per bone
#Jira UE-17815
Change 3080517 on 2016/08/08 by James.Golding
PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
#jira UE-34299, UE-34279
Change 3080512 on 2016/08/08 by Benn.Gallagher
Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
#jira UE-34137
Change 3080510 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)
#jira UE-32421
Change 3080509 on 2016/08/08 by Robert.Manuszewski
Added more detailed message when TArray's BulkSerialize fails.
#jira UE-34025
Change 3080506 on 2016/08/08 by Allan.Bentham
Do not set render target if there are no modulated shadows.
#jira UE-33252
Change 3080498 on 2016/08/08 by Keith.Judge
Fix D3D12.x link error.
#jira UE-34322
Change 3080493 on 2016/08/08 by Matthew.Griffin
Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
#jira UE-34073
Change 3080490 on 2016/08/08 by Maciej.Mroz
#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match
Redone cl# 3080484
Change 3080462 on 2016/08/08 by Allan.Bentham
Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
Fix initialisation errors introduced in CL 3070035.
#jira UE-34099
Change 3080242 on 2016/08/07 by Max.Chen
Sequencer: Fix to allow deleting spawnables from the viewport
#jira UE-28523
Change 3080241 on 2016/08/07 by Dmitriy.Dyomin
Fixed: StartCameraFade not fading camera when MobileHDR is off
#jira UE-34143
Change 3079990 on 2016/08/06 by andrew.porter
Changing defaults on some settings on M_Details for test case.
#jira UE-29618
Change 3079989 on 2016/08/06 by andrew.porter
Setting two sided off on M_Details material
#jira UE-29618
Change 3079986 on 2016/08/06 by phillip.patterson
Updated QA-Foliage for test case
#jira UE-29618
Change 3079984 on 2016/08/06 by andrew.porter
Adding test content for using sprites in UMG
#jira UE-29618
Change 3079879 on 2016/08/05 by Dmitry.Rekman
Remove HITCHHUNTER logspam from release UE (UE-30959).
#tests Compiled the UE4Editor.
#jira UE-30959
Change 3079815 on 2016/08/05 by Tyler.Cole
Set dependencies for Orion MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3079808 on 2016/08/05 by Daniel.Wright
BlueprintRenderToTarget content example map with interactable fluid surface
#jira UE-34323
Change 3079746 on 2016/08/05 by Daniel.Wright
Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
New blueprint function CreateRenderTarget2D
#jira UE-34321
Change 3079569 on 2016/08/05 by Mitchell.Wilson
Updating template tutorials after assets were moved to new folders
#jira UE-34139
Change 3079546 on 2016/08/05 by Ian.Shadden
#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6
#jira UE-34316
Change 3079542 on 2016/08/05 by Mark.Satterthwaite
Duplicate CL #3079503:
Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
#jira UE-33856
Change 3079472 on 2016/08/05 by Peter.Sauerbrei
fix for remote server name being empty stopping a build for a BP project in binary
fix for several error messages from platform requirements not stopping a build
#jira UE-34213
Change 3079453 on 2016/08/05 by Benjamin.Hyder
Updating QA_Materials to include Material Details example
#jira UE-29618
Change 3079389 on 2016/08/05 by Gareth.Martin
Missing file from CL 3079376:
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079384 on 2016/08/05 by Michael.Trepka
PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)
#jira UE-29358
Change 3079376 on 2016/08/05 by Gareth.Martin
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079365 on 2016/08/05 by Peter.Sauerbrei
fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
#jira UE-34192
Change 3079361 on 2016/08/05 by Ryan.Vance
#jira UE-34297
Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)
Change 3079349 on 2016/08/05 by Mason.Seay
Deleting unneeded assets
#jira UE-29618
Change 3079306 on 2016/08/05 by Peter.Sauerbrei
IPP is now built as a 64-bit executable
#jira UE-26393
Change 3079303 on 2016/08/05 by Peter.Sauerbrei
PR2018 - disable user input request from ssh courtesy of Teivaz
#jira UE-26393
Change 3079276 on 2016/08/05 by mason.seay
Extended Line Trace For Convenient
#jira UE-29618
Change 3079274 on 2016/08/05 by Alex.Delesky
#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.
Change 3079273 on 2016/08/05 by Max.Chen
Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.
#jira UE-34301
Change 3079254 on 2016/08/05 by Ori.Cohen
Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.
#JIRA UE-34224
Change 3079242 on 2016/08/05 by Nick.Darnell
Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.
#jira UE-34304
Change 3079129 on 2016/08/05 by Jurre.deBaare
#jira UE-34278
#fix Changed reimport path to be the same as geometry cache / skeletal mesh
Unable to reimport Alembic static meshes
#jira UE-34292
#fix Handle cancelled situation during reimport ui interaction
Cancelling the reimport of an Alembic file seems to confirm the action
#jira UE-34288
#fix Possible fix, flush rendering commands before importing
Crash when importing Alembic files as Skeletal Mesh
#jira UE-34282
#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
"Failed to Import" message when clicking Cancel on the Alembic Import Message
Change 3079127 on 2016/08/05 by Marc.Audy
Properly clean up all worlds when ending PIE while a seamless transition is active
#jira UE-33863
Change 3079107 on 2016/08/05 by Mike.Beach
Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).
#jira UE-30548
Change 3079093 on 2016/08/05 by Jurre.deBaare
Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
#fix Hide the environment and sky when showing vertex colours
#jira UE-34251
Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
#jira UE-34206
Change 3079090 on 2016/08/05 by Jurre.deBaare
Bad performance when changing (slider) values for the advanced preview scene
#fix Could not repro but added some more check if update needed checks
#jira UE-33496
Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
#fix Add the rotational delta for the sky to the directional light rotation
#jira UE-34108
Change 3079088 on 2016/08/05 by Jurre.deBaare
Alembic Cache Importer option for Hard Edge Angle Threshold does not work
#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
#jira UE-34127
Change 3079040 on 2016/08/05 by Max.Preussner
MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)
Also made class properties blueprint read-writable
#jira UE-34290
Change 3078958 on 2016/08/05 by Marc.Audy
Don't ever reregister child actor components
Don't destroy child actors when hiding a level
#jira UE-31038
Change 3078954 on 2016/08/05 by ryan.brucks
#jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL
Change 3078952 on 2016/08/05 by Phillip.Kavan
[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.
change summary:
- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.
#jira UE-34085, UE-34169
Change 3078912 on 2016/08/05 by Andrew.Rodham
Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified
#jira UE-33875
Change 3078900 on 2016/08/05 by Lauren.Ridge
Fix for small Vive HMD movements entering VR mode
#jira UE-33970
Change 3078880 on 2016/08/05 by Jack.Porter
Cannot set GenerateOverlapEvents flag on Landscape
#jira UE-9055
Change 3078879 on 2016/08/05 by Lee.Clark
PS4 - Fix corrupted debuffer decals
(CMask wasn't getting decoded correctly)
#jira UE-34273
Change 3078871 on 2016/08/05 by Steve.Robb
Fix for changes to UObject*s in property boxes.
#jira UE-29596
Change 3078857 on 2016/08/05 by Max.Chen
Sequencer: Set Fixed frame interval playback to false by default.
#jira UE-34272
Change 3078850 on 2016/08/05 by mason.seay
Updated map to test physics mesh, added comments to level BP
#jira UE-29618
Change 3078795 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixed spawnables not responding to blueprint reinstance events
This ultimately left spawnable bindings broken, and an unreachable object in the world
#jira UE-31635
Change 3078786 on 2016/08/05 by Robert.Manuszewski
Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.
#jira UE-33872
Change 3078782 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixes to "Create Camera Here" functionality
Fixed crash when undoing the "Create Camera Here" operation.
Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
Fixed issues when the cursor was outside of the play range
#jira UE-33127
Change 3078737 on 2016/08/05 by Andrew.Rodham
Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
#jira UE-34256
Change 3078722 on 2016/08/05 by Ben.Woodhouse
Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
#jira UE-34269
Change 3078620 on 2016/08/05 by Dmitriy.Dyomin
Fixed: SunTemple geometry has rendering artifacts on low end devices
[Android_Low] devices will use 'Low' material quality level
#jira UE-22455
Change 3078584 on 2016/08/05 by James.Golding
Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
#jira UE-33675
Change 3078565 on 2016/08/05 by Jack.Porter
Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.
#jira UE-33842
Change 3078564 on 2016/08/05 by James.Golding
Fix display name for bSupportUVFromHitResults to fix missingspace
#jira UE-34248
Change 3078542 on 2016/08/05 by Yannick.Lange
VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
#jira UE-32839
Change 3078541 on 2016/08/05 by Yannick.Lange
VR Editor : Fix linux compile error from VREditorAvatarActor
#jira UE-34215
Change 3078396 on 2016/08/04 by Max.Chen
Sequencer: Invalidate playback context when map changes.
#jira UE-34256
Change 3078291 on 2016/08/04 by Jeff.Campeau
RHI compress/decompress return success/failure
Failure falls back to software method
D3D12 for Xbox One still needs implementation
#jira UE-31363
Change 3078131 on 2016/08/04 by Chris.Babcock
Deal with missing Android movie framerate by defaulting to 30 if not available
#jira UE-34208
#ue4
#android
Change 3078084 on 2016/08/04 by John.Billon
Disabled AMD hacks Cvars that aren't needed anymore.
#Jira UE-30772
Change 3078083 on 2016/08/04 by John.Billon
Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
Added a couple of more ensures when allocating render targets.
Added log message when changing feature levels.
#Jira UE-32536
#Jira UE-32204
Change 3078039 on 2016/08/04 by Josh.Adams
- Fixed a case issue with Linux
#jira UE-33478
Change 3078029 on 2016/08/04 by Ryan.Vance
#jira UE-30989
We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.
Change 3078027 on 2016/08/04 by Lina.Halper
Fix sequencer morphtarget displaying issue
#code review:Max.Chen
#jira: UE-28459
Change 3078012 on 2016/08/04 by mason.seay
map and asset updates for testing UV hit detection
#jira UE-29618
Change 3078009 on 2016/08/04 by Jamie.Dale
Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading
This prevents it being incorrectly set by other operations, such as counting memory used by font data.
#jira UE-34252
Change 3078006 on 2016/08/04 by Mark.Satterthwaite
Duplicate CL #3064008 & CL #3077412:
Fix "iOS Metal-based build crashes at launch with sub-levels":
- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
- Fix validation error of texture reallocation on loading template projects under Metal.
#jira UE-30847
Change 3078002 on 2016/08/04 by John.Billon
Fixed LowLightMapQuality warning triggering with wrong conditions.
#Jira UE-33237
Change 3078001 on 2016/08/04 by John.Billon
Fixed a crash due to particle threading issues in packaged game.
#Jira UE-32147
Change 3077989 on 2016/08/04 by Rolando.Caloca
UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
#jira UE-34218
Change 3077940 on 2016/08/04 by Jeff.Campeau
Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
Include copies of the VS2015 runtime and UCRT
Change -applocaldir parameter to -applocaldirectory
Stage to engine and project binaries paths (for crash reporter, etc.)
#jira UE-33903
Change 3077936 on 2016/08/04 by Daniel.Wright
DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
#jira UE-34183
Change 3077927 on 2016/08/04 by Lina.Halper
Fix issue with morphtarget not working due to invalid guid
#jira: UE-34077
Change 3077919 on 2016/08/04 by Daniel.Wright
Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
#jira UE-34245
Change 3077877 on 2016/08/04 by Ori.Cohen
Fix physical animation undo/redo not affecting linked bodies and constraints
#JIRA UE-33987
Change 3077823 on 2016/08/04 by Ori.Cohen
Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)
#JIRA UE-33985
Change 3077814 on 2016/08/04 by Uriel.Doyon
Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
#jira UE-34120
#review-3077812
Change 3077781 on 2016/08/04 by Max.Chen
Sequencer: Fix crash in rotation key struct
#jira UE-34155
Change 3077771 on 2016/08/04 by Lina.Halper
Added const and removed auto
#jira: UE-33023
Change 3077702 on 2016/08/04 by Daniel.Wright
Copy - Planar reflection show flags can now be edited
#jira UE-34229
Change 3077585 on 2016/08/04 by Ori.Cohen
Fix spam when moving simulated skeletal mesh in the editor.
#JIRA UE-34164
Change 3077532 on 2016/08/04 by Tom.Looman
Fixed error in description of VR Template.
#jira ue-33950
Change 3077517 on 2016/08/04 by Tom.Looman
Fixed parsing error for FP_VirtualRealityBP
#jira UE-34059
Change 3077493 on 2016/08/04 by Tom.Looman
Updated Template description to remove GearVR reference and include more clear message on the two available maps.
#jira UE-33950
Change 3077492 on 2016/08/04 by Tom.Looman
Improvements to VR Template
Fixed teleportation issue on both locomotion types (JIRA)
Rebuilt navmesh for motioncontrollermap
Added new WIP startermap to clarify the difference between the multiple levels.
Added more comments and did some cleanup in BPs.
#jira UE-33962
Change 3077491 on 2016/08/04 by Jurre.deBaare
Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
#fix Pass in complete path to save material to instead of just the name
#jira UE-34211
Change 3077481 on 2016/08/04 by Tom.Looman
Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)
#jira ue-34143
Change 3077463 on 2016/08/04 by Ben.Woodhouse
Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
#jira UE-32843
Change 3077432 on 2016/08/04 by Steve.Robb
Removal of Fortnite-specific setting which disables hot reload.
#jira UE-33261
Change 3077380 on 2016/08/04 by Keith.Judge
Fix for green reflection environment in some maps.
- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
- Fixed a validation error when locking cube map faces which was causing them not to be updated.
- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
- Added a GPU/CPU sync at the same point the PS4 code does.
#jira UE-32086
Change 3077336 on 2016/08/04 by Mitchell.Wilson
removed r.Streaming.PoolSize from DefaultEngine.ini
Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
#jira UE-30941
Change 3077275 on 2016/08/04 by Phillip.Kavan
[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.
#jira UE-29903
Change 3077119 on 2016/08/04 by Marc.Audy
Use TickType All when in PIE
#jira UE-18982
Change 3077108 on 2016/08/04 by Jon.Nabozny
Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.
#jira UE-34032
Change 3077073 on 2016/08/04 by Jurre.deBaare
bBlendOverlappingNormals does not seem to have an impact for Alembic importing
#fix this wasn't being used in the normal calculation anymore so redundant
#jira UE-34204
Change 3077059 on 2016/08/04 by Robert.Manuszewski
Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).
#jira UE-34200
Change 3077024 on 2016/08/04 by Thomas.Sarkanen
Added GetResourceSize to UDataAsset
Data assets now correctly report their size.
#jira UE-28851 - Fix mem reporting of DataTables
Change 3077001 on 2016/08/04 by Andrew.Rodham
Sequencer: Fixed sequencer adding spawnables into recorded worlds twice
The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.
Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.
#jira UE-31422
Change 3076995 on 2016/08/04 by Matthew.Griffin
Fixed Shadow Variable warning
Change 3076974 on 2016/08/04 by Matthew.Griffin
Added Node to build CrashReportClient for Linux that can be used by internal game targets
Change 3076820 on 2016/08/04 by Max.Chen
Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).
#jira UE-34199
Change 3076665 on 2016/08/03 by Dan.Oconnor
Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
#jira UE-18982
Change 3076569 on 2016/08/03 by Chad.Taylor
SteamVR GetOrthoProjection implementation to fix broken console rendering in VR
#jira UE-21424
Change 3076556 on 2016/08/03 by Aaron.McLeran
#jira UE-34154 PSVR Stereo assets are spatialized as MONO
- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
- Fix is to only route audio that is mono and spatialized
- Fixed some compile errors/shadow variables
- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library
Change 3076546 on 2016/08/03 by Aaron.McLeran
#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves
Implementing 3069092 in Release-4.13
- Not all active sounds have sound classes, was causing a crash
#tests Run game with stat soundcues and not crash
Change 3076512 on 2016/08/03 by Ben.Marsh
Fix warning about UnrealTournament:true argument.
Change 3076492 on 2016/08/03 by Daniel.Wright
Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor.
#jira UE-34177
Change 3076491 on 2016/08/03 by Daniel.Wright
Marked the Forward Shading project setting as experimental for 4.13
#jira UE-34176
Change 3076490 on 2016/08/03 by Daniel.Wright
Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
#jira UE-34175
Change 3076489 on 2016/08/03 by Daniel.Wright
Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
#jira UE-34174
Change 3076485 on 2016/08/03 by Daniel.Wright
Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
#jira UE-34173
Change 3076440 on 2016/08/03 by Ryan.Vance
#jira UE-34184
Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
Adding Oculus 1.6 support.
Change 3076399 on 2016/08/03 by Nick.Darnell
Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.
#jira UE-34185
Change 3076397 on 2016/08/03 by Rolando.Caloca
UE4.13 - hlslcc -Fix for hlsl length(float)
#jira UE-32629
Change 3076337 on 2016/08/03 by mason.seay
Test assets (and map for ensure bug)
#jira UE-29618
Change 3076332 on 2016/08/03 by Peter.Sauerbrei
fix for clang build errors
#jira UE-34163
Change 3076326 on 2016/08/03 by Ryan.Vance
#jira UE-32975
Using the wrong screen position in the base pass pixel shader with ISR.
Change 3076309 on 2016/08/03 by Benjamin.Hyder
Renaming TEST-LightingFeatures to TM-LightingFeatures
#jira UE-29618
Change 3076299 on 2016/08/03 by Chad.Taylor
Fix SteamVR lag in late-update fold child renderables.
#jira UE-33928
Change 3076214 on 2016/08/03 by Mitchell.Wilson
Resaving BluperintOffice level to resolve MikkTSpace warnings.
Reimporting SM_GodRay_Plane to resolve cook warning.
#jira UE-30064
Change 3076112 on 2016/08/03 by Max.Chen
Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)
#jira UE-34167
Change 3076090 on 2016/08/03 by Marc.Audy
Fix Mac compile error
#jira UE-34163
Change 3076075 on 2016/08/03 by Jeremiah.Waldron
Fixing comments documenting attribute in deleteFiles node for UPL
#jira UE-34161
Change 3076034 on 2016/08/03 by Mitchell.Wilson
Resaving Strategy Game maps to resolve MikkTSpace warnings.
Resaving material in strategy game to resolve string asset reference warning.
#jira UE-29720
Change 3076003 on 2016/08/03 by Mitchell.Wilson
Resaving Elemental Demo levels to resolve MikkTSpace warnings.
Resaving multiple materials to resolve String asset reference warnings.
#jira UE-29679
Change 3075985 on 2016/08/03 by Jeremiah.Waldron
Fixing UPL comments misnaming the deleteFiles node
#jira UE-34161
Change 3075977 on 2016/08/03 by Maciej.Mroz
#jira UE-30473 Moving child component in child blueprint forces parent to become dirty
Duplicated from Dev-Blueprints CL 3075793
Change 3075959 on 2016/08/03 by Marc.Audy
Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
#jira UE-33921
Change 3075891 on 2016/08/03 by Chad.Taylor
SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.
#jira UE-34142
Change 3075882 on 2016/08/03 by Dan.Oconnor
Manually integrating 3073939 to address UE-19062
#jira UE-19062
Change 3075805 on 2016/08/03 by Marc.Audy
Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
#jira UE-18982
Change 3075803 on 2016/08/03 by Marc.Audy
Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
#jira UE-18982
Change 3075761 on 2016/08/03 by Max.Preussner
MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)
#jira UE-34152
Change 3075719 on 2016/08/03 by Chad.Taylor
Blocker fix for binary editor crash on incorrectly used dll
#jira UE-34142
Change 3075709 on 2016/08/03 by Jeremiah.Waldron
Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor
#android
#jira UE-34149
Change 3075695 on 2016/08/03 by Jurre.deBaare
Adding missing debug zlib dll
#jira UE-123
Change 3075641 on 2016/08/03 by Jurre.deBaare
Crash when re-importing alembic cache file several times
#fix Always create a new object when importing
#jira UE-34130
Change 3075609 on 2016/08/03 by Danny.Bouimad
#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.
Change 3075578 on 2016/08/03 by Mitchell.Wilson
Updating attenuation settings for multiple sounds in Strategy Game.
#jira UE-25828
Change 3075529 on 2016/08/03 by Trung.Le
VREditor: Fxied foliage lasso select without pressing trigger
#jira UE-33689
Change 3075502 on 2016/08/03 by Lee.Clark
Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.
#jira UE-28549
Change 3075386 on 2016/08/03 by Robert.Manuszewski
Fixing bulkdata using source data pointer as an archive instead of raw data when saving
#jira UE-34132
Change 3075384 on 2016/08/03 by mason.seay
AnimBP for crash bug
#jira UE-29618
Change 3075350 on 2016/08/03 by Max.Chen
Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.
#jira UE-30506
Change 3075327 on 2016/08/03 by Max.Chen
Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.
#jira UE-34093
Change 3075313 on 2016/08/03 by Matthew.Griffin
Tidied up hardcoded installed build includes so that they're all in one file with platform checks
Added .dll.config files to CsCompile build products if they exist
Change 3075133 on 2016/08/03 by Yannick.Lange
VREditor : Original submit in Dev-VREditor = 3064489
- Fix crash when starting VREditor and then changing levels
#jira UE-33766
Change 3075124 on 2016/08/03 by Thomas.Sarkanen
Fixed undo/redo crash when editing anim blueprint defaults
Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.
#jira UE-34024 - Crash undoing variable change in Animation Blueprint.
Change 3075101 on 2016/08/03 by Matthew.Griffin
Adding job to selectively build games in release branch
Also adding documentation and localization to overnight build
#jira UEB-688
Change 3075061 on 2016/08/03 by Yannick.Lange
VR Editor : Original submit in Dev-VREditor = 3062883
- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
- Avatar code refactor to its own actor class #jira UETOOL-812
#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812
Change 3075059 on 2016/08/03 by Allan.Bentham
Fall back to standard shadows when capsule shadows are not supported.
#jira UE-33344
Change 3075045 on 2016/08/03 by Matthew.Griffin
Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step
Change 3074693 on 2016/08/02 by Dan.Oconnor
Manually integrating 3070569 from Dev-Blueprints
#jira UE-34119
Change 3074672 on 2016/08/02 by Dan.Oconnor
Manually integrating 3061854 into 4.13 from Dev-Blueprints
#jira UE-34119
Change 3074646 on 2016/08/02 by Aaron.McLeran
#jira UE-34081 Implementing from Dev-Framework CL 3074325
Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback
- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.
- Implementing 3003851 from UT into Dev-Framework.
Change 3074630 on 2016/08/02 by Brent.Pease
UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
UE-33200 - A movie isn't played on iOS occasionally.
UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows
+ Give a more friendly error message when UHT fails with an invalid error code.
#jira UE-23846
#jira UE-33200
#jira UE-32397
Change 3074590 on 2016/08/02 by Rolando.Caloca
UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
#jira UE-33694
Change 3074588 on 2016/08/02 by Chad.Taylor
Update OpenVR SDK to v1.0.2
-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers
#jira UE-34115
Change 3074481 on 2016/08/02 by Ori.Cohen
Make sure that new physical animation data defaults to 0
#JIRA UE-33678
Change 3074395 on 2016/08/02 by Ori.Cohen
Fix duplication of physical animation profiles not duplicating data.
Also fix undo redo not working for profiles.
Fix editor not passing Duplicate change type
#JIRA UE-33987, UE-33985
Change 3074392 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.
Change 3074364 on 2016/08/02 by phillip.patterson
Re-created UMG_Optimization for Test Cases
#jira UE-29618
Change 3074346 on 2016/08/02 by Jurre.deBaare
Potential DDC warning fix, remove non-existing values
#jira UE-123
Change 3074289 on 2016/08/02 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirement
Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
#jira UEVR-13
#review-3074209 @chad.taylor @nick.whiting
Change 3074196 on 2016/08/02 by Martin.Wilson
Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)
#jira UE-23453
Change 3074177 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.
Change 3074157 on 2016/08/02 by Ben.Marsh
Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.
Change 3074132 on 2016/08/02 by Trung.Le
VREditor: Fixed brush preview present while in foliage mode and hovering at UI
#jira UE-33228
Change 3074131 on 2016/08/02 by Tom.Looman
Fix for scalability build warnings in VR Template
#jira ue-33325
Change 3074089 on 2016/08/02 by Kevin.Rushin
QAGame - Added Foliage to TestMap
#jira UE-29618
Change 3074067 on 2016/08/02 by Kevin.Rushin
QAGame- Rebuilt Lighting
#jira UE-29618
Change 3074063 on 2016/08/02 by Kevin.Rushin
QAGame - Fix up VREditor Map to have more asset variation
#jira UE-29618
Change 3074057 on 2016/08/02 by Andrew.Porter
Deleting - UMG_Optimization
#jira UE-29618
Change 3074040 on 2016/08/02 by Michael.Trepka
On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.
#jira UE-31194
Change 3074008 on 2016/08/02 by Phillip.Patterson
Renamed UMG_Invalidation to UMG_Optimization to better match test
#jira UE-29618
Change 3073988 on 2016/08/02 by Mitchell.Wilson
Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
#jira UE-32723
Change 3073966 on 2016/08/02 by Jurre.deBaare
Alembic Cache Importer option for propagating matrix transformation does not work
#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
#misc typo fix
#jira UE-34066
Change 3073953 on 2016/08/02 by Lina.Halper
Fixed static warning on null reference
#jira: UE-33923
Change 3073951 on 2016/08/02 by Lina.Halper
Fix GetRelativeTransform for negative scale
#jira: UE-33380
Change 3073896 on 2016/08/02 by Alex.Delesky
#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.
#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool
Change 3073804 on 2016/08/02 by Jamie.Dale
Fixed the detail panel trying to apply class customizations to structs
This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).
#jira UE-32623
Change 3073803 on 2016/08/02 by Jurre.deBaare
Morph target vertex mapping can be wrong with multi material caches
#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
#jira UE-34074
Change 3073788 on 2016/08/02 by Andrew.Rodham
Sequencer: Added support for montage based animation
CL#3061714 :
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
CL#3063015 :
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
CL#3068399 :
Sequencer: Changed animation tracks to allow more animation types (such as anim montages)
- APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility
#jira UE-34046
Change 3073787 on 2016/08/02 by Jurre.deBaare
Handle failed Simplygon proxy mesh generation with error message instead of hard checks
#fix Added a failed delegate along side the succesful delegate
#jira UE-31990
Change 3073786 on 2016/08/02 by Jurre.deBaare
Alembic importer crashes when not assets are generated
#fix Prevented adding nullptr values to the array (now only contains valid entries)
#jira UE-34065
Change 3073777 on 2016/08/02 by Jurre.deBaare
User is able to give a Preview Scene Profile the same name as an existing profile
#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
#jira UE-34033
Change 3073775 on 2016/08/02 by Mitchell.Wilson
Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
#jira UE-31281
Change 3073732 on 2016/08/02 by Rolando.Caloca
DR - Fix crash when enabling gpu morph targets on non SM5 platforms
#jira UE-34011
Change 3073706 on 2016/08/02 by Peter.Sauerbrei
fix for no tvOS libraries in binary release for Win64
#jira UE-34076
Change 3073671 on 2016/08/02 by Allan.Bentham
High quality mobile reflection captures are now blended in correct (linear) space.
#jira UE-33915
Change 3073663 on 2016/08/02 by Peter.Sauerbrei
fix for launch on failing for iOS in Binary
#jira UE-34014
Change 3073662 on 2016/08/02 by Lee.Clark
4.13 - PS4 - Fix Media Player Audio cutting out
#jira UE-33850
Change 3073616 on 2016/08/02 by Mark.Satterthwaite
Duplicate CL #3073584 from Dev-Platform:
Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
#jira UE-32323
Change 3073592 on 2016/08/02 by Max.Chen
Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.
#jira UE-33993
Change 3073585 on 2016/08/02 by Nick.Darnell
Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.
#jira UE-34075
Change 3073575 on 2016/08/02 by Richard.TalbotWatkin
Duplicating from Dev-Editor, CL 3057645
Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server
Change 3073542 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3072169.
A couple of changes to the BSP code:
* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.
#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume
Change 3073540 on 2016/08/02 by Matthew.Griffin
Added Package Samples script behind a trigger to package samples for QA
Removed submitter notifications from Launcher Samples nodes
Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
#jira UEB-689
Change 3073511 on 2016/08/02 by Tom.Looman
Removed object redirectors to fix build warning in VR Template
#jira ue-33325
Change 3073458 on 2016/08/02 by Jurre.deBaare
Update default preview scene ini and assets
#fix deleted old sky texture and fixed BaseEditor.ini setup
#jira UE-34063
Change 3073427 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3068585
Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
#jira UE-34062 - SplineMesh collision can be generated incorrectly
Change 3073421 on 2016/08/02 by James.Golding
Resave PSD test assets in QAGame with proper version
#jira UE-34061
Change 3073419 on 2016/08/02 by James.Golding
Rename OrientationDriver to PoseDriver
#jira UE-34015
Change 3073404 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3057895
Mesh paint bugfixes and improvements.
Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.
This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.
#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting
Change 3073380 on 2016/08/02 by Richard.TalbotWatkin
Fixed build error in unity builds.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
Change 3073343 on 2016/08/02 by Matthew.Griffin
Whitelisting PS4 and XboxOne plugins for those platforms specifically
#jira UE-33866
Change 3073338 on 2016/08/02 by Ben.Marsh
When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.
Change 3073319 on 2016/08/02 by Maciej.Mroz
#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860
Manually integrated some fixes from Dev-Blueprints
Change 3073311 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor CL 3057868
Spline component improvements, both tools and runtime:
- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
- Added a custom version for SplineComponent and provded serialization fixes.
- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending.
- Allowed an explicit loop point to be specified for closed splines.
- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
- Fixed the logic which determines whether the UCS has modified the spline curves.
- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.
#jira UETOOL-766 - Spline tool improvements
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-33669 - Crash in Dev-Editor
Change 3073242 on 2016/08/02 by James.Golding
Move physics state create/destroy delegates from BodyInstance to ActorComponent
- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
#jira UE-32768
Change 3072953 on 2016/08/01 by Uriel.Doyon
Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
#jira UE-34045
[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
}
return DeviceName ;
}
2020-09-24 00:43:27 -04:00
FString UHeadMountedDisplayFunctionLibrary : : GetVersionString ( )
{
FString VersionString ;
if ( GEngine - > XRSystem . IsValid ( ) )
{
VersionString = GEngine - > XRSystem - > GetVersionString ( ) ;
}
return VersionString ;
}
int32 UHeadMountedDisplayFunctionLibrary : : GetXRSystemFlags ( )
{
int32 SystemFlags = 0 ;
if ( GEngine - > XRSystem . IsValid ( ) )
{
SystemFlags = GEngine - > XRSystem - > GetXRSystemFlags ( ) ;
auto HMD = GEngine - > XRSystem - > GetHMDDevice ( ) ;
if ( HMD & & ! HMD - > IsHMDConnected ( ) )
{
// Clear the flags if a HMD device is present but not connected
// Note that the HMD device is usually the XR system itself
// and the latter is registered as soon as the corresponding plugin is loaded
SystemFlags = 0 ;
}
}
return SystemFlags ;
}
2017-08-07 15:12:17 -04:00
EHMDWornState : : Type UHeadMountedDisplayFunctionLibrary : : GetHMDWornState ( )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > GetHMDDevice ( ) )
2017-08-07 15:12:17 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > XRSystem - > GetHMDDevice ( ) - > GetHMDWornState ( ) ;
2017-08-07 15:12:17 -04:00
}
return EHMDWornState : : Unknown ;
}
2014-03-14 14:13:41 -04:00
void UHeadMountedDisplayFunctionLibrary : : GetOrientationAndPosition ( FRotator & DeviceRotation , FVector & DevicePosition )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > IsHeadTrackingAllowed ( ) )
2014-03-14 14:13:41 -04:00
{
FQuat OrientationAsQuat ;
FVector Position ( 0.f ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > GetCurrentPose ( IXRTrackingSystem : : HMDDeviceId , OrientationAsQuat , Position ) ;
2014-03-14 14:13:41 -04:00
DeviceRotation = OrientationAsQuat . Rotator ( ) ;
DevicePosition = Position ;
}
else
{
DeviceRotation = FRotator : : ZeroRotator ;
DevicePosition = FVector : : ZeroVector ;
}
}
bool UHeadMountedDisplayFunctionLibrary : : HasValidTrackingPosition ( )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > IsHeadTrackingAllowed ( ) )
2014-03-14 14:13:41 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > XRSystem - > HasValidTrackingPosition ( ) ;
2014-03-14 14:13:41 -04:00
}
return false ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
int32 UHeadMountedDisplayFunctionLibrary : : GetNumOfTrackingSensors ( )
2014-03-14 14:13:41 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) )
2014-03-14 14:13:41 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return GEngine - > XRSystem - > CountTrackedDevices ( EXRTrackedDeviceType : : TrackingReference ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
}
return 0 ;
}
void UHeadMountedDisplayFunctionLibrary : : GetPositionalTrackingCameraParameters ( FVector & CameraOrigin , FRotator & CameraRotation , float & HFOV , float & VFOV , float & CameraDistance , float & NearPlane , float & FarPlane )
{
bool isActive ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
float LeftFOV ;
float RightFOV ;
float TopFOV ;
float BottomFOV ;
GetTrackingSensorParameters ( CameraOrigin , CameraRotation , LeftFOV , RightFOV , TopFOV , BottomFOV , CameraDistance , NearPlane , FarPlane , isActive , 0 ) ;
HFOV = LeftFOV + RightFOV ;
VFOV = TopFOV + BottomFOV ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
void UHeadMountedDisplayFunctionLibrary : : GetTrackingSensorParameters ( FVector & Origin , FRotator & Rotation , float & LeftFOV , float & RightFOV , float & TopFOV , float & BottomFOV , float & Distance , float & NearPlane , float & FarPlane , bool & IsActive , int32 Index )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
{
IsActive = false ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( Index > = 0 & & GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > IsHeadTrackingAllowed ( ) & & GEngine - > XRSystem - > DoesSupportPositionalTracking ( ) )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
TArray < int32 > TrackingSensors ;
GEngine - > XRSystem - > EnumerateTrackedDevices ( TrackingSensors , EXRTrackedDeviceType : : TrackingReference ) ;
2020-10-29 13:38:15 -04:00
if ( TrackingSensors . Num ( ) > 0 )
{
FQuat Orientation ;
FXRSensorProperties SensorProperties ;
IsActive = GEngine - > XRSystem - > GetTrackingSensorProperties ( TrackingSensors [ Index ] , Orientation , Origin , SensorProperties ) ;
Rotation = Orientation . Rotator ( ) ;
LeftFOV = SensorProperties . LeftFOV ;
RightFOV = SensorProperties . RightFOV ;
TopFOV = SensorProperties . TopFOV ;
BottomFOV = SensorProperties . BottomFOV ;
Distance = SensorProperties . CameraDistance ;
NearPlane = SensorProperties . NearPlane ;
FarPlane = SensorProperties . FarPlane ;
}
2014-03-14 14:13:41 -04:00
}
else
{
// No HMD, zero the values
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
Origin = FVector : : ZeroVector ;
Rotation = FRotator : : ZeroRotator ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3145687)
#lockdown Nick.Penwarden
#rb Merge
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3094167 on 2016/08/18 by Jeff.Fisher
UEVR-97 Morpheus HMD tracking needs to wait until HMD is fully tracked.
-Morpheus CALIBRATING/NOT_TRACKED tracking state hmd orientation update disabled and delegates added to present instructions to the user. This behavior is controlled by morpheus ini setting bDisableHMDOrientationUntilHMDHasBeenTracked, but defaulted to true to avoid subtly bad user experiences.
#review-3094106 @chad.taylor
#jira UEVR-97
Change 3104799 on 2016/08/29 by Jeff.Fisher
UEVR-178 Morpheus HMD Black crescents
-Switched reprojection frame time for 60/120 mode from 120hz to 60hz so we much better predict where the hmd will be pointing when the frame we are about to render is actually displayed, and are run off the edge of it less often and less severely. This makes the black crescent artifacts only just visible during very fast head turning. The kWrapModeMirror change, which will be submitted separately, makes the left and right crescents invisible to me.
-Renamed the functions for setting the prediction info in the PS4Tracker.
-Added render frame parameters to sony reprojection functions, these can help with debugging reprojection.
-Added commented out sce call to get the reprojection debug data. Not allowed to submit an executable that calls it, but its nice to at least know where one can put it. May improve this later.
-Wrapped PS4Tracker->Synchronize call in a check that the tracker handle is valid, because I managed to get it called when it wasn't (probably during hmd power off testing, but I don't remember now). It should be fine to not do it if the tracker is not functioning.
#review-3104780 chad.taylor
#jira UEVR-178
Change 3108423 on 2016/08/31 by Jeff.Fisher
Morpheus Config Improvements.
-UEVR-138 Morpheus HMD reprojection wrap mode config setting
-Can now switch between wrap mode Mirror and ClampToBorder. Mirror is the default.
-Made bDisableHMDOrientationUntilHMDHasBeenTracked editable in UE4Editor project settings.
-Using generic project setting for bStartInVR, removed the morpheus specific one.
#jira UEVR-138
#review-3106999 @nick.whiting
Change 3111231 on 2016/09/01 by Jeff.Fisher
Fixed bStartInVR ini setting.
-Initial implementation worked via a generic EnableStereo call, which worked, but happened after the hmd setup dialog, which is not what I wanted.
-Also fixed a tracking frame mismatch assert that hit when I powered the hmd off once, causing it to lose tracking. Its ok that it doesn't update in that circumstance.
#review-3111211 @ryan.vance
Change 3115196 on 2016/09/06 by Keli.Hlodversson
#jira UEVR-128
Map move controller Select button to Invalid, as it is always handled by the system
Change 3116425 on 2016/09/07 by Chad.Taylor
PSVR: stereo layers implementation
Change 3116593 on 2016/09/07 by Jeff.Fisher
UEVR-126 Morpheus HMD connect dialog cancel reactions
-VR only apps can't allow the player to cancel out of the hmd setup dialog, so lets just pop the dialog up again (sony were ok with a licencee doing this) if an ini setting says to do that.
-VR/2D apps might want to switch to 2d if the player cancels out of the hmd setup dialog, so there is an ini setting for that.
-A delegate only implementation is also provided for apps that want to do something else. This leaves the game rendering in VR mode, and fires the delegate.
-Refactored to better separate successful HMD acquisition from stereo rendering. This was necessary to support the delegate only option on startup. If you start in vr mode with your hmd off and cancel the dialog stereo rendering now starts with default values for the hmd hardware stats (as read from my pvt) instead of crashing trying to use uninitialized data. When an hmd is connected its values will be read.
-Refactored to ensure reprojection starts immediately when we call StartReprojection.
#jira UEVR-126
#review-3116221
Change 3116754 on 2016/09/07 by Keli.Hlodversson
bPixelDensityAdaptive is a bool and not a float property
Change 3117692 on 2016/09/08 by Jeff.Fisher
UEVR-135 Morpheus HMD recent feature error reporting
UEVR-173 2DVR flexibility (UTexture)
-Error log for sceHmdReprojectionSetOutputMinColor failure.
-Made the parameter for 2dVR a UTexture* instead of a UTexture2D*, so it can be a rendertarget, etc.
-Added error logs for missing texture, invalid texture, wrong texture format to 2DVR.
#jira UEVR-135
#jira UEVR-173
#review-3116955 @keli.hloedversson
Change 3117990 on 2016/09/08 by Jeff.Fisher
UEVR-127 Morpheus HMD removal reaction
-Added VRHeadsetPutOnHead and VRHeadsetRemovedFromHead delegates, and implemented them for Morpheus.
#jira UEVR-127
#review-3117968 @keli.hlodversson
Change 3120198 on 2016/09/09 by Jeff.Fisher
MorpheusReprojector frame complete wait error log
-Now log a warning if the sceKernalWaitEqueue returns an error. It not a problem if this happens rarely, but something is very broken if it starts happening continuously.
Change 3121754 on 2016/09/12 by Keli.Hlodversson
#jira UE-21878 - Also emit VR initialization analytics events in the editor.
Change 3122311 on 2016/09/12 by Nick.Whiting
Merging fix for Adreno devices rendering black from 4.13.1
Change 3123057 on 2016/09/13 by Keli.Hlodversson
#jira UE-30097 Use the current value of r.ScreenPercentage on Occulus Rift if it's explicitly set.
* If the SetBy part of the flags for the console var is SetBy_Constructor, then ignore the value.
* If it's SetBy_Scalability, then ignore it if it equals 100
* Else, call SetScreenPercentage using the current value
The obsolete HMD SCREENPERCENTAGE console command is still available and will override the setting until r.ScreenPercentage is modified the next time.
Change 3123200 on 2016/09/13 by Chad.Taylor
PS4 Stereo Layer double buffering. Since the overlays are reprojected at 120hz but rendered at 60hz we need to render to a separate buffer than the one being used by reprojection.
Change 3125845 on 2016/09/14 by Keli.Hlodversson
#jira UE-33996 Add hmd=<name> command line option to allow overriding which HMD module is used.
Renamed GetModulePriorityKeyName to simply GetModuleKeyName, as this name is now also used to match against the command line options.
Change 3127293 on 2016/09/15 by Jeff.Fisher
UEVR-225 Morpheus HMD top and bottom black crescents
-The hidden and visible area meshes for morpheus were too restrictive. Nudged them out a bit, no black crescents at the top and bottom of the screen. We are rendering a few more pixels now though.
#review-3127145 @ryan.vance
#jira UEVR-225
Change 3130635 on 2016/09/19 by Jeff.Fisher
UEVR-226 Morpheus HMD mirrored fill wrong on outer edges
-The setting was never being used, leaving the wrap mode at 0 aka kWrapModeWrap.
-Refactored how the setting is applied so it works, and is less convoluted.
#jira UEVR-226
#review-3129403
Change 3131615 on 2016/09/19 by Keli.Hlodversson
#jira UE-29341. Update Chaperone bounds when SteamVR tells us they have changed
Change 3136527 on 2016/09/22 by Keli.Hlodversson
Don't depend on the current state of the VR subsystem when exiting PIE mode to decide whether the main window should be restored. Instead always restore it if it was minimized at the start.
Change 3136652 on 2016/09/22 by Keli.Hlodversson
Allow shutting down Steam VR subsystem without shutting down the Steam VR plugin completely in response to quitting from the SteamVR overlay. Enabling stereo rendering again will reinitialize SteamVR. This is useful when using PIE in VR mode as it allows entereing it again without restarting the editor. Also fixes crashes by first disabinge stereo rendering a short while before shutting down the VR subsystem.
#jira UE-35940
Change 3138901 on 2016/09/23 by Ryan.Vance
Merging 3138521 using OdinToDevVR to bring over temporary forward lighting ISR changes for 4.14
Change 3141614 on 2016/09/27 by Keli.Hlodversson
Implement GetNumOfTrackingSensors and GetTrackingSensorProperties on SteamVR.
#jira UE-32994
Change 3141948 on 2016/09/27 by Jeff.Fisher
UEVR-242 Is AddControllerYawInput not allowed when morpheus is enabled?
-Indeed it did not work. Looks like morpheus would not accumulate the yaw, so it would be reset every frame. I made the implementation of ApplyHmdRotation very similar to the one used for occulus (also similar to other platforms) to fix this.
#jira UEVR-242
#review-3141933 keli.hlodversson
Change 3143484 on 2016/09/28 by Nick.Whiting
Integrating Oculus 1.8 SDK support, includes support for cylinder and cubemap stereo layers
Change 3143517 on 2016/09/28 by Chad.Taylor
Merging PS4Tracker fixes from Release-4.13 into Dev-VR
Change 3143805 on 2016/09/28 by Keli.Hlodversson
#jira UE-36478 Workaround to make world to meters scale apply correctly to Occulus controllers while running in PIE
Change 3143943 on 2016/09/28 by Nick.Whiting
Merging latest drop from OSVR
Change 3144221 on 2016/09/28 by Keli.Hlodversson
Implement GetTrackingSensorProperties on PS4
#jira UE-32994
Change 3144352 on 2016/09/28 by Ryan.Vance
Initial implementation of mobile multi-view.
This is non-functioning and requires a lot more work, but enough of the framework exists to make the 4.14 branch for an experimental release.
Change 3144585 on 2016/09/29 by Jeff.Fisher
UEVR-14 PSVR Support for 90Hz to 90Hz, and 120Hz to 120Hz
-Enum setting added for the three frame sequences.
-90Hz mode is trying to run camera updates at 90hz, but they can only run at 60 so every third one fails. This works, but its dubious.
-Feature marked as experimental for now because of that 90hz tracking issue, and the lack of testing.
-Defaulting to 60/120.
#jira UEVR-14
#review-3143486 chad.taylor nick.whiting
Change 3145263 on 2016/09/29 by Nick.Whiting
Fix for constructor initialization order in StereoLayerComponent, which threw a warning on Clang
Change 3145536 on 2016/09/29 by Nick.Whiting
Fixes for project files to prevent mystery pop up from CAPI
Change 3145663 on 2016/09/29 by Keli.Hlodversson
PSVR: Make sure the camera orientation returned from GetTrackingSensorProperties points in the right direction.
Change 3145670 on 2016/09/29 by Keli.Hlodversson
For some reason the orientation of the Oculus tracking sensor is reported as pointing backwards. This flips it around to face front
Change 3145687 on 2016/09/29 by Chad.Taylor
VR splash screen support
[CL 3146243 by Nick Whiting in Main branch]
2016-09-30 01:16:13 -04:00
LeftFOV = RightFOV = TopFOV = BottomFOV = 0.f ;
2014-03-14 14:13:41 -04:00
NearPlane = 0.f ;
FarPlane = 0.f ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3056808)
#lockdown Nick.Penwarden
#rb The Forces of Good and Evil, twixt the realms from which bugs doth come
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3026722 on 2016/06/24 by Chad.Taylor
IStereoLayers SteamVR initial implementation
Change 3027397 on 2016/06/24 by Chad.Taylor
SteamVR stereo layer texture updating rework. It now upadtes textures from the render thread and supports "continous update"
Change 3033004 on 2016/06/29 by Nick.Whiting
Integrating GoogleVR plugin from Google branch
Change 3033248 on 2016/06/29 by Sam.Zamani
Copying //Tasks/UE4/Dev-VR-Online to Dev-VR (//UE4/Dev-VR)
Merged up to cl #3029677 from //depot/Partners/Oculus/UE4-Research/4.12-dev/Engine/Source/Runtime/Online/...
Added PacketHandler module dependency to new OnlineSubsystemOculus module
Replaced std::move usage with UE equivalent MoveTemp
Trigger OnLoginStatusChanged delegate during login/logout processing of FOnlineIdentityOculus
Implemented Oculus unique net id creation from string and byte*
Added OnlineSubsystemOculus module as a dependency for QAGame testing
Make sure to always call completion delegates in FOnlineFriendsOculus
Trigger success OnMatchmakingComplete delegate in FOnlineSessionOculus::StartMatchmaking
Fixed shadowed variable PlayerId in FOnlineSessionOculus::OnRoomInviteAccepted
Split out 32/64bit dll dependencies of LibOVRPlatform
Replaced "unsigned long long" with UE equivalent "uint64"
Replaced "unsigned int" with UE equivalent "uint32"
Change 3033490 on 2016/06/29 by Jeff.Fisher
UE-32601
Changed from Flush to FlushImmediate when switching from rendering one eye buffer to the other on GoogleVR because we are trying to clear the immediate RHI command list.
Change 3034920 on 2016/06/30 by Chad.Taylor
PSVR ApplyMorpheusReprojection support for separate texture per stereo eye.
Change 3038640 on 2016/07/05 by Chad.Taylor
Fixing Morpheus "HasValidTrackingPosition" to actually return true when tracking is valid.
Change 3038940 on 2016/07/06 by Nick.Whiting
Haptics Refactor: Adding support for multiple types of haptics effect, defined by their data format (curves, buffer, sound waves)
Change 3040512 on 2016/07/06 by Chad.Taylor
Fix for CopyOverOtherViewportsIfNeeded that was selecting an incorrect FSceneView. This was picking the wrong hmd mesh for render and causing strange flickering.
Change 3041314 on 2016/07/07 by Nick.Whiting
Extending core hand types for motion tracking controllers to have external camera tracking available, as well as Special_1 - 9 for systems like STEM that have multiple special packs.
Change 3041353 on 2016/07/07 by Nick.Whiting
Modifying SteamVR HMD detection check to use a lighter weight function that doesn't launch the compositor
Change 3043516 on 2016/07/08 by Chad.Taylor
PSVR A3D Sound fix
Change 3043808 on 2016/07/08 by Nick.Whiting
Fixing issue with SteamVR plugin starting while trying to detect connected HMDs, fix for editor quitting when VR Compositor quits
Change 3043840 on 2016/07/09 by Nick.Whiting
OSVR Updated plugin, from Sensics
Change 3043958 on 2016/07/09 by Nick.Whiting
Oculus 1.5 Support Integration
Change 3045493 on 2016/07/11 by Ryan.Vance
Copying //UE4/Dev-VR-InstancedStereo to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
PS4 multi-view copy up
Change 3046896 on 2016/07/12 by Ryan.Vance
#jira UE-30842
We need to also late update ShadowViewMatrices, otherwise we compute an incorrect volume for translucent lighting which manifests as flickering.
Note: I'm not bothering to check the r.Shadow.FreezeCamera cvar here, as debugging shadowing *in vr* is probably not a case we need to support.
Change 3047272 on 2016/07/12 by Ryan.Vance
#jira UE-30278
We need to forward the eye index interpolator along.
Also removed a superfluous call to resolve view.
Change 3048060 on 2016/07/13 by Nick.Whiting
Integrating CL 3045721 from //depot/Partners/Google/AndroidVR-DevVR
Upgrade Android and iOS GVR SDK to the latest.
Fix the flipped vignette issue when using Unreal's post processing distortion.
Change the Daydream & Cardboard mode to use scanline racing.
Deprecate the ability to turn off individual UI elements.
Change 3048151 on 2016/07/13 by Nick.Whiting
Integrating small controller initialization fix from AndroidVR-DevVR branch
Change 3048363 on 2016/07/13 by Ryan.Vance
Fix for crash with HMDs when the adapter description isn't found. Crashing case was having monitors plugged into one adapter, and an HMD plugged into another, which caused a gap in AdapterDescription array, which later crashed in FindAdapter.
Change 3048783 on 2016/07/13 by Chad.Taylor
Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution
#jira UE-30173
Change 3049101 on 2016/07/13 by Chad.Taylor
Part 2 of: Fixing up SteamVR's -vr to mimic the same behavior as Oculus and use the appropriate resolution.
Had to defer setting of the viewport size to occur after we have a valid Window.
#jira UE-30173
Change 3050707 on 2016/07/14 by Nick.Whiting
Fix for motion controllers on remote clients responding to local motion controllers
Change 3051043 on 2016/07/14 by Nick.Whiting
Stub funcitonality to allow for rebasing based on other external trackers
Change 3051882 on 2016/07/15 by Nick.Whiting
Moving OnlineSubsystemOculus to a plugin, instead of a module
Change 3053772 on 2016/07/18 by Chad.Taylor
Code cleanup: Removing defunct IStereoRendering methods
Change 3054515 on 2016/07/18 by Chad.Taylor
Changing HMD resolution resizing to no longer occur in "Windowed" mode because its causing an issue in VR Preview
#jira UE-33341
Change 3056435 on 2016/07/19 by Jeff.Fisher
UES-2981
UEVR-13
Implemented VRHeadsetLost and VRHeadsetReconnected Delegates for Morpheus (Playstation VR).
https://udn.unrealengine.com/questions/301886/trying-to-use-vrheadsetlost-and-vrheadsetreconnect.html
#review-3056100 @nick.whiting
Change 3056491 on 2016/07/19 by Chad.Taylor
Audio thread assertion from HandlePause being called on the game thread. Submitting on behalf of Aaron McLeran
#jira UE-33360
[CL 3057155 by Nick Whiting in Main branch]
2016-07-20 01:48:44 -04:00
Distance = 0.f ;
2014-03-14 14:13:41 -04:00
}
}
2014-10-30 12:26:08 -04:00
void UHeadMountedDisplayFunctionLibrary : : ResetOrientationAndPosition ( float Yaw , EOrientPositionSelector : : Type Options )
2014-03-14 14:13:41 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > IsHeadTrackingAllowed ( ) )
2014-03-14 14:13:41 -04:00
{
2014-10-30 12:26:08 -04:00
switch ( Options )
{
case EOrientPositionSelector : : Orientation :
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > ResetOrientation ( Yaw ) ;
2014-10-30 12:26:08 -04:00
break ;
case EOrientPositionSelector : : Position :
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > ResetPosition ( ) ;
2014-10-30 12:26:08 -04:00
break ;
default :
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > ResetOrientationAndPosition ( Yaw ) ;
2014-10-30 12:26:08 -04:00
}
2014-03-14 14:13:41 -04:00
}
}
2014-10-30 12:26:08 -04:00
2015-05-05 13:46:42 -04:00
void UHeadMountedDisplayFunctionLibrary : : SetClippingPlanes ( float Near , float Far )
2014-10-30 12:26:08 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
IHeadMountedDisplay * HMD = GEngine - > XRSystem . IsValid ( ) ? GEngine - > XRSystem - > GetHMDDevice ( ) : nullptr ;
if ( HMD )
2014-10-30 12:26:08 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
HMD - > SetClippingPlanes ( Near , Far ) ;
2014-10-30 12:26:08 -04:00
}
}
2018-01-11 16:07:16 -05:00
float UHeadMountedDisplayFunctionLibrary : : GetPixelDensity ( )
{
static const auto PixelDensityTCVar = IConsoleManager : : Get ( ) . FindTConsoleVariableDataFloat ( TEXT ( " vr.pixeldensity " ) ) ;
return PixelDensityTCVar - > GetValueOnGameThread ( ) ;
}
2015-06-08 20:42:40 -04:00
void UHeadMountedDisplayFunctionLibrary : : SetWorldToMetersScale ( UObject * WorldContext , float NewScale )
{
if ( WorldContext )
{
WorldContext - > GetWorld ( ) - > GetWorldSettings ( ) - > WorldToMeters = NewScale ;
}
}
float UHeadMountedDisplayFunctionLibrary : : GetWorldToMetersScale ( UObject * WorldContext )
{
return WorldContext ? WorldContext - > GetWorld ( ) - > GetWorldSettings ( ) - > WorldToMeters : 0.f ;
2016-03-05 15:50:28 -05:00
}
2016-04-13 09:39:40 -04:00
2016-04-05 11:25:00 -04:00
void UHeadMountedDisplayFunctionLibrary : : SetTrackingOrigin ( TEnumAsByte < EHMDTrackingOrigin : : Type > InOrigin )
2016-03-05 15:50:28 -05:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) )
2016-03-05 15:50:28 -05:00
{
2016-04-05 11:25:00 -04:00
EHMDTrackingOrigin : : Type Origin = EHMDTrackingOrigin : : Eye ;
2016-03-05 15:50:28 -05:00
switch ( InOrigin )
{
2016-04-05 11:25:00 -04:00
case EHMDTrackingOrigin : : Eye :
Origin = EHMDTrackingOrigin : : Eye ;
2016-03-05 15:50:28 -05:00
break ;
2016-04-05 11:25:00 -04:00
case EHMDTrackingOrigin : : Floor :
Origin = EHMDTrackingOrigin : : Floor ;
break ;
2019-06-10 12:22:13 -04:00
case EHMDTrackingOrigin : : Stage :
Origin = EHMDTrackingOrigin : : Stage ;
break ;
2016-04-05 11:25:00 -04:00
default :
2016-03-05 15:50:28 -05:00
break ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
GEngine - > XRSystem - > SetTrackingOrigin ( Origin ) ;
2016-03-05 15:50:28 -05:00
}
}
2016-04-05 11:25:00 -04:00
TEnumAsByte < EHMDTrackingOrigin : : Type > UHeadMountedDisplayFunctionLibrary : : GetTrackingOrigin ( )
2016-03-05 15:50:28 -05:00
{
2016-04-05 11:25:00 -04:00
EHMDTrackingOrigin : : Type Origin = EHMDTrackingOrigin : : Eye ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
if ( GEngine - > XRSystem . IsValid ( ) )
2016-03-05 15:50:28 -05:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
Origin = GEngine - > XRSystem - > GetTrackingOrigin ( ) ;
2016-03-05 15:50:28 -05:00
}
2016-04-05 11:25:00 -04:00
return Origin ;
2016-03-05 15:50:28 -05:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -05:00
FTransform UHeadMountedDisplayFunctionLibrary : : GetTrackingToWorldTransform ( UObject * WorldContext )
{
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
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -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
return TrackingSys - > GetTrackingToWorldTransform ( ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -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
return FTransform : : Identity ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -05:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 4268149)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 4048227 by Rolando.Caloca
VR - vk - Some Vulkan merge conflicts resolved
Change 4078631 by Mike.Beach
Fixing MR Calibration so it scales the alignment model according the the capture's FOV (so they appear the same size across capture devices - leading to a homogenous experience).
Also moved the FOV override config setting to be a console command/setting (mrc.FovOverride) to help in testing this.
#jira UE-55499
Change 4080389 by Mike.Beach
Speculative fix/guard against live crash - trying to catch malformed model data. Logging helpful information to give us insight in the future.
#jira UE-57680
Change 4080792 by Joe.Graf
Prep work for moving face ar to its own plugin
Change 4080852 by Joe.Graf
Prep work for moving face ar support to its own plugin
Change 4081735 by Keli.Hlodversson
Remove a workaround change from the Lumin branch that should not have been merged over.
Change 4081737 by Keli.Hlodversson
Fix SteamVR forcing full screen regardless of user settings.
#jira UE-51654
Change 4082323 by Joe.Graf
Pulled face ar support into its own plugin so that it can be enabled/disabled independently from room ar
Change 4082334 by Joe.Graf
Changed where face LiveLink was logging to
Change 4095529 by Joe.Graf
Dramatically simplified the face API isolation to a separate plugin
Change 4103356 by Joe.Graf
Fixed a threading bug that appeared when migrating the face ar code into its own plugin
Change 4109752 by Joe.Graf
Added a setting to specify the type of AR world alignment transform type a session should use
Deleted some old ARKit configuration code that wasn't really used
Fixed the setting of light estimation using the wrong value to determine the setting on ARKit
#jira: UE-58544, UE-59371
Change 4110601 by Jason.Bestimt
#DEV-VR - Adding spaces to plugin names
#JIRA: UE-58642, UE-58643
Change 4110721 by Jason.Bestimt
#DEV-VR - Removing question mark from tooltip
#JIRA: UE-58641
Change 4111412 by Joe.Graf
Fixed a bad merge of BaseEngine.ini
Change 4111902 by Nick.Whiting
Adding in support for locking HMD tracking to an external tracking environment (e.g. mo cap). This is not meant to drive the position continually in lieu of an HMD's built in system, but is rather to help keep the HMD from generally getting out of alignment with another tracking system. Two functions, CalibrateExternalTrackingToHMD and UpdateExternalTrackingHMDPosition allow for arbitrary rigid offsets between the HMD and the external tracking source, and updating as desired.
Change 4116059 by Joe.Graf
First pass integration of ARKit 2.0 (very wip, thar be dragons everywhere)
Change 4116109 by Jason.Bestimt
#DEV-VR - Disable editing of Tegra Debugger setting for installed builds
#JIRA: UE-58636
Change 4117821 by Jason.Bestimt
#DEV-VR - Fix for crash in DebugCanvas on application termination
#JIRA: UE-58865
Change 4118560 by Joe.Conley
MagicLeap ImageTrackerComponent: Adding check for PLATFORM_LUMIN to prevent PIE crash running code that was designed to only run on device.
Tested PIE in editor and launching to device.
Change 4118626 by Jason.Bestimt
#DEV-VR - Removing ES2 from bMobileRendering Tooltop
#JIRA: UE-58640
Change 4119786 by Joe.Conley
Merging CL-4118965 from Release-4.20 using DevVRtoRelease420
Change 4119906 by Joe.Conley
Magic Leap settings: Changing comment/tooltip on mobile rendering flag to not mention vulkan and just say "mobile". Still technically possible to use ES2 but it's hidden.
#jira UE-59755 "Magic Leap: Project setting to set vulkan or ES2 needs to be removed"
Change 4122067 by Jason.Bestimt
#DEV-VR - Copying all relevant files for Resonance Audio
Change 4122930 by Keli.Hlodversson
Use XR ThreadUtils when scheduling GameTrackingThread to Render and RHI thread.
#jira UE-58852
Change 4123848 by Nick.Whiting
Enabling RHI threading on Lumin
Change 4124116 by Nick.Whiting
Adding support for DefaultStereoLayers on Lumin
Change 4151051 by Joe.Conley
Magic Leap: Override IniPlatfromName() for LuminTargetPlatform to report "Lumin" rather than reporting the value from it's parent, AndroidTargetPlatform, "Android".
#jira UE-60389 "Lumin - Need to switch the *Phaedra* launch on option "All_Android_On..." to a single "All_Phaedra_On..." with no expandable options"
Unsure if this will affect more than just this display name, as IniPlatformName() is used in a few places in the code, but eventually it will need to be "Lumin" anyway so we'll fix fallout as we find it.
Change 4160099 by Nick.Whiting
Enabling RHI threading on Vulkan by default on Magic Leap
Change 4163986 by Joe.Graf
Merging using Dev-VR_to_Release-4.20
Change 4164500 by Joe.Graf
Merging using Release-4.20_to_Dev-VR
Change 4166311 by Jason.Bestimt
#DEV-VR - Merge from //UE4/Dev-MagicLeap/... @ CL 4136411
Change 4167085 by Ryan.Vance
#integrating 4.20 cl 4132173 to fix mobile vulkan occusion query issues.
#jira UE-61051
Change 4167151 by Jason.Bestimt
#DEV-VR - Manual merge of Dev-MAIN to resolve conflicts for robomerge
Change 4167983 by Joe.Conley
For Lumin, only build shaders for OpenGL or Vulkan, not both. Fix a shader compile error in BogMyrtle material (can't use SpeedTree node on mobile).
#jira UE-61126 Lumin Sample: Warning: LogMaterial : Failed to compile material for GLSL_ES2
Change 4168244 by Nick.Whiting
Fix for stereo layers crashing on exit, where the DebugCanvas was destroyed after the layer manager, causing a nullptr dereference
Change 4170213 by Mike.Beach
CIS build fix - removing duplicate definition & adding a missing #pragma once to a header fille
#mlqdr
Change 4170299 by Mike.Beach
LNK fix - fixing up more fallout from the recent merge from DevMain. Adding in missing function that was dropped in the merge (matching Main's version).
Change 4170962 by Nick.Whiting
Back out changelist 4160099: Removing the enabling by default on lumin
Change 4171227 by Chance.Ivey
Unreal Engine logos for Portal and Model. These need to be set in Project Settings.
Change 4171260 by Chance.Ivey
Removing ML basic assets for project icons.
Change 4171939 by Joe.Conley
#jira UE-61124 Lumin Sample: EDL errors during Launch On
Change Lumin Sample to use vulkan, like we do for everything by default now.
Didn't see this error after this change.
Change 4172321 by Mike.Beach
Sizing the debug layer properly for the magic leap device (inverting the y when rendering with opengl).
#jira UE-60299
#mlqdr
Change 4174175 by Jason.Bestimt
#DEV-VR - Fix for dragging a "skylight" from lighting menu directly into sequencer.
Change 4174237 by Jason.Bestimt
#DEV-VR - fixing initializer order
#JIRA - UE-61337
Change 4175281 by Joe.Graf
Added support to stream a preview image and the accompanying AR world data for shared AR experiences
Change 4175656 by Ryan.Vance
Copying //Tasks/UE4/Dev-VR-VulkanMedia to Dev-VR (//UE4/Dev-VR)
Preliminary vulkan media player support for ML.
There are a number of tasks left to do with this feature before committing to main:
- Clean up leaked color conversion handles
- Texture slot binding is not robust for media textures
- Color conversion extension init should be move to a lumin platform function
- Mobile renderer's base pass may collapse multiple materials together into the same drawing policy, so the immutable samplers referenced in the pso would bleed into other materials
- Fixing above will allow us to remove the immutable samplers from the mobile material rendering proxy to ensure we don't re-introduce the fort bug listed in the related comment
Change 4175684 by Ryan.Vance
Fix for vk media player crash
Change 4175699 by Nick.Whiting
Merging CL 4175640 (fix for Audio Capture pausing and resuming) to Dev-VR
Change 4176804 by Joe.Conley
Rolando originally hacked the RHI for Lumin with the ForceEnableDebugMarkers() function; return false there instead of if PLATFORM_LUMIN.
Change 4178261 by Ethan.Geller
Back out changelist 4175699 #fyi nick.whiting #rb none
Change 4179088 by Mike.Beach
Mirroring CL4178961.
Removing spammy error log, per consult from ML - apparently, at this time, MLSnapshotGetTransform() can return NaNs (which we handle). It is currently expected from the API.
#jira UE-61127
#mlqdr
Change 4179629 by Jeff.Fisher
UEVR-1209 Update to Magic Leap Hand Tracking API
-Switched from the Gestures API to the HandTracking API
-There is nothing like the 0 and 1 tracking point that change meaning per gesture in the new API, so I assigned the former Center/Pointer/Secondary special 1/3/5 2/4/6 to Center/IndexFingerTip/ThumbTip.
#review-4178177
#jira UEVR-1209
#mlqdr
Change 4179705 by Jeff.Fisher
MagicLeapHandTracking CIS fix.
Change 4181301 by Joe.Graf
Moved FaceARSample to Samples/Sandbox/AR/ so we can have all of the AR samples together
Change 4181402 by Joe.Graf
Fixed a missing #ifdef wrapper in the MagicLeap plugin
Change 4181445 by Joe.Graf
Fixed another missing #ifdef wrapper in the MagicLeap plugin
Change 4181558 by Jeff.Fisher
HandTracking LeftGestureButton fix
-The reality is Nihav made the fix, and I reviewed it.
Change 4185551 by Joe.Graf
Added support to query and specify the desired video format for an AR session
Change 4185843 by Joe.Graf
Merged in absolute scale/location/rotation PR #4760 from Wang Hao
Change 4186875 by Joe.Graf
Added stats for face ar
#jira: UE-53883
Change 4187681 by Joe.Graf
Fixed unity build compilation error
Change 4188782 by Joe.Graf
Work around LiveLink interpreting ARKit timestamps incorrectly causing jitter and animation lag
#jira: UE-61540
Change 4189204 by Joe.Graf
Merging using Release-4.20_to_Dev-VR
Change 4189331 by Joe.Graf
Removed all of my merge markers from the lab
Change 4189477 by Joe.Graf
Added performance tuning options for Face AR to ARSessionConfig
Added whether to mirror or be face relative for Face AR to ARSessionConfig
#jira: UE-53881
Change 4189835 by Joe.Graf
Changed how timestamps for ARKit objects are updated to make them more amenable with the engine
#jira: UE-61550
Change 4190085 by Jeff.Fisher
Duplicating from Dev-Partner-MagicLeap-4.20 cl 4189995
HandTracking 'failed to load' errors.
-Needed a package redirector as well as the various class and enum redirectors.
#MLQDR
#review-4189613
Files:
//UE4/Dev-Partner-MagicLeap-4.20/Engine/Config/BaseEngine.ini#8
Change 4190100 by Jason.Bestimt
#DEV-VR - Adding script version string to make sure AutoSDK gets run again
[To Fix CIS Builds for UE4 Lumin]
Change 4190795 by Joe.Conley
#jira UE-61265 Audio Capture Components need to hook Lumin backgrounding notifications to pause capture
Shelve 4175638 got committed but didn't compile. Fixed compile errors and changed some checks from Handle != ML_HANDLE_INVALID to MlIsValidHandle(Handle), fixed functions to return false if they error, responded to the errors by not continuing further, etc...
Don't know if this fixes all the functionality, but doesn't crash for me anymore.
Change 4196211 by Jason.Bestimt
#DEV-VR - Fixes for Android platform with new Lumin Vulkan Color Conversion Functions
Change 4199020 by Jason.Bestimt
Making sure bHaveVulkan is true for Lumin
Change 4199506 by Jason.Bestimt
#DEV-VR - Merging CL 4199443 from Dev-Magicleap to clear cache on looping media
Change 4200139 by Joe.Graf
Initial check in of a project to illustrate AR persistent sessions
Change 4200299 by Joe.Graf
Fixed the plugin setup for ARSaveLoad
Change 4200327 by Joe.Graf
Fixed adding face ar plugin instead of world ar plugin
Change 4200330 by Joe.Graf
Added a sample for using ARKit's environment probe feature
Change 4200352 by Joe.Graf
Changed the ARSessionConfig to use automatic environment probe generation
Change 4201607 by Zak.Parrish
Moving latest version of FaceARSample to DevVR
Change 4203453 by Jason.Bestimt
#DEV-VR - Fixing Audio Capture to not re-open stream if it's already open
#JIRA: UE-61609
Change 4204527 by Joe.Graf
Changed the AR World Save and AR Get Candidate Object latent actions to use the new mechanism to reduce code
Change 4204533 by Joe.Graf
POC of saving and load an AR world
Change 4204806 by Joe.Graf
Added more descriptive display names for AR blueprint operations
Change 4204870 by Jeff.Fisher
HandTracking blueprint access to all keypoints
-Duplicating for Dev-VR from Dev-Partner-MagicLeap-4.20
-Created new GetGestureKeypointTransform blueprint function to get a keypoint's transform by hand and keypoint enum.
-Deprecated the old GetGestureKeypoint methods
-Fixed Special_1 and Special_2 to use hand center instead of wrist center.
-Exposed all the keypoints to blueprint, so they can work right away when underlyign support appears in the OS.
#MLQDR
#review-4200777
Change 4204877 by Jeff.Fisher
Updated gesture test content to replace deprecated hand tracking blueprint functions.
Change 4204915 by Joe.Graf
Hid blueprint internal methods from being callable
Change 4205082 by Joe.Graf
Split ImportFileAsTexture2D into two functions so you can also import from a buffer
Change 4205170 by Joe.Graf
Made the proxy create function blueprint internal only
Change 4206898 by Joe.Graf
Initial ARSharedWorld multiplayer sample check in
Change 4207396 by Joe.Graf
Removed the FARSharedWorld from ARSharedWorldGameState to make things simpler/cleaner
Change 4207406 by Joe.Graf
Hooked up the delivery of the AR shared world data to the clients in the MP sample
Change 4207444 by Joe.Graf
Fixed the shadowing warning
Change 4207794 by zak.parrish
Checking in first stage of usable Save/Load AR work. Some UI, foundational functionality. Not testable yet.
Change 4207832 by Joe.Graf
For Zak
Change 4207952 by Joe.Graf
For Zak part 2
Change 4208268 by zak.parrish
Checking in changes to ARSaveLoad's game mode
Change 4208316 by zak.parrish
Living in shame under JoeG's rough admonishment. And fixing UI bugs.
Change 4208404 by zak.parrish
Actually saving... maybe?
Change 4208407 by Joe.Graf
Fixed wrong platform name being used as the whitelist for the AppleImageUtils plugin
Change 4209764 by Joe.Graf
Added missing module class for AppleImageUtilsBlueprintSupport
Change 4210695 by Joe.Graf
Added compression and versioning to the AR saved world data
Change 4211461 by Joe.Graf
Incremented the face live link packet version since the new blendshapes were added
Change 4211843 by Joe.Graf
Split some of the methods for ARKit conversion into a cpp from being all in the header
Added some logging during conversion
Change 4212020 by Joe.Graf
Added support for telling the AR system whether to reset tracking and tracked objects (useful for generating a play space and then using lower cpu/gpu tracking only)
Change 4212878 by Joe.Graf
Fixed inline problem and exported FAppleARKitConversion class
Change 4214969 by Ryan.Vance
#jira UEVR-1257
Adding initialization to all members in the default FAppleARKitFrame ctor
Change 4217193 by Jason.Bestimt
#DEV-VR - Fix for swapping shader cache formats and using Launch On
We now reload the settings each time they are used rather than caching once at startup
Change 4217487 by Jason.Bestimt
#DEV-VR - Fix for CIS shadowed member variable error
Change 4220007 by Jason.Bestimt
#DEV-VR - Fix for Dev-VR compile issue for Lumin Target Platform dependencies on Engine
Change 4223757 by Jason.Bestimt
#DEV-VR - Moving Lumin Audio Platform above Android because Lumin is Android
Change 4230863 by Keli.Hlodversson
Updating to SteamVR 1.0.15
Change 4235330 by Jason.Bestimt
#DEV-VR - Selective Merge from Dev-Partner-MagicLeap-4.20
CL 4117808
SKIP 4166531, 4172433, 4173415, 4174167, 4175152, 4174192
CL 4175448, 4175781, 4176126, 4176135, 4176138, 4176803, 4178961
SKIP - 4179818, 4179864
CL 4179921, 4179956, 4180229, 4180268, 4180298, 4182733, 4183548, 4184684, 4186883, 4187230, 4189420, 4189995, 4190527, 4190721
SKIP - 4191085
CL 4192219
SKIP 4195948
CL 4197287, 4197951, 4197956, 4201351, 4202541, 4202544, 4202547
SKIP 4202774
CL 4203462, 4203484
SKIP 4204670
CL 4206823, 4209729, 4209810, 4211003, 4215367, 4215662, 4215892, 4215898, 4220239, 4220257
SKIP 4220295
CL 4220307
SKIP 4221842
CL 4221866, 4222959, 4223772, 4225943
SKIP 4226329, 4227773
CL 4228213, 4228270
SKIP 422902, 4229054, 4229365, 4230881, 4233277
Change 4235969 by Joe.Conley
MagicLeap: Add quotes around the path to the tools (clang etc) in the mlsdk directory, so that it won't fail if the MLSDK directory has a space in the path.
Change 4239300 by Nick.Whiting
Adding missing uplugin file to GoogleARCoreServices
Change 4240183 by Keli.Hlodversson
Updating to SteamVR 1.0.16
Change 4241714 by joe.conley
#jira UE-62189 - "Various QAARApp/Content/...uassets have been saved with empty engine version"
Resaved assets.
Change 4242300 by Nick.Whiting
Fix for ARCore Tools being in the wrong folder, emitting RuntimeDependency ref to make sure they're properly included
#jira UE-62277
Change 4244428 by Mike.Beach
Copying //UE4/Partner-Oculus-Staging to Dev-VR (//UE4/Dev-VR)
Change 4244671 by Jeff.Fisher
Fxing 'Lumi" build break.
Change 4247283 by Nick.Whiting
Merging fix from CL 4247094 for ARCore external dependency locations
Change 4255817 by Ryan.Vance
#jira UE-58854
Vulkan Shared Texture Media Framework support cleanup
Don't leak vk color conversion handles and only allocate if needed
Move color conversion device init to a lumin platform call
Add immutable sampler state to mobile base pass policy comparison
Remove WITH_VULKAN_COLOR_CONVERSIONS wrappers around color conversion code
TODO: FVulkanDescriptorSetsLayoutInfo::AddBindingsForStage still uses the first combined image sampler found when handking materials w/ immutable sampelrs which is not robust. The correct binding needs to be selected from reflection data generated by the compiler.
Change 4256021 by Jeff.Fisher
UEVR-1261 MagicLeap HandTracking should be exposed to LiveLink
-Exposed hand tracking transforms through live link.
-Added blueprint function to get the livelink source.
-Exposed LiveLikeSourceHandle through ILiveLinkSource.h so that it can be used by the MagicLeapPlugin.
-The transforms are in tracking space. They form a hierarchical skeleton with HandCenter as the root. See FMagicLeapHandTracking::SetupLiveLinkData() for details on the hierarchy. With the current magicleap runtime functionality many transforms in the skeleton are always identity.
#jira UEVR-1261
#review-4248322
Change 4258366 by Jeff.Fisher
UE-62494 Dev-VR Editor fails to build with errors related to MagicLeapHandTrackingLiveLink.cpp
-Fixed build break
Change 4260114 by Ryan.Vance
#jira UE-62509
Moving color conversion vk entry points to lumin platform to avoid failing to find them in android drivers.
Change 4263040 by Ryan.Vance
Fixing scope issue.
Change 4263556 by Jeff.Fisher
UE-62507 Fatal error crash opening packaged QAGame
UE-62544 //UE4/Dev-VR - Run Automated Tests Cooked Win64 - Unhandled Exception
-Updated #define OPENVR_SDK_VER TEXT("OpenVRv1_0_16")
#jira UE-62507
Change 4265161 by Jason.Bestimt
#DEV-VR - Fix for Lumin BP Projects not using their project specific ini files for compiling/cooking/packaging
#JIRA: UE-62568
Change 4265739 by Ryan.Vance
Marker API override for ML VK.
The current ML driver unofficially supports debug markers, but will report the extension unsupported if queried directly.
Once they add official support, we need to add the extension name back into the list.
Change 4267320 by Ryan.Vance
We need to add the debug marker extension for all platforms but Lumin.
Change 4268149 by Michael.Trepka
Fix for Lumin Toolchain failing to compile on Mac due to changes to the SDK
[CL 4268410 by Jason Bestimt in Main branch]
2018-08-08 10:57:55 -04:00
void UHeadMountedDisplayFunctionLibrary : : CalibrateExternalTrackingToHMD ( const FTransform & ExternalTrackingTransform )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
TrackingSys - > CalibrateExternalTrackingSource ( ExternalTrackingTransform ) ;
}
}
void UHeadMountedDisplayFunctionLibrary : : UpdateExternalTrackingHMDPosition ( const FTransform & ExternalTrackingTransform )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
TrackingSys - > UpdateExternalTrackingPosition ( ExternalTrackingTransform ) ;
}
}
2016-03-05 15:50:28 -05:00
void UHeadMountedDisplayFunctionLibrary : : GetVRFocusState ( bool & bUseFocus , bool & bHasFocus )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
IHeadMountedDisplay * HMD = GEngine - > XRSystem . IsValid ( ) ? GEngine - > XRSystem - > GetHMDDevice ( ) : nullptr ;
if ( HMD )
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3088355 on 2016/08/13 by Max.Preussner
Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)
#jira UE-34643
Change 3088331 on 2016/08/13 by Max.Preussner
Media: Fixed Failing to load Precached Media Source (UE-34285)
#jira UE-34285
Change 3088202 on 2016/08/12 by Zabir.Hoque
Porting DX12 Fix from MS:
Update D3D12 RHI for 4.13
- Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.
#jira UE-0
Change 3088149 on 2016/08/12 by Mark.Satterthwaite
Duplicate CL #3087991:
Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
#jira UE-34315
Change 3088131 on 2016/08/12 by Chris.Babcock
Fix iterative deploy for new ADB
#jira UE-34638
#ue4
#android
Change 3088106 on 2016/08/12 by Dan.Oconnor
Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
#jira UE-34564
Change 3088099 on 2016/08/12 by Zabir.Hoque
Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.
#Jira UE-27026
Change 3088072 on 2016/08/12 by Max.Chen
Sequencer: Level editor camera cut flag is now a one way gate
This resolves issues to do with the flag being erroneously reset by external forces.
#jira UE-33875
Change 3088031 on 2016/08/12 by Jeff.Campeau
Fix WinXP build issues in WmfMedia and SteamVR plugins.
#jira UE-32421
Change 3088025 on 2016/08/12 by Tom.Looman
Updated VR Template with new VR device ID blueprint node.
#jira ue-34592
Change 3088023 on 2016/08/12 by Tom.Looman
Added PS Move input handling support to VR Template.
#jira UE-34188
Change 3087989 on 2016/08/12 by Michael.Trepka
Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.
#jira UE-34581
Change 3087907 on 2016/08/12 by mason.seay
New test assets for sub instance testing
#jira UE-29618
Change 3087812 on 2016/08/12 by Maciej.Mroz
#jira UE-34247 Nativized UMG assets not visible
Redone cl#3087726 from Dev-Blueprints
Change 3087810 on 2016/08/12 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
#review-3087760 @nick.whiting
#jira UEVR-13
Change 3087795 on 2016/08/12 by Mitchell.Wilson
Added project thumbnail to subway sequencer.
Added thumbnails to subway sequencer levels.
Re-saved multiple files to resolve empty engine version and nodeguid warnings.
#jira UE-34521 UE-34519
Change 3087730 on 2016/08/12 by Michael.Trepka
Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml
#jira UE-34548
Change 3087699 on 2016/08/12 by Jeff.Campeau
Make resource generation fault tolerant of unset config values.
#jira UE-34614
Change 3087690 on 2016/08/12 by Mitchell.Wilson
Added a thumbnail for the BlueprintRenderToTarget level.
#jira UE-34544
Change 3087688 on 2016/08/12 by Marc.Audy
Fix headshot crash when tearing down physics when not registered
#jira UE-32935
Change 3087615 on 2016/08/12 by Ben.Woodhouse
Fix for crash in shadowsetup when frustum is invalid
#jira UE-33014
Change 3087607 on 2016/08/12 by Max.Chen
Sequencer: Fix Import/Export FBX
- Import FBX now maps arbitrary float properties as well as the transform
- Import/Export FBX now consistently operates on selected nodes or all nodes
- Fixed exported node names so that they're consistent with Sequencer node names
#jira UETOOL-534
Change 3087586 on 2016/08/12 by Chris.Babcock
Add HUAWEI_Mali device model recognition for Vulkan
#jira UE-34610
#ue4
#android
Change 3087529 on 2016/08/12 by Jurre.deBaare
Fix for crash when start index != 0 and sampling at a different rate
#jira UE-34637
Change 3087519 on 2016/08/12 by Ben.Marsh
Pass the -ignorejunk flag on to child UBT instance when running a clean.
Change 3087455 on 2016/08/12 by Jurre.deBaare
Alembic importer plugin needs proper logo
#fix Replaced icon with inverted official Alembic logo
#jira UE-34474
Change 3087360 on 2016/08/12 by Ben.Marsh
Print out the UBT command line before running it, to help diagnose -ignorejunk problem.
Change 3087285 on 2016/08/12 by Lina.Halper
- Add which animation it fails to compress
- Make sure it doesn't go in there unless you have skeleton
#jira: UE-34490
Change 3087237 on 2016/08/12 by Alex.Delesky
#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.
Change 3087215 on 2016/08/12 by danny.bouimad
#jira UE-29618 updated QA-AnimProfiles again...
Change 3087212 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated TM-PhysicalAnimProfiles again
Change 3087200 on 2016/08/12 by Robert.Manuszewski
Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.
#jira UE-34373
Change 3087188 on 2016/08/12 by Matthew.Griffin
Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually
Change 3087160 on 2016/08/12 by Ben.Marsh
Propagate the -ignorejunk option when we're building UHT as a child process in UBT.
Change 3087148 on 2016/08/12 by Ben.Marsh
Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.
Change 3087143 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.
Change 3087140 on 2016/08/12 by Steve.Robb
GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs
I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...
#jira UE-29286
Change 3087139 on 2016/08/12 by Steve.Robb
Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.
#jira UE-31575
Change 3087107 on 2016/08/12 by Jurre.deBaare
Alembic Import with empty first frame will cause the editor to crash
#jira UE-34515
#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
#misc check condition fix in Runnable
#misc log now adds new page named after the imported Alembic file
Change 3087079 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Corrupted level package on loading cooked content
#jira UE-34591
Change 3087063 on 2016/08/12 by James.Cobbett
#jira UE-29618 Submitting test assets for Alembic Importer
Change 3087048 on 2016/08/12 by Matthew.Griffin
Changed Launcher Samples to create aggregate from property to avoid error in preflights
Only notify about Launcher Samples trigger in non-preflight builds
Change 3086985 on 2016/08/12 by Maciej.Mroz
#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]
Redone cl#3083825 from Dev-Blueprints
Change 3086960 on 2016/08/12 by Matthew.Griffin
Prevent Build DDC command from making DDC for platforms that aren't supported by project
#jira UEB-698
Change 3086945 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
#jira UE-18291
Change 3086904 on 2016/08/11 by Lina.Halper
Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f
#jira: UE-34570
Change 3086891 on 2016/08/11 by Lina.Halper
DUPEFIX: CL 3086544 from Michael Noland
Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
#jira UE-34223
#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
#tests (from Lina H) started the test project from JIRA and PIE, and no crash.
Change 3086837 on 2016/08/11 by Nick.Whiting
Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation
#jira UE-32564
Change 3086797 on 2016/08/11 by Dmitry.Rekman
Linux: fix crash on editor exit (UE-30795, UE-7519).
- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.
#jira UE-30795
Change 3086735 on 2016/08/11 by Richard.TalbotWatkin
Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash
Change 3086726 on 2016/08/11 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : 2DVR
2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
#jira UEVR-13
#review-3086004 @chad.taylor @nick.whiting
Change 3086652 on 2016/08/11 by Dmitry.Rekman
Linux: re-enable ICU (UE-34012).
- Built static libs against libc++; disabled using dynamic ones.
- Fixes lack of rich text formatting.
#jira UE-34012
Change 3086648 on 2016/08/11 by Nick.Whiting
Adding support for getting the HMD Device name from code / blueprints
#jira UE-31785
Change 3086589 on 2016/08/11 by Chad.Taylor
Fixing Vive resolution on packaged builds
#jira UE-34535
Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt
Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead.
#jira UE-34397
Change 3086529 on 2016/08/11 by Marc.Audy
Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
#jira UE-34287
Change 3086376 on 2016/08/11 by Peter.Sauerbrei
remove cached file handle from iOS and Android to save memory during loads
#jira UE-31720
Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt
Guard against crash with corrupted editor layouts
#jira UE-34364
Change 3086345 on 2016/08/11 by Dan.Oconnor
ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
#jira UE-34380
Change 3086272 on 2016/08/11 by Cody.Albert
Updating First Person templates to fix cook errors
#jira UE-22726
Change 3086259 on 2016/08/11 by Nick.Whiting
Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used
#jira UE-31617
Change 3086202 on 2016/08/11 by Marcus.Wassmer
Duplicate 3086176 to fix broken shaderpipelines on PS4
#jira UE-34540
Change 3086080 on 2016/08/11 by mason.seay
Test animbp for sub anim instances
#jira UE-29618
Change 3086062 on 2016/08/11 by Tom.Looman
Migrate from //depot/usr/ into Release-4.13 for VR Template.
#jira ue-34533
Change 3086032 on 2016/08/11 by Mike.Beach
Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).
#jira UE-34350
Change 3086025 on 2016/08/11 by Olaf.Piesche
#jira UE-32058
Replicating fix from 3050352
Change 3085969 on 2016/08/11 by John.Pollard
CIS fix
#jira UE-30516
Change 3085819 on 2016/08/11 by Jurre.deBaare
bForceOneSmoothingGroup not working for skeletal meshes
#fix Added check for forced smoothing group and calculate normals accordingly
#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
#jira UE-34555
Change 3085799 on 2016/08/11 by Ben.Marsh
Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.
Change 3085763 on 2016/08/11 by Daniel.Lamb
Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
#jira UE-34442
Change 3085717 on 2016/08/11 by Dmitry.Rekman
Linux: better messaging around Steam initialization (UE-32052).
- Also added a standalone test.
#jira UE-32052
Change 3085715 on 2016/08/11 by Chris.Bunner
Dropped check to an ensure as there's existing handling for invalid assets in that case.
#jira UE-23902
Change 3085714 on 2016/08/11 by Olaf.Piesche
#jira UE-30398
Fix offset added to particle collision locations.
Replicated from 3084645 in Dev-Rendering
Change 3085713 on 2016/08/11 by Chris.Babcock
Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
#jira UE-33840
#ue4
#android
#ios
#opengl
Change 3085711 on 2016/08/11 by Olaf.Piesche
#jira UE-34106
#jira UE-32784
#jira UE-31198
Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)
Replicated from 3083909 in Dev-Rendering
Change 3085707 on 2016/08/11 by Matthew.Griffin
Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue
Change 3085656 on 2016/08/11 by Marc.Audy
PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
#jira UE-32418
#jira UE-33617
Change 3085641 on 2016/08/11 by Lina.Halper
Fixed invalid compressed track data
- need a better solution and added ticket for 4.14 - UE-34547
#jira: UE-34077
Change 3085606 on 2016/08/11 by Max.Preussner
Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)
#jira UE-34381
Change 3085568 on 2016/08/11 by Maciej.Mroz
#jira UE-34436 Ensures when copy/pasting linked anim bp nodes
FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).
Change 3085532 on 2016/08/11 by Peter.Sauerbrei
fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
#jira UE-30335
Change 3085528 on 2016/08/11 by Max.Chen
Sequence Recorder: Fix crash when actor class to record is null.
#jira UE-34543
Change 3085418 on 2016/08/11 by Maciej.Mroz
#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults
Redone cl#3084313 from Dev-Blueprints
Change 3085395 on 2016/08/11 by John.Pollard
Don't allow hot-reloading if we're running PIE instances
#jira UE-30516
Change 3085377 on 2016/08/11 by Tom.Looman
Added StarterMap (WIP) to resolve JIRA.
#jira ue-34311
Change 3085364 on 2016/08/11 by Ben.Woodhouse
Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.
#jira UE-28561
Change 3085341 on 2016/08/11 by Dmitriy.Dyomin
Fixed: Creating Launcher Profile does not always shows all project available maps
#jira UE-33765
Change 3085336 on 2016/08/11 by Andrew.Rodham
Sequencer: Runtime instances are no longer updated when bluprints are recompiled
This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register
#jira UE-34499
Change 3085332 on 2016/08/11 by Dmitriy.Dyomin
Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
#jira UE-26868
Change 3085331 on 2016/08/11 by Ben.Woodhouse
Fix for threading related crash with precomputed lighting volumes
#jira UE-34531
Change 3085323 on 2016/08/11 by Allan.Bentham
Remove android specific vulkan hack to recreate depth buffer's imageview.
#jira UE-33593
#jira UE-33336
Change 3085313 on 2016/08/11 by Thomas.Sarkanen
StopRecordingAnimation now uses the same maing logic as RecordAnimation
This prevents inconsisten behaviour between record and stop record commands
#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor
Change 3085301 on 2016/08/11 by Allan.Bentham
Only allow gaussian DoF on mobile. Disable DoF for all other types.
#jira UE-34217
Change 3085292 on 2016/08/11 by Thomas.Sarkanen
Revert change to force shipping dlls in shipping builds
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3085291 on 2016/08/11 by Matthew.Griffin
Added nodes for Linux Editor, DDC and installed build
Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products
Change 3084973 on 2016/08/10 by Jeff.Campeau
Use relative settings for ShooterGame manifest
Package creation checks Xbox One target settings in Engine instead of Game config
#jira UE-33808
Change 3084932 on 2016/08/10 by patrickr.donovan
#jira UE-29618
SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.
Change 3084886 on 2016/08/10 by Daniel.Wright
Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
#jira UE-33238
Change 3084878 on 2016/08/10 by Jeff.Campeau
UFE launch command is generated with all devices requested instead of just the first.
#jira UE-34302
Change 3084860 on 2016/08/10 by Dmitry.Rekman
Fix CrashReportClient crashing on start (UE-32976, UE-34451).
- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.
#jira UE-32976
Change 3084756 on 2016/08/10 by Dmitry.Rekman
Linux: clean-up compiler settings logic (UE-22715).
- Includes parts of pull request #1704 by zaps166.
- Disables exceptions in most builds.
#jira UE-22715
Change 3084679 on 2016/08/10 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3084475
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
Change 3084614 on 2016/08/10 by Daniel.Wright
Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
#jira UE-34321
Change 3084607 on 2016/08/10 by Jeremiah.Waldron
Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur
Relates to:
#jira UE-34283
Change 3084586 on 2016/08/10 by Jeff.Campeau
Chunks don't assume they're done downloading at 100%.
#jira UE-34386
Change 3084552 on 2016/08/10 by Lina.Halper
Fix GetWorldFromContextObject to be used for another thread safer
: Guard to modify static variabls by another thread
#jira: UE-34416
Change 3084551 on 2016/08/10 by Mitchell.Wilson
Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
#jira UE-32855
Change 3084535 on 2016/08/10 by Mike.Beach
Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.
#jira UE-34378
Change 3084526 on 2016/08/10 by Jeff.Campeau
Update XDK to August 2016
#jira UEPLAT-1374
Change 3084471 on 2016/08/10 by John.Pollard
Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>
#jira UE-34295
Change 3084363 on 2016/08/10 by Marc.Audy
Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
#jira UE-34101
Change 3084231 on 2016/08/10 by Michael.Trepka
Fixed a problem with the search box in blueprint context menu not getting focus on Mac
#jira UE-20884
Change 3084229 on 2016/08/10 by Dmitry.Rekman
Linux: remove hardcoded staged files (UE-24594).
#jira UE-24594
Change 3084215 on 2016/08/10 by Chris.Bunner
Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
#jira UE-31936
Change 3084052 on 2016/08/10 by Jurre.deBaare
Alembic skeletal mesh importer does not calculate correct smoothing groups
#fix follow same routine as regular smoothing group/normal calculation
#jira UE-34493
Change 3084029 on 2016/08/10 by Phillip.Kavan
[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.
Mirrored from //UE4/Dev-Blueprints (CL# 3082839).
#jira UE-34458
Change 3084027 on 2016/08/10 by Ben.Woodhouse
Fix for crash when applying BSP materials
This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.
The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
#jira UE-31460
Change 3083981 on 2016/08/10 by Matthew.Griffin
Set Localization branch for Localise command to release version when running in the Release Branch
#jira UE-34471
Change 3083970 on 2016/08/10 by Max.Preussner
PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)
#jira UE-33481
Change 3083918 on 2016/08/10 by Matthew.Griffin
Exclude UBT generated files from the installed build
Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt
Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material
#jira UE-34360
Change 3083890 on 2016/08/10 by Matthew.Griffin
Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
#jira UE-34401
Change 3083873 on 2016/08/10 by Dmitry.Rekman
CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).
#jira UE-34478
Change 3083862 on 2016/08/10 by Mitchell.Wilson
Rebuilt lighting on Advanced_Lighting level in Samples Content
#jira UE-34383
Change 3083792 on 2016/08/10 by Benn.Gallagher
PR #2671: Fix sub instance curve values. (Contributed by tmiv)
PR #2668: Sub inst post anim fix (Contributed by tmiv)
#jira UE-34162
#jira UE-34121
Change 3083775 on 2016/08/10 by Kevin.Rushin
QAGame - Updating VRLatency Testmap, Can freelook
#jira UE-29618
Change 3083771 on 2016/08/10 by Robert.Manuszewski
Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.
#jira UE-34371
Change 3083742 on 2016/08/10 by Lee.Clark
4.13 - PS4 - Fix memory allocation sizes
#jira UE-33270
Change 3083732 on 2016/08/10 by Ben.Marsh
Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.
Change 3083690 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Foliage instances are not included when exporting a scene to FBX
#jira UE-34214
Change 3083654 on 2016/08/10 by Keith.Judge
Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().
#jira UE-23059
Change 3083646 on 2016/08/10 by Thomas.Sarkanen
Use shipping PhysX libs for installed builds
Copy fix from UE4Game.Target.cs to apply to all packaged games
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3083527 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Warning upon Undo/redo-ing of sculpting the landscape
#jira UE-34443
Change 3083502 on 2016/08/10 by Dmitriy.Dyomin
Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
#jira UE-34417
Change 3083349 on 2016/08/09 by Daniel.Wright
Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
#jira UE-31181
Change 3083167 on 2016/08/09 by Chad.Taylor
Null deref crash fix
#jira UE-33830
Change 3083144 on 2016/08/09 by Zabir.Hoque
Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.
#jira UE-32980
Change 3083136 on 2016/08/09 by Chad.Taylor
Stripping out egregious log spam
#jira UE-34181
Change 3083116 on 2016/08/09 by John.Billon
Defaulting r.D3D.RemoveUnusedInterpolators to on.
#Jira UE-34461
Change 3083114 on 2016/08/09 by John.Billon
Fixing static analysis warning in NullRHI.
#Jira UE-34462
Change 3083070 on 2016/08/09 by Dmitry.Rekman
PR #2516: CMake improvements and fixes (UE-22233, UE-32136).
- Contributed by Nihlus.
- Contains PR #1668 by mgerhardy
Summary of changes (from PR):
- Fixed an issue where CMake build files would contain invalid targets
- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
- Improved code readability throughout the generator. Can still use some more polish.
- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
- Improved commenting throughout the generator. As with readability, can still use some more polish.
- Removed unused using statements.
- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.
#jira UE-22233
Change 3082999 on 2016/08/09 by Jeremiah.Waldron
Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
#jira UE-34457
Change 3082993 on 2016/08/09 by mason.seay
Fixed level BP error and updated Reverb asset
#jira UE-29618
Change 3082981 on 2016/08/09 by Peter.Sauerbrei
disable roughness calculation for iOS metal
#jira UE-31815
Change 3082912 on 2016/08/09 by Chris.Babcock
Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
#jira UE-34432
#ue4
#android
Change 3082875 on 2016/08/09 by Chris.Bunner
Lowered verbosity of mesh build warning when using MikkTSpace.
#jira UE-23903
Change 3082867 on 2016/08/09 by Trung.Le
VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
#jira UE-34227
Change 3082818 on 2016/08/09 by Mike.Beach
Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).
#jira UE-34430
Change 3082794 on 2016/08/09 by Lukasz.Furman
fixed gameplay debugger extensions activating during simulate in editor
#jira UE-33343
Change 3082760 on 2016/08/09 by Jamie.Dale
Scene viewports are now centered when re-entering windowed mode
#jira UE-32842
Change 3082744 on 2016/08/09 by Mitchell.Wilson
Resaving assets to resolve empty engine version warnings.
#jira UE-29746
Change 3082728 on 2016/08/09 by Ben.Marsh
BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.
#jira UE-34329
Change 3082686 on 2016/08/09 by Marc.Audy
If the GameMode is not carried over as part of a seamless travel create it.
#jira UE-25569
Change 3082663 on 2016/08/09 by John.Billon
Fixed SubUVAnimation asset crash when texture source is cleared.
#Jira UE-34231
Change 3082650 on 2016/08/09 by John.Billon
Changed an ensure the NullRHI dealing with memory allocation to be a log message.
#Jira UE-32362
Change 3082644 on 2016/08/09 by Maciej.Mroz
#jira UE-34240 Match 3 nativization failure
Redone cl3082121 from Dev-Blueprints
Change 3082633 on 2016/08/09 by Maciej.Mroz
#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]
Redone cl3082414 from Dev-Blueprints
Change 3082606 on 2016/08/09 by Michael.Trepka
Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.
#jira UE-34276
Change 3082579 on 2016/08/09 by Benn.Gallagher
CIS fix, missed removing a few #ifs
#jira UE-29180
Change 3082525 on 2016/08/09 by Tom.Looman
Removed Android from supported platforms in VR Template.
#jira UE-34189
Change 3082523 on 2016/08/09 by Tom.Looman
Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
Fixed typo in level text.
#JIRA UE-34422
Change 3082504 on 2016/08/09 by Jurre.deBaare
Crash importing alembic asset over itself after saving it in Content Browser
#fix Trivial nullptr + isValid fix
#jira UE-34418
Change 3082433 on 2016/08/09 by Tom.Looman
Updated list of supported platforms.
#jira UE-34189
Change 3082423 on 2016/08/09 by Mitchell.Wilson
Resaving levels to resolve MikkTSpace warnings
Updating collision on SM_Floor_Round
#jira UE-30786
Change 3082361 on 2016/08/09 by Keith.Judge
Xbox One - Fix a controller disconnection crash.
- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
- Possibly a VS2015 Update 3 bug.
#jira UE-33955
Change 3082341 on 2016/08/09 by Mitchell.Wilson
Reimporting SM_GodRay_Plane
Resaving levels to resolve MikkTSpace warnings
Resaving multiple materials to resolve warnings
#jira UE-34212
Change 3082313 on 2016/08/09 by Matthew.Griffin
Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)
Change 3082294 on 2016/08/09 by Jurre.deBaare
Crash when importing an Alembic file with Materials as a different asset type than one that already exists
#fix Ensure that we have a valid material to assign to the assets
#jira UE-34377
Change 3082291 on 2016/08/09 by Jurre.deBaare
Unable to save Alembic asset with materials after importing more than once
#fix Make sure we delete referenced transient materials if they are not used
#jira UE-34400
Change 3082290 on 2016/08/09 by Jurre.deBaare
Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
#jira UE-34392
Change 3082274 on 2016/08/09 by Benn.Gallagher
Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
#jira UE-29780
Change 3082273 on 2016/08/09 by Benn.Gallagher
Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
#jira UE-30827
Change 3082270 on 2016/08/09 by Benn.Gallagher
Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
#jira UE-29180
Change 3082257 on 2016/08/09 by Jurre.deBaare
Auto align floor mesh does not work in Persona
#fix Readded functionality for the auto alignment :)
#jira UE-34404
Change 3082239 on 2016/08/09 by Peter.Sauerbrei
make sure IPP and supporting dlls are all 64-bit
#jira UE-34408
Change 3082225 on 2016/08/09 by Mitchell.Wilson
Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
Reimporting SM_GodRay_Plane
Saving all levels to resolve MikkTSpace warnings.
#jira UE-30787
Change 3082222 on 2016/08/09 by Rolando.Caloca
UE4.13 - Fix crash on opengl3
- Load proper shader map depending on feature level
- int interpolators require nointerpolation modifier
#jira UE-33879
Change 3082221 on 2016/08/09 by Benn.Gallagher
Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
#jira UE-34384
Change 3082179 on 2016/08/09 by Ben.Woodhouse
Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
#jira UE-31461
Change 3082170 on 2016/08/09 by Graeme.Thornton
Manual copy of CL 3078836 from Dev-Core to Release-4.13
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
#jira UE-33909
Change 3082169 on 2016/08/09 by Graeme.Thornton
Make FLauncherTasks have unique names so we don't end up with stat name collisions
#jira UE-33849
Change 3082163 on 2016/08/09 by Matthew.Griffin
Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
Added Checks for files that might not exist when creating Installed Build from Github etc.
Tag the published installed build zips
#jira UE-34249
Change 3082139 on 2016/08/09 by Ben.Marsh
BuildGraph: Allow writing a schema without passing a script in.
Change 3082109 on 2016/08/09 by Thomas.Sarkanen
Fixed blendspaces producing bad data when degenerate spaces are present
Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.
#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph
Change 3082080 on 2016/08/09 by Matthew.Griffin
Added notifications for available triggers
Change 3082054 on 2016/08/09 by Allan.Bentham
Quality level override changes to high QL are now correctly picked up.
#jira UE-22812
Change 3082049 on 2016/08/09 by Allan.Bentham
Update shaders when mobile preview device is changed.
#jira UE-22810
Change 3081866 on 2016/08/09 by Max.Chen
Fbx Export: Fix build.
#jira UETOOL-750
Change 3081863 on 2016/08/09 by Max.Chen
Fbx Export: Fix level sequence fbx export.
- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
- Fix setting rich curve tangents and interpolation modes.
- Fix camera focal length export.
#jira UETOOL-750
Change 3081823 on 2016/08/08 by Dmitriy.Dyomin
Fixed: Crash when simulating in editor with a landscape actor selected
#jira UE-34367
#coderview Gareth.Martin
Change 3081647 on 2016/08/08 by Chad.Taylor
OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport
#jira UE-34352
Change 3081645 on 2016/08/08 by Zak.Middleton
#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.
#jira UE-30178
Change 3081639 on 2016/08/08 by Tyler.Cole
Update build scripts for WEX MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081616 on 2016/08/08 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements
-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
#jira UEVR-13
#review-3081284 @chad.taylor @nick.whiting
Change 3081597 on 2016/08/08 by Tyler.Cole
Update build scripts for Ocean MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081476 on 2016/08/08 by Tyler.Cole
Update build script for UE4 Release-4.13 stream Fortnite MCP.
#jira NONE-0
Change 3081397 on 2016/08/08 by Josh.Adams
- Fixing more linux case issues in UT
#jira ue-33478
Change 3081391 on 2016/08/08 by Mitchell.Wilson
Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
#jira UE-33843
Change 3081383 on 2016/08/08 by Aaron.McLeran
#jira UE-34081
Implementing CL 3076637 into 4.13
#tests run a procedural sound wave object test
Change 3081337 on 2016/08/08 by Aaron.McLeran
#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay
- OR-26580
- Implementing CL 3071258 to 3.13
#tests ran paragon with change, no crashes
Change 3081335 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed memory leak in source resolver (UE-34385)
#jira UE-34385
Change 3081320 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed typo (UE-32421)
#jira UE-32421
Change 3081276 on 2016/08/08 by Mitchell.Wilson
Resaving asset to resolve MikkTSpace warning.
#jira UE-31116
Change 3081269 on 2016/08/08 by Dan.Oconnor
Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
#jira UE-34324
Change 3081052 on 2016/08/08 by Dan.Oconnor
Making a change to test UE-34324
#jira UE-34324
Change 3081026 on 2016/08/08 by Daniel.Wright
Added a heightfield painting example to BlueprintRenderToTarget content example
#jira UE-34323
Change 3081025 on 2016/08/08 by Daniel.Wright
CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
#jira UE-34321
Change 3081023 on 2016/08/08 by Aaron.McLeran
#jira UE-34325 Implementing 3080958 in 4.13
- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.
#tests ran repro case described in bug several times without crashing (was 100% repro)
Change 3081020 on 2016/08/08 by Dan.Oconnor
Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
#jira UE-26310
Change 3081010 on 2016/08/08 by Dan.Oconnor
Fix for losing root transform when recycling objects
#jira UE-28398
Change 3080972 on 2016/08/08 by Mark.Satterthwaite
Duplicate CL #3080684:
Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
#jira UE-21857
Change 3080971 on 2016/08/08 by Mark.Satterthwaite
Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
#jira UE-34355
Change 3080923 on 2016/08/08 by Michael.Trepka
When archiving on for Mac delete the dest icon if it exists before trying to call File.Move
#jira UE-33304
Change 3080919 on 2016/08/08 by samuel.proctor
Revised assets for Blueprint Debugging tests
#jira UE-29618
Change 3080878 on 2016/08/08 by Ben.Marsh
Fix sample build timeouts due to generating DDC using installed engine builds taking too long.
* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.
Change 3080849 on 2016/08/08 by Marc.Audy
Always stop matinee sounds when jumping around, not just if the sound changed.
#jira UE-31447
Change 3080843 on 2016/08/08 by Ben.Marsh
BuildGraph: Fix compile error due to duplicated variable name.
Change 3080840 on 2016/08/08 by Max.Chen
Fbx: Fix rich curve export being exported at the incorrect times when baked.
#jira UETOOL-750
Change 3080824 on 2016/08/08 by Max.Chen
Sequencer: Revert fix root component structure for level sequence actor.
#jira UE-34354
Change 3080819 on 2016/08/08 by Chad.Taylor
Merging Move and Vive haptic implementation from Dev-VR to Release-4.13
#jira UE-27886
Change 3080818 on 2016/08/08 by Jurre.deBaare
Crash when importing the same Alembic file but as a different Asset Type
#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
#misc Typo
#jira UE-34293
Change 3080817 on 2016/08/08 by Jurre.deBaare
Crash when importing an Alembic file with Materials if it already exists
#fix Only create materials if they don't already exist
#jira UE-34300
Change 3080814 on 2016/08/08 by Jurre.deBaare
Crash when importing Alembic files as Skeletal Mesh
#fix Set the NumVertices variable that was re-added :)
#misc removed dead code
#jira UE-34288
Change 3080813 on 2016/08/08 by Jurre.deBaare
[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
#jira UE-34294
Change 3080797 on 2016/08/08 by Dmitriy.Dyomin
Fix: Crash opening levels with landscape in them via the command console in standalone game
#jira UE-34348
Change 3080784 on 2016/08/08 by Jamie.Dale
We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)
#jira UE-34298
Change 3080734 on 2016/08/08 by Matthew.Griffin
Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent
Change 3080685 on 2016/08/08 by Peter.Sauerbrei
fix for crash on tvOS and iOS when launching a project
#jira UE-34005
Change 3080683 on 2016/08/08 by Matthew.Griffin
Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built
Change 3080681 on 2016/08/08 by Matthew.Griffin
Corrected path separators for Mac DDC location, which was preventing it from being included in installed build
Change 3080675 on 2016/08/08 by Robert.Manuszewski
Fixing CIS on Clang platforms
#jira UE-34025
Change 3080674 on 2016/08/08 by Ben.Woodhouse
Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507
#jira UE-32651
Change 3080594 on 2016/08/08 by Keith.Judge
Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.
#jira UE-31607
Change 3080573 on 2016/08/08 by Martin.Wilson
Fix Root Motion from Everything blending incorrectly when using layered blend per bone
#Jira UE-17815
Change 3080517 on 2016/08/08 by James.Golding
PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
#jira UE-34299, UE-34279
Change 3080512 on 2016/08/08 by Benn.Gallagher
Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
#jira UE-34137
Change 3080510 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)
#jira UE-32421
Change 3080509 on 2016/08/08 by Robert.Manuszewski
Added more detailed message when TArray's BulkSerialize fails.
#jira UE-34025
Change 3080506 on 2016/08/08 by Allan.Bentham
Do not set render target if there are no modulated shadows.
#jira UE-33252
Change 3080498 on 2016/08/08 by Keith.Judge
Fix D3D12.x link error.
#jira UE-34322
Change 3080493 on 2016/08/08 by Matthew.Griffin
Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
#jira UE-34073
Change 3080490 on 2016/08/08 by Maciej.Mroz
#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match
Redone cl# 3080484
Change 3080462 on 2016/08/08 by Allan.Bentham
Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
Fix initialisation errors introduced in CL 3070035.
#jira UE-34099
Change 3080242 on 2016/08/07 by Max.Chen
Sequencer: Fix to allow deleting spawnables from the viewport
#jira UE-28523
Change 3080241 on 2016/08/07 by Dmitriy.Dyomin
Fixed: StartCameraFade not fading camera when MobileHDR is off
#jira UE-34143
Change 3079990 on 2016/08/06 by andrew.porter
Changing defaults on some settings on M_Details for test case.
#jira UE-29618
Change 3079989 on 2016/08/06 by andrew.porter
Setting two sided off on M_Details material
#jira UE-29618
Change 3079986 on 2016/08/06 by phillip.patterson
Updated QA-Foliage for test case
#jira UE-29618
Change 3079984 on 2016/08/06 by andrew.porter
Adding test content for using sprites in UMG
#jira UE-29618
Change 3079879 on 2016/08/05 by Dmitry.Rekman
Remove HITCHHUNTER logspam from release UE (UE-30959).
#tests Compiled the UE4Editor.
#jira UE-30959
Change 3079815 on 2016/08/05 by Tyler.Cole
Set dependencies for Orion MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3079808 on 2016/08/05 by Daniel.Wright
BlueprintRenderToTarget content example map with interactable fluid surface
#jira UE-34323
Change 3079746 on 2016/08/05 by Daniel.Wright
Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
New blueprint function CreateRenderTarget2D
#jira UE-34321
Change 3079569 on 2016/08/05 by Mitchell.Wilson
Updating template tutorials after assets were moved to new folders
#jira UE-34139
Change 3079546 on 2016/08/05 by Ian.Shadden
#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6
#jira UE-34316
Change 3079542 on 2016/08/05 by Mark.Satterthwaite
Duplicate CL #3079503:
Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
#jira UE-33856
Change 3079472 on 2016/08/05 by Peter.Sauerbrei
fix for remote server name being empty stopping a build for a BP project in binary
fix for several error messages from platform requirements not stopping a build
#jira UE-34213
Change 3079453 on 2016/08/05 by Benjamin.Hyder
Updating QA_Materials to include Material Details example
#jira UE-29618
Change 3079389 on 2016/08/05 by Gareth.Martin
Missing file from CL 3079376:
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079384 on 2016/08/05 by Michael.Trepka
PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)
#jira UE-29358
Change 3079376 on 2016/08/05 by Gareth.Martin
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079365 on 2016/08/05 by Peter.Sauerbrei
fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
#jira UE-34192
Change 3079361 on 2016/08/05 by Ryan.Vance
#jira UE-34297
Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)
Change 3079349 on 2016/08/05 by Mason.Seay
Deleting unneeded assets
#jira UE-29618
Change 3079306 on 2016/08/05 by Peter.Sauerbrei
IPP is now built as a 64-bit executable
#jira UE-26393
Change 3079303 on 2016/08/05 by Peter.Sauerbrei
PR2018 - disable user input request from ssh courtesy of Teivaz
#jira UE-26393
Change 3079276 on 2016/08/05 by mason.seay
Extended Line Trace For Convenient
#jira UE-29618
Change 3079274 on 2016/08/05 by Alex.Delesky
#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.
Change 3079273 on 2016/08/05 by Max.Chen
Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.
#jira UE-34301
Change 3079254 on 2016/08/05 by Ori.Cohen
Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.
#JIRA UE-34224
Change 3079242 on 2016/08/05 by Nick.Darnell
Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.
#jira UE-34304
Change 3079129 on 2016/08/05 by Jurre.deBaare
#jira UE-34278
#fix Changed reimport path to be the same as geometry cache / skeletal mesh
Unable to reimport Alembic static meshes
#jira UE-34292
#fix Handle cancelled situation during reimport ui interaction
Cancelling the reimport of an Alembic file seems to confirm the action
#jira UE-34288
#fix Possible fix, flush rendering commands before importing
Crash when importing Alembic files as Skeletal Mesh
#jira UE-34282
#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
"Failed to Import" message when clicking Cancel on the Alembic Import Message
Change 3079127 on 2016/08/05 by Marc.Audy
Properly clean up all worlds when ending PIE while a seamless transition is active
#jira UE-33863
Change 3079107 on 2016/08/05 by Mike.Beach
Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).
#jira UE-30548
Change 3079093 on 2016/08/05 by Jurre.deBaare
Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
#fix Hide the environment and sky when showing vertex colours
#jira UE-34251
Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
#jira UE-34206
Change 3079090 on 2016/08/05 by Jurre.deBaare
Bad performance when changing (slider) values for the advanced preview scene
#fix Could not repro but added some more check if update needed checks
#jira UE-33496
Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
#fix Add the rotational delta for the sky to the directional light rotation
#jira UE-34108
Change 3079088 on 2016/08/05 by Jurre.deBaare
Alembic Cache Importer option for Hard Edge Angle Threshold does not work
#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
#jira UE-34127
Change 3079040 on 2016/08/05 by Max.Preussner
MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)
Also made class properties blueprint read-writable
#jira UE-34290
Change 3078958 on 2016/08/05 by Marc.Audy
Don't ever reregister child actor components
Don't destroy child actors when hiding a level
#jira UE-31038
Change 3078954 on 2016/08/05 by ryan.brucks
#jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL
Change 3078952 on 2016/08/05 by Phillip.Kavan
[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.
change summary:
- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.
#jira UE-34085, UE-34169
Change 3078912 on 2016/08/05 by Andrew.Rodham
Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified
#jira UE-33875
Change 3078900 on 2016/08/05 by Lauren.Ridge
Fix for small Vive HMD movements entering VR mode
#jira UE-33970
Change 3078880 on 2016/08/05 by Jack.Porter
Cannot set GenerateOverlapEvents flag on Landscape
#jira UE-9055
Change 3078879 on 2016/08/05 by Lee.Clark
PS4 - Fix corrupted debuffer decals
(CMask wasn't getting decoded correctly)
#jira UE-34273
Change 3078871 on 2016/08/05 by Steve.Robb
Fix for changes to UObject*s in property boxes.
#jira UE-29596
Change 3078857 on 2016/08/05 by Max.Chen
Sequencer: Set Fixed frame interval playback to false by default.
#jira UE-34272
Change 3078850 on 2016/08/05 by mason.seay
Updated map to test physics mesh, added comments to level BP
#jira UE-29618
Change 3078795 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixed spawnables not responding to blueprint reinstance events
This ultimately left spawnable bindings broken, and an unreachable object in the world
#jira UE-31635
Change 3078786 on 2016/08/05 by Robert.Manuszewski
Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.
#jira UE-33872
Change 3078782 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixes to "Create Camera Here" functionality
Fixed crash when undoing the "Create Camera Here" operation.
Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
Fixed issues when the cursor was outside of the play range
#jira UE-33127
Change 3078737 on 2016/08/05 by Andrew.Rodham
Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
#jira UE-34256
Change 3078722 on 2016/08/05 by Ben.Woodhouse
Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
#jira UE-34269
Change 3078620 on 2016/08/05 by Dmitriy.Dyomin
Fixed: SunTemple geometry has rendering artifacts on low end devices
[Android_Low] devices will use 'Low' material quality level
#jira UE-22455
Change 3078584 on 2016/08/05 by James.Golding
Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
#jira UE-33675
Change 3078565 on 2016/08/05 by Jack.Porter
Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.
#jira UE-33842
Change 3078564 on 2016/08/05 by James.Golding
Fix display name for bSupportUVFromHitResults to fix missingspace
#jira UE-34248
Change 3078542 on 2016/08/05 by Yannick.Lange
VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
#jira UE-32839
Change 3078541 on 2016/08/05 by Yannick.Lange
VR Editor : Fix linux compile error from VREditorAvatarActor
#jira UE-34215
Change 3078396 on 2016/08/04 by Max.Chen
Sequencer: Invalidate playback context when map changes.
#jira UE-34256
Change 3078291 on 2016/08/04 by Jeff.Campeau
RHI compress/decompress return success/failure
Failure falls back to software method
D3D12 for Xbox One still needs implementation
#jira UE-31363
Change 3078131 on 2016/08/04 by Chris.Babcock
Deal with missing Android movie framerate by defaulting to 30 if not available
#jira UE-34208
#ue4
#android
Change 3078084 on 2016/08/04 by John.Billon
Disabled AMD hacks Cvars that aren't needed anymore.
#Jira UE-30772
Change 3078083 on 2016/08/04 by John.Billon
Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
Added a couple of more ensures when allocating render targets.
Added log message when changing feature levels.
#Jira UE-32536
#Jira UE-32204
Change 3078039 on 2016/08/04 by Josh.Adams
- Fixed a case issue with Linux
#jira UE-33478
Change 3078029 on 2016/08/04 by Ryan.Vance
#jira UE-30989
We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.
Change 3078027 on 2016/08/04 by Lina.Halper
Fix sequencer morphtarget displaying issue
#code review:Max.Chen
#jira: UE-28459
Change 3078012 on 2016/08/04 by mason.seay
map and asset updates for testing UV hit detection
#jira UE-29618
Change 3078009 on 2016/08/04 by Jamie.Dale
Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading
This prevents it being incorrectly set by other operations, such as counting memory used by font data.
#jira UE-34252
Change 3078006 on 2016/08/04 by Mark.Satterthwaite
Duplicate CL #3064008 & CL #3077412:
Fix "iOS Metal-based build crashes at launch with sub-levels":
- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
- Fix validation error of texture reallocation on loading template projects under Metal.
#jira UE-30847
Change 3078002 on 2016/08/04 by John.Billon
Fixed LowLightMapQuality warning triggering with wrong conditions.
#Jira UE-33237
Change 3078001 on 2016/08/04 by John.Billon
Fixed a crash due to particle threading issues in packaged game.
#Jira UE-32147
Change 3077989 on 2016/08/04 by Rolando.Caloca
UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
#jira UE-34218
Change 3077940 on 2016/08/04 by Jeff.Campeau
Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
Include copies of the VS2015 runtime and UCRT
Change -applocaldir parameter to -applocaldirectory
Stage to engine and project binaries paths (for crash reporter, etc.)
#jira UE-33903
Change 3077936 on 2016/08/04 by Daniel.Wright
DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
#jira UE-34183
Change 3077927 on 2016/08/04 by Lina.Halper
Fix issue with morphtarget not working due to invalid guid
#jira: UE-34077
Change 3077919 on 2016/08/04 by Daniel.Wright
Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
#jira UE-34245
Change 3077877 on 2016/08/04 by Ori.Cohen
Fix physical animation undo/redo not affecting linked bodies and constraints
#JIRA UE-33987
Change 3077823 on 2016/08/04 by Ori.Cohen
Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)
#JIRA UE-33985
Change 3077814 on 2016/08/04 by Uriel.Doyon
Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
#jira UE-34120
#review-3077812
Change 3077781 on 2016/08/04 by Max.Chen
Sequencer: Fix crash in rotation key struct
#jira UE-34155
Change 3077771 on 2016/08/04 by Lina.Halper
Added const and removed auto
#jira: UE-33023
Change 3077702 on 2016/08/04 by Daniel.Wright
Copy - Planar reflection show flags can now be edited
#jira UE-34229
Change 3077585 on 2016/08/04 by Ori.Cohen
Fix spam when moving simulated skeletal mesh in the editor.
#JIRA UE-34164
Change 3077532 on 2016/08/04 by Tom.Looman
Fixed error in description of VR Template.
#jira ue-33950
Change 3077517 on 2016/08/04 by Tom.Looman
Fixed parsing error for FP_VirtualRealityBP
#jira UE-34059
Change 3077493 on 2016/08/04 by Tom.Looman
Updated Template description to remove GearVR reference and include more clear message on the two available maps.
#jira UE-33950
Change 3077492 on 2016/08/04 by Tom.Looman
Improvements to VR Template
Fixed teleportation issue on both locomotion types (JIRA)
Rebuilt navmesh for motioncontrollermap
Added new WIP startermap to clarify the difference between the multiple levels.
Added more comments and did some cleanup in BPs.
#jira UE-33962
Change 3077491 on 2016/08/04 by Jurre.deBaare
Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
#fix Pass in complete path to save material to instead of just the name
#jira UE-34211
Change 3077481 on 2016/08/04 by Tom.Looman
Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)
#jira ue-34143
Change 3077463 on 2016/08/04 by Ben.Woodhouse
Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
#jira UE-32843
Change 3077432 on 2016/08/04 by Steve.Robb
Removal of Fortnite-specific setting which disables hot reload.
#jira UE-33261
Change 3077380 on 2016/08/04 by Keith.Judge
Fix for green reflection environment in some maps.
- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
- Fixed a validation error when locking cube map faces which was causing them not to be updated.
- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
- Added a GPU/CPU sync at the same point the PS4 code does.
#jira UE-32086
Change 3077336 on 2016/08/04 by Mitchell.Wilson
removed r.Streaming.PoolSize from DefaultEngine.ini
Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
#jira UE-30941
Change 3077275 on 2016/08/04 by Phillip.Kavan
[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.
#jira UE-29903
Change 3077119 on 2016/08/04 by Marc.Audy
Use TickType All when in PIE
#jira UE-18982
Change 3077108 on 2016/08/04 by Jon.Nabozny
Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.
#jira UE-34032
Change 3077073 on 2016/08/04 by Jurre.deBaare
bBlendOverlappingNormals does not seem to have an impact for Alembic importing
#fix this wasn't being used in the normal calculation anymore so redundant
#jira UE-34204
Change 3077059 on 2016/08/04 by Robert.Manuszewski
Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).
#jira UE-34200
Change 3077024 on 2016/08/04 by Thomas.Sarkanen
Added GetResourceSize to UDataAsset
Data assets now correctly report their size.
#jira UE-28851 - Fix mem reporting of DataTables
Change 3077001 on 2016/08/04 by Andrew.Rodham
Sequencer: Fixed sequencer adding spawnables into recorded worlds twice
The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.
Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.
#jira UE-31422
Change 3076995 on 2016/08/04 by Matthew.Griffin
Fixed Shadow Variable warning
Change 3076974 on 2016/08/04 by Matthew.Griffin
Added Node to build CrashReportClient for Linux that can be used by internal game targets
Change 3076820 on 2016/08/04 by Max.Chen
Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).
#jira UE-34199
Change 3076665 on 2016/08/03 by Dan.Oconnor
Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
#jira UE-18982
Change 3076569 on 2016/08/03 by Chad.Taylor
SteamVR GetOrthoProjection implementation to fix broken console rendering in VR
#jira UE-21424
Change 3076556 on 2016/08/03 by Aaron.McLeran
#jira UE-34154 PSVR Stereo assets are spatialized as MONO
- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
- Fix is to only route audio that is mono and spatialized
- Fixed some compile errors/shadow variables
- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library
Change 3076546 on 2016/08/03 by Aaron.McLeran
#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves
Implementing 3069092 in Release-4.13
- Not all active sounds have sound classes, was causing a crash
#tests Run game with stat soundcues and not crash
Change 3076512 on 2016/08/03 by Ben.Marsh
Fix warning about UnrealTournament:true argument.
Change 3076492 on 2016/08/03 by Daniel.Wright
Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor.
#jira UE-34177
Change 3076491 on 2016/08/03 by Daniel.Wright
Marked the Forward Shading project setting as experimental for 4.13
#jira UE-34176
Change 3076490 on 2016/08/03 by Daniel.Wright
Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
#jira UE-34175
Change 3076489 on 2016/08/03 by Daniel.Wright
Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
#jira UE-34174
Change 3076485 on 2016/08/03 by Daniel.Wright
Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
#jira UE-34173
Change 3076440 on 2016/08/03 by Ryan.Vance
#jira UE-34184
Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
Adding Oculus 1.6 support.
Change 3076399 on 2016/08/03 by Nick.Darnell
Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.
#jira UE-34185
Change 3076397 on 2016/08/03 by Rolando.Caloca
UE4.13 - hlslcc -Fix for hlsl length(float)
#jira UE-32629
Change 3076337 on 2016/08/03 by mason.seay
Test assets (and map for ensure bug)
#jira UE-29618
Change 3076332 on 2016/08/03 by Peter.Sauerbrei
fix for clang build errors
#jira UE-34163
Change 3076326 on 2016/08/03 by Ryan.Vance
#jira UE-32975
Using the wrong screen position in the base pass pixel shader with ISR.
Change 3076309 on 2016/08/03 by Benjamin.Hyder
Renaming TEST-LightingFeatures to TM-LightingFeatures
#jira UE-29618
Change 3076299 on 2016/08/03 by Chad.Taylor
Fix SteamVR lag in late-update fold child renderables.
#jira UE-33928
Change 3076214 on 2016/08/03 by Mitchell.Wilson
Resaving BluperintOffice level to resolve MikkTSpace warnings.
Reimporting SM_GodRay_Plane to resolve cook warning.
#jira UE-30064
Change 3076112 on 2016/08/03 by Max.Chen
Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)
#jira UE-34167
Change 3076090 on 2016/08/03 by Marc.Audy
Fix Mac compile error
#jira UE-34163
Change 3076075 on 2016/08/03 by Jeremiah.Waldron
Fixing comments documenting attribute in deleteFiles node for UPL
#jira UE-34161
Change 3076034 on 2016/08/03 by Mitchell.Wilson
Resaving Strategy Game maps to resolve MikkTSpace warnings.
Resaving material in strategy game to resolve string asset reference warning.
#jira UE-29720
Change 3076003 on 2016/08/03 by Mitchell.Wilson
Resaving Elemental Demo levels to resolve MikkTSpace warnings.
Resaving multiple materials to resolve String asset reference warnings.
#jira UE-29679
Change 3075985 on 2016/08/03 by Jeremiah.Waldron
Fixing UPL comments misnaming the deleteFiles node
#jira UE-34161
Change 3075977 on 2016/08/03 by Maciej.Mroz
#jira UE-30473 Moving child component in child blueprint forces parent to become dirty
Duplicated from Dev-Blueprints CL 3075793
Change 3075959 on 2016/08/03 by Marc.Audy
Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
#jira UE-33921
Change 3075891 on 2016/08/03 by Chad.Taylor
SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.
#jira UE-34142
Change 3075882 on 2016/08/03 by Dan.Oconnor
Manually integrating 3073939 to address UE-19062
#jira UE-19062
Change 3075805 on 2016/08/03 by Marc.Audy
Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
#jira UE-18982
Change 3075803 on 2016/08/03 by Marc.Audy
Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
#jira UE-18982
Change 3075761 on 2016/08/03 by Max.Preussner
MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)
#jira UE-34152
Change 3075719 on 2016/08/03 by Chad.Taylor
Blocker fix for binary editor crash on incorrectly used dll
#jira UE-34142
Change 3075709 on 2016/08/03 by Jeremiah.Waldron
Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor
#android
#jira UE-34149
Change 3075695 on 2016/08/03 by Jurre.deBaare
Adding missing debug zlib dll
#jira UE-123
Change 3075641 on 2016/08/03 by Jurre.deBaare
Crash when re-importing alembic cache file several times
#fix Always create a new object when importing
#jira UE-34130
Change 3075609 on 2016/08/03 by Danny.Bouimad
#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.
Change 3075578 on 2016/08/03 by Mitchell.Wilson
Updating attenuation settings for multiple sounds in Strategy Game.
#jira UE-25828
Change 3075529 on 2016/08/03 by Trung.Le
VREditor: Fxied foliage lasso select without pressing trigger
#jira UE-33689
Change 3075502 on 2016/08/03 by Lee.Clark
Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.
#jira UE-28549
Change 3075386 on 2016/08/03 by Robert.Manuszewski
Fixing bulkdata using source data pointer as an archive instead of raw data when saving
#jira UE-34132
Change 3075384 on 2016/08/03 by mason.seay
AnimBP for crash bug
#jira UE-29618
Change 3075350 on 2016/08/03 by Max.Chen
Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.
#jira UE-30506
Change 3075327 on 2016/08/03 by Max.Chen
Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.
#jira UE-34093
Change 3075313 on 2016/08/03 by Matthew.Griffin
Tidied up hardcoded installed build includes so that they're all in one file with platform checks
Added .dll.config files to CsCompile build products if they exist
Change 3075133 on 2016/08/03 by Yannick.Lange
VREditor : Original submit in Dev-VREditor = 3064489
- Fix crash when starting VREditor and then changing levels
#jira UE-33766
Change 3075124 on 2016/08/03 by Thomas.Sarkanen
Fixed undo/redo crash when editing anim blueprint defaults
Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.
#jira UE-34024 - Crash undoing variable change in Animation Blueprint.
Change 3075101 on 2016/08/03 by Matthew.Griffin
Adding job to selectively build games in release branch
Also adding documentation and localization to overnight build
#jira UEB-688
Change 3075061 on 2016/08/03 by Yannick.Lange
VR Editor : Original submit in Dev-VREditor = 3062883
- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
- Avatar code refactor to its own actor class #jira UETOOL-812
#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812
Change 3075059 on 2016/08/03 by Allan.Bentham
Fall back to standard shadows when capsule shadows are not supported.
#jira UE-33344
Change 3075045 on 2016/08/03 by Matthew.Griffin
Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step
Change 3074693 on 2016/08/02 by Dan.Oconnor
Manually integrating 3070569 from Dev-Blueprints
#jira UE-34119
Change 3074672 on 2016/08/02 by Dan.Oconnor
Manually integrating 3061854 into 4.13 from Dev-Blueprints
#jira UE-34119
Change 3074646 on 2016/08/02 by Aaron.McLeran
#jira UE-34081 Implementing from Dev-Framework CL 3074325
Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback
- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.
- Implementing 3003851 from UT into Dev-Framework.
Change 3074630 on 2016/08/02 by Brent.Pease
UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
UE-33200 - A movie isn't played on iOS occasionally.
UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows
+ Give a more friendly error message when UHT fails with an invalid error code.
#jira UE-23846
#jira UE-33200
#jira UE-32397
Change 3074590 on 2016/08/02 by Rolando.Caloca
UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
#jira UE-33694
Change 3074588 on 2016/08/02 by Chad.Taylor
Update OpenVR SDK to v1.0.2
-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers
#jira UE-34115
Change 3074481 on 2016/08/02 by Ori.Cohen
Make sure that new physical animation data defaults to 0
#JIRA UE-33678
Change 3074395 on 2016/08/02 by Ori.Cohen
Fix duplication of physical animation profiles not duplicating data.
Also fix undo redo not working for profiles.
Fix editor not passing Duplicate change type
#JIRA UE-33987, UE-33985
Change 3074392 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.
Change 3074364 on 2016/08/02 by phillip.patterson
Re-created UMG_Optimization for Test Cases
#jira UE-29618
Change 3074346 on 2016/08/02 by Jurre.deBaare
Potential DDC warning fix, remove non-existing values
#jira UE-123
Change 3074289 on 2016/08/02 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirement
Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
#jira UEVR-13
#review-3074209 @chad.taylor @nick.whiting
Change 3074196 on 2016/08/02 by Martin.Wilson
Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)
#jira UE-23453
Change 3074177 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.
Change 3074157 on 2016/08/02 by Ben.Marsh
Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.
Change 3074132 on 2016/08/02 by Trung.Le
VREditor: Fixed brush preview present while in foliage mode and hovering at UI
#jira UE-33228
Change 3074131 on 2016/08/02 by Tom.Looman
Fix for scalability build warnings in VR Template
#jira ue-33325
Change 3074089 on 2016/08/02 by Kevin.Rushin
QAGame - Added Foliage to TestMap
#jira UE-29618
Change 3074067 on 2016/08/02 by Kevin.Rushin
QAGame- Rebuilt Lighting
#jira UE-29618
Change 3074063 on 2016/08/02 by Kevin.Rushin
QAGame - Fix up VREditor Map to have more asset variation
#jira UE-29618
Change 3074057 on 2016/08/02 by Andrew.Porter
Deleting - UMG_Optimization
#jira UE-29618
Change 3074040 on 2016/08/02 by Michael.Trepka
On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.
#jira UE-31194
Change 3074008 on 2016/08/02 by Phillip.Patterson
Renamed UMG_Invalidation to UMG_Optimization to better match test
#jira UE-29618
Change 3073988 on 2016/08/02 by Mitchell.Wilson
Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
#jira UE-32723
Change 3073966 on 2016/08/02 by Jurre.deBaare
Alembic Cache Importer option for propagating matrix transformation does not work
#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
#misc typo fix
#jira UE-34066
Change 3073953 on 2016/08/02 by Lina.Halper
Fixed static warning on null reference
#jira: UE-33923
Change 3073951 on 2016/08/02 by Lina.Halper
Fix GetRelativeTransform for negative scale
#jira: UE-33380
Change 3073896 on 2016/08/02 by Alex.Delesky
#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.
#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool
Change 3073804 on 2016/08/02 by Jamie.Dale
Fixed the detail panel trying to apply class customizations to structs
This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).
#jira UE-32623
Change 3073803 on 2016/08/02 by Jurre.deBaare
Morph target vertex mapping can be wrong with multi material caches
#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
#jira UE-34074
Change 3073788 on 2016/08/02 by Andrew.Rodham
Sequencer: Added support for montage based animation
CL#3061714 :
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
CL#3063015 :
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
CL#3068399 :
Sequencer: Changed animation tracks to allow more animation types (such as anim montages)
- APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility
#jira UE-34046
Change 3073787 on 2016/08/02 by Jurre.deBaare
Handle failed Simplygon proxy mesh generation with error message instead of hard checks
#fix Added a failed delegate along side the succesful delegate
#jira UE-31990
Change 3073786 on 2016/08/02 by Jurre.deBaare
Alembic importer crashes when not assets are generated
#fix Prevented adding nullptr values to the array (now only contains valid entries)
#jira UE-34065
Change 3073777 on 2016/08/02 by Jurre.deBaare
User is able to give a Preview Scene Profile the same name as an existing profile
#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
#jira UE-34033
Change 3073775 on 2016/08/02 by Mitchell.Wilson
Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
#jira UE-31281
Change 3073732 on 2016/08/02 by Rolando.Caloca
DR - Fix crash when enabling gpu morph targets on non SM5 platforms
#jira UE-34011
Change 3073706 on 2016/08/02 by Peter.Sauerbrei
fix for no tvOS libraries in binary release for Win64
#jira UE-34076
Change 3073671 on 2016/08/02 by Allan.Bentham
High quality mobile reflection captures are now blended in correct (linear) space.
#jira UE-33915
Change 3073663 on 2016/08/02 by Peter.Sauerbrei
fix for launch on failing for iOS in Binary
#jira UE-34014
Change 3073662 on 2016/08/02 by Lee.Clark
4.13 - PS4 - Fix Media Player Audio cutting out
#jira UE-33850
Change 3073616 on 2016/08/02 by Mark.Satterthwaite
Duplicate CL #3073584 from Dev-Platform:
Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
#jira UE-32323
Change 3073592 on 2016/08/02 by Max.Chen
Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.
#jira UE-33993
Change 3073585 on 2016/08/02 by Nick.Darnell
Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.
#jira UE-34075
Change 3073575 on 2016/08/02 by Richard.TalbotWatkin
Duplicating from Dev-Editor, CL 3057645
Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server
Change 3073542 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3072169.
A couple of changes to the BSP code:
* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.
#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume
Change 3073540 on 2016/08/02 by Matthew.Griffin
Added Package Samples script behind a trigger to package samples for QA
Removed submitter notifications from Launcher Samples nodes
Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
#jira UEB-689
Change 3073511 on 2016/08/02 by Tom.Looman
Removed object redirectors to fix build warning in VR Template
#jira ue-33325
Change 3073458 on 2016/08/02 by Jurre.deBaare
Update default preview scene ini and assets
#fix deleted old sky texture and fixed BaseEditor.ini setup
#jira UE-34063
Change 3073427 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3068585
Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
#jira UE-34062 - SplineMesh collision can be generated incorrectly
Change 3073421 on 2016/08/02 by James.Golding
Resave PSD test assets in QAGame with proper version
#jira UE-34061
Change 3073419 on 2016/08/02 by James.Golding
Rename OrientationDriver to PoseDriver
#jira UE-34015
Change 3073404 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3057895
Mesh paint bugfixes and improvements.
Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.
This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.
#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting
Change 3073380 on 2016/08/02 by Richard.TalbotWatkin
Fixed build error in unity builds.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
Change 3073343 on 2016/08/02 by Matthew.Griffin
Whitelisting PS4 and XboxOne plugins for those platforms specifically
#jira UE-33866
Change 3073338 on 2016/08/02 by Ben.Marsh
When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.
Change 3073319 on 2016/08/02 by Maciej.Mroz
#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860
Manually integrated some fixes from Dev-Blueprints
Change 3073311 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor CL 3057868
Spline component improvements, both tools and runtime:
- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
- Added a custom version for SplineComponent and provded serialization fixes.
- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending.
- Allowed an explicit loop point to be specified for closed splines.
- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
- Fixed the logic which determines whether the UCS has modified the spline curves.
- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.
#jira UETOOL-766 - Spline tool improvements
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-33669 - Crash in Dev-Editor
Change 3073242 on 2016/08/02 by James.Golding
Move physics state create/destroy delegates from BodyInstance to ActorComponent
- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
#jira UE-32768
Change 3072953 on 2016/08/01 by Uriel.Doyon
Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
#jira UE-34045
[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
bUseFocus = HMD - > DoesAppUseVRFocus ( ) ;
bHasFocus = HMD - > DoesAppHaveVRFocus ( ) ;
Copying //UE4/Release-Staging-4.13 to //UE4/Dev-Main (Source: //UE4/Release-4.13 @ 3088355)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3088355 on 2016/08/13 by Max.Preussner
Media Player Editor: Fixed Local file paths without file:// open when pressing Enter, but not when clicking Go button (UE-34643)
#jira UE-34643
Change 3088331 on 2016/08/13 by Max.Preussner
Media: Fixed Failing to load Precached Media Source (UE-34285)
#jira UE-34285
Change 3088202 on 2016/08/12 by Zabir.Hoque
Porting DX12 Fix from MS:
Update D3D12 RHI for 4.13
- Fixed compiler errors with missing RHI methods. Fixed compiler warnings where names were hidding other variables.
#jira UE-0
Change 3088149 on 2016/08/12 by Mark.Satterthwaite
Duplicate CL #3087991:
Initial AVFoundation implementation of Media Framework for Mac, iOS & tvOS.
- Slight adaptation of AppleMovieStreamer to pick up movies from inside the GameContentDir on all Apple platforms.
- Video playback occurs via AVPlayerItemVideoOutput's attached to the AVPlayerItem's output. This means gathering video samples is trivial.
- Metal texture updates occur by wrapping the texture object provided by AVF - for Mac this is simple as it can bind to the IOSurface directly, for iOS/tvOS we have to create a CVMetalTextureCache and allocate our texture from there.
- OpenGL and OpenGLES currently have to lock the pixel buffer and upload to a texture the old fashioned way - this should be revisited when there is time.
- Subtitles/Captions are captured using AVPlayerItemLegibleOutput which also connects to the AVPlayerItem's output.
- On Mac audio samples are returned by manually reading from the stream using an AVAssetReaderTrackOutput, including manual seeking and synching.
- On iOS/tvOS the audio is played directly by AVPlayer because the IOSAudio system can't handle procedural buffers - otherwise it could reuse the Mac code.
- AVFoundation does not support AVI - that's an obsolete Microsoft/Windows file-format.
- Only 'file://' URLs are supported - streaming would require a totally different audio solution (using MTAudioProcessingTap) and has many more edge and failure cases that would need to be handled.
#jira UE-34315
Change 3088131 on 2016/08/12 by Chris.Babcock
Fix iterative deploy for new ADB
#jira UE-34638
#ue4
#android
Change 3088106 on 2016/08/12 by Dan.Oconnor
Make check less strict, PinIds are only unique within a single node, unfortunately, hence why we use both an OwningNode and a PinId when resolving references
#jira UE-34564
Change 3088099 on 2016/08/12 by Zabir.Hoque
Move end of frame resource clean up to end of viewport rendering, since EndFrame calls were not consistently coming in when movie was playing but asset loading was done.
#Jira UE-27026
Change 3088072 on 2016/08/12 by Max.Chen
Sequencer: Level editor camera cut flag is now a one way gate
This resolves issues to do with the flag being erroneously reset by external forces.
#jira UE-33875
Change 3088031 on 2016/08/12 by Jeff.Campeau
Fix WinXP build issues in WmfMedia and SteamVR plugins.
#jira UE-32421
Change 3088025 on 2016/08/12 by Tom.Looman
Updated VR Template with new VR device ID blueprint node.
#jira ue-34592
Change 3088023 on 2016/08/12 by Tom.Looman
Added PS Move input handling support to VR Template.
#jira UE-34188
Change 3087989 on 2016/08/12 by Michael.Trepka
Restored the code that's staging custom icons for Mac, which was accidentally removed when we switched to use build receipts.
#jira UE-34581
Change 3087907 on 2016/08/12 by mason.seay
New test assets for sub instance testing
#jira UE-29618
Change 3087812 on 2016/08/12 by Maciej.Mroz
#jira UE-34247 Nativized UMG assets not visible
Redone cl#3087726 from Dev-Blueprints
Change 3087810 on 2016/08/12 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : sceHmdReprojectionSetOutputMinColor
Exposed sceHmdReprojectionSetOutputMinColor to blueprint via Morpheus Function Library.
Allows one to set the minimum output color from reprojection processing. Can be used to mitigate certain artifacts (dark smearing, reprojection edges). See Sony documentation for more information. This setting does persist across switches out of vr mode and hmd disconnection, but it has no effect out of vr modes.
#review-3087760 @nick.whiting
#jira UEVR-13
Change 3087795 on 2016/08/12 by Mitchell.Wilson
Added project thumbnail to subway sequencer.
Added thumbnails to subway sequencer levels.
Re-saved multiple files to resolve empty engine version and nodeguid warnings.
#jira UE-34521 UE-34519
Change 3087730 on 2016/08/12 by Michael.Trepka
Made bGeneratedSYMFile true by default and changed some ifs in Mac UBT code so that non-debug configs always build dSYM files on Mac, unless bGeneratedSYMFile is set to false in BuildConfiguration.xml
#jira UE-34548
Change 3087699 on 2016/08/12 by Jeff.Campeau
Make resource generation fault tolerant of unset config values.
#jira UE-34614
Change 3087690 on 2016/08/12 by Mitchell.Wilson
Added a thumbnail for the BlueprintRenderToTarget level.
#jira UE-34544
Change 3087688 on 2016/08/12 by Marc.Audy
Fix headshot crash when tearing down physics when not registered
#jira UE-32935
Change 3087615 on 2016/08/12 by Ben.Woodhouse
Fix for crash in shadowsetup when frustum is invalid
#jira UE-33014
Change 3087607 on 2016/08/12 by Max.Chen
Sequencer: Fix Import/Export FBX
- Import FBX now maps arbitrary float properties as well as the transform
- Import/Export FBX now consistently operates on selected nodes or all nodes
- Fixed exported node names so that they're consistent with Sequencer node names
#jira UETOOL-534
Change 3087586 on 2016/08/12 by Chris.Babcock
Add HUAWEI_Mali device model recognition for Vulkan
#jira UE-34610
#ue4
#android
Change 3087529 on 2016/08/12 by Jurre.deBaare
Fix for crash when start index != 0 and sampling at a different rate
#jira UE-34637
Change 3087519 on 2016/08/12 by Ben.Marsh
Pass the -ignorejunk flag on to child UBT instance when running a clean.
Change 3087455 on 2016/08/12 by Jurre.deBaare
Alembic importer plugin needs proper logo
#fix Replaced icon with inverted official Alembic logo
#jira UE-34474
Change 3087360 on 2016/08/12 by Ben.Marsh
Print out the UBT command line before running it, to help diagnose -ignorejunk problem.
Change 3087285 on 2016/08/12 by Lina.Halper
- Add which animation it fails to compress
- Make sure it doesn't go in there unless you have skeleton
#jira: UE-34490
Change 3087237 on 2016/08/12 by Alex.Delesky
#jira UE-34453 - Fixed an issue where a cast to find specific thumbnail scene info was being erroneously applied to the skeletal mesh thumbnail scene instead of the material thumbnail scene.
Change 3087215 on 2016/08/12 by danny.bouimad
#jira UE-29618 updated QA-AnimProfiles again...
Change 3087212 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated TM-PhysicalAnimProfiles again
Change 3087200 on 2016/08/12 by Robert.Manuszewski
Fix for potential deadlock when a worker thread crashes caused by critical section lock in FOutputDeviceRedirector. The engine will no longer attempt to flush log messages in CheckRenderingThreadHealth if a critical error has already occured. Crash handlers flush log anyway.
#jira UE-34373
Change 3087188 on 2016/08/12 by Matthew.Griffin
Added SignExecutables Option to installed build script, which defaults to false and means most people won't have to pass -nosign anymore
Added HostPlatformsOnly Option to installed build script as a way to easily make a build with only your current platform, without having to disable every other platform manually
Change 3087160 on 2016/08/12 by Ben.Marsh
Propagate the -ignorejunk option when we're building UHT as a child process in UBT.
Change 3087148 on 2016/08/12 by Ben.Marsh
Fix sample build failure due to intermediate headers being deleted from engine folder. Some modules only have *private* UObject classes which aren't included in the editor zip. UBT detects that there are no longer and UObject classes and deletes the intermediate folder, causing BuildGraph to fail when it detects the change.
Change 3087143 on 2016/08/12 by Danny.Bouimad
#jira UE-29618 updated QA-AnimProfiles and SK_Mannequin_PhysAssetTest to include constaint profiles for switching, removed old map in wrong folder.
Change 3087140 on 2016/08/12 by Steve.Robb
GitHub 2256 : Update UnrealCodeAnalyzer.Build.cs
I have no evidence that this actually fixes anything, but it doesn't harm anything to add it...
#jira UE-29286
Change 3087139 on 2016/08/12 by Steve.Robb
Failed link actions during a hot reload now output a 'failed.hotreload' file in the destination folder to indicate that another link attempt is needed.
This is because we can't distinguish between a successful compile with a failed link action, and a compile with no changes which requires no new module.
#jira UE-31575
Change 3087107 on 2016/08/12 by Jurre.deBaare
Alembic Import with empty first frame will cause the editor to crash
#jira UE-34515
#fix Reject empty or invalid frames and remove them from the object, output messages are generated for such frames/objects
#misc added a static const value indicating the first frame instead of hardcoded 0 array accesors
#misc check condition fix in Runnable
#misc log now adds new page named after the imported Alembic file
Change 3087079 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Corrupted level package on loading cooked content
#jira UE-34591
Change 3087063 on 2016/08/12 by James.Cobbett
#jira UE-29618 Submitting test assets for Alembic Importer
Change 3087048 on 2016/08/12 by Matthew.Griffin
Changed Launcher Samples to create aggregate from property to avoid error in preflights
Only notify about Launcher Samples trigger in non-preflight builds
Change 3086985 on 2016/08/12 by Maciej.Mroz
#jira UE-34372 [CrashReport] UE4Editor_CoreUObject!StaticAllocateObject() [uobjectglobals.cpp:2102]
Redone cl#3083825 from Dev-Blueprints
Change 3086960 on 2016/08/12 by Matthew.Griffin
Prevent Build DDC command from making DDC for platforms that aren't supported by project
#jira UEB-698
Change 3086945 on 2016/08/12 by Dmitriy.Dyomin
Fixed: Sub-level layers do not show up in Layers tab when loaded as a part of world composition
#jira UE-18291
Change 3086904 on 2016/08/11 by Lina.Halper
Reverting the ensure as raw curve track != compressed because it doesn't go to compressed if the value doesn't have anything more than >0.f
#jira: UE-34570
Change 3086891 on 2016/08/11 by Lina.Halper
DUPEFIX: CL 3086544 from Michael Noland
Paper2D: Fixed a crash when mutating grouped sprite components at runtime, and cleaned up how collision rendering is done for grouped sprite components addressing some other issues as well
#jira UE-34223
#tests (from Michael N) Tested with repro project from JIRA, as well as adding/removing instances in the editor and with some sprites in the group having collision and others not, clearing collision on the component itself, etc...
#tests (from Lina H) started the test project from JIRA and PIE, and no crash.
Change 3086837 on 2016/08/11 by Nick.Whiting
Modifying IsInGameThread() checks in Oculus positional tracking code to be !IsInActualRenderingThread(). This allows skel controls to use orientation and position with parallel animation
#jira UE-32564
Change 3086797 on 2016/08/11 by Dmitry.Rekman
Linux: fix crash on editor exit (UE-30795, UE-7519).
- FText (stored in ZoomLevels static array) was being destructed during the global destructor phase, and it cannot do that.
#jira UE-30795
Change 3086735 on 2016/08/11 by Richard.TalbotWatkin
Fixed crash due to entries in the BlueprintCreatedComponents list not being present in the OwnerComponents list in RerunConstructionScript following an Undo. Handled this case explicitly now.
#jira UE-34265 - Undo, Redo, Undoing a blueprint actor Replace action causes a crash
Change 3086726 on 2016/08/11 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements : 2DVR
2DVR is a way to show a static image on PlayStation VR temporarily, for example as a loading screen.
-Implemented 2DVR reprojection mode, exposed Show2DVRSplashScreen and Hide2DVRSplashScreen to blueprint through a new MorpheusFunctionLibrary.
#jira UEVR-13
#review-3086004 @chad.taylor @nick.whiting
Change 3086652 on 2016/08/11 by Dmitry.Rekman
Linux: re-enable ICU (UE-34012).
- Built static libs against libc++; disabled using dynamic ones.
- Fixes lack of rich text formatting.
#jira UE-34012
Change 3086648 on 2016/08/11 by Nick.Whiting
Adding support for getting the HMD Device name from code / blueprints
#jira UE-31785
Change 3086589 on 2016/08/11 by Chad.Taylor
Fixing Vive resolution on packaged builds
#jira UE-34535
Change 3086568 on 2016/08/11 by Matt.Kuhlenschmidt
Fix skeletal mesh LODs not being imported correctly. All meshes were imported to the base LOD instead.
#jira UE-34397
Change 3086529 on 2016/08/11 by Marc.Audy
Don't build UE4Game against shipping physx/apex libs causing module mismatches for binary code projects linked against profile libs (which is the default)
#jira UE-34287
Change 3086376 on 2016/08/11 by Peter.Sauerbrei
remove cached file handle from iOS and Android to save memory during loads
#jira UE-31720
Change 3086369 on 2016/08/11 by Matt.Kuhlenschmidt
Guard against crash with corrupted editor layouts
#jira UE-34364
Change 3086345 on 2016/08/11 by Dan.Oconnor
ULevel::Actors is now a TArray instead of a TTransArray. It has been misusing TTransArray for years (by both serializing individual elements and the entire array, TTransArray logic in EditorTransaction.cpp appears to be completely rotten, broken for a very long time)
#jira UE-34380
Change 3086272 on 2016/08/11 by Cody.Albert
Updating First Person templates to fix cook errors
#jira UE-22726
Change 3086259 on 2016/08/11 by Nick.Whiting
Added a project setting bStartInVR, which allows projects to specify that they want to default to starting in VR mode, regardless of whether the -vr commandline is used
#jira UE-31617
Change 3086202 on 2016/08/11 by Marcus.Wassmer
Duplicate 3086176 to fix broken shaderpipelines on PS4
#jira UE-34540
Change 3086080 on 2016/08/11 by mason.seay
Test animbp for sub anim instances
#jira UE-29618
Change 3086062 on 2016/08/11 by Tom.Looman
Migrate from //depot/usr/ into Release-4.13 for VR Template.
#jira ue-34533
Change 3086032 on 2016/08/11 by Mike.Beach
Bolstering FSceneComponentDetails::MakeTransformDetails()'s null handling (there was one conditional that was missing it).
#jira UE-34350
Change 3086025 on 2016/08/11 by Olaf.Piesche
#jira UE-32058
Replicating fix from 3050352
Change 3085969 on 2016/08/11 by John.Pollard
CIS fix
#jira UE-30516
Change 3085819 on 2016/08/11 by Jurre.deBaare
bForceOneSmoothingGroup not working for skeletal meshes
#fix Added check for forced smoothing group and calculate normals accordingly
#misc Spotted some non-referenced const TArrays being passed to CalculateTangents
#jira UE-34555
Change 3085799 on 2016/08/11 by Ben.Marsh
Pass the -ignorejunk option to UBT when generating code documentation. Since the UE_SDKS_ROOT environment variable is removed (because we don't want documentation for confidential platforms), UBT was deleting Linux target platform DLLs and causing an error when generating blueprint documentation when the files were missing.
Change 3085763 on 2016/08/11 by Daniel.Lamb
Fix for circular initialization of a singleton on android causing hang when using cook on the fly.
#jira UE-34442
Change 3085717 on 2016/08/11 by Dmitry.Rekman
Linux: better messaging around Steam initialization (UE-32052).
- Also added a standalone test.
#jira UE-32052
Change 3085715 on 2016/08/11 by Chris.Bunner
Dropped check to an ensure as there's existing handling for invalid assets in that case.
#jira UE-23902
Change 3085714 on 2016/08/11 by Olaf.Piesche
#jira UE-30398
Fix offset added to particle collision locations.
Replicated from 3084645 in Dev-Rendering
Change 3085713 on 2016/08/11 by Chris.Babcock
Allocate OptionalShadowDepthColorSurface to match DepthStencil dimensions (allow up to 4 resolutions for now)
#jira UE-33840
#ue4
#android
#ios
#opengl
Change 3085711 on 2016/08/11 by Olaf.Piesche
#jira UE-34106
#jira UE-32784
#jira UE-31198
Reset vertex factories on mesh emitters if mesh has been reimported (if mesh package is dirty)
Replicated from 3083909 in Dev-Rendering
Change 3085707 on 2016/08/11 by Matthew.Griffin
Duplicated CL#3081374 from Dev-Build and another fix to the SlateTextureAtlasInterface issue
Change 3085656 on 2016/08/11 by Marc.Audy
PR#2620. Make sure the component has its position updated before using it to spawn the child actor (Contributed by pampersrocker)
#jira UE-32418
#jira UE-33617
Change 3085641 on 2016/08/11 by Lina.Halper
Fixed invalid compressed track data
- need a better solution and added ticket for 4.14 - UE-34547
#jira: UE-34077
Change 3085606 on 2016/08/11 by Max.Preussner
Media: Attempt to fix Crash after Clearing Sound Wave Asset and Deleting Media Player from Content Browser (UE-34381)
#jira UE-34381
Change 3085568 on 2016/08/11 by Maciej.Mroz
#jira UE-34436 Ensures when copy/pasting linked anim bp nodes
FGraphObjectTextFactory doesn't call compilation (it is called later by FBlueprintEditor::PasteNodesHere, when all nodes are pasted). CallFunction can be pasted even when it's function doesn't exist. The function could be created from a CustomEvent node, that was also pasted (so it wasn't compiled yet).
Change 3085532 on 2016/08/11 by Peter.Sauerbrei
fix for remote tool chain build issues with items not being built because they were already there and up to date, but are then deleted by the file sync because they are missing on the PC
#jira UE-30335
Change 3085528 on 2016/08/11 by Max.Chen
Sequence Recorder: Fix crash when actor class to record is null.
#jira UE-34543
Change 3085418 on 2016/08/11 by Maciej.Mroz
#jira UE-33883 Packaging with Nativize Blueprint Assets Causes Uninitialized Defaults
Redone cl#3084313 from Dev-Blueprints
Change 3085395 on 2016/08/11 by John.Pollard
Don't allow hot-reloading if we're running PIE instances
#jira UE-30516
Change 3085377 on 2016/08/11 by Tom.Looman
Added StarterMap (WIP) to resolve JIRA.
#jira ue-34311
Change 3085364 on 2016/08/11 by Ben.Woodhouse
Remove the Shadows of Editor-Hidden Objects showflag. This feature hasn't worked for a long time, and making it work again would add additional complexity and performance overhead which we don't want to incur.
#jira UE-28561
Change 3085341 on 2016/08/11 by Dmitriy.Dyomin
Fixed: Creating Launcher Profile does not always shows all project available maps
#jira UE-33765
Change 3085336 on 2016/08/11 by Andrew.Rodham
Sequencer: Runtime instances are no longer updated when bluprints are recompiled
This code was not actually necessary to fix UE-31635 since we explicitly update the object binding from the level sequence editor spawn register
#jira UE-34499
Change 3085332 on 2016/08/11 by Dmitriy.Dyomin
Fixed: UInstancedStaticMeshComponent does not keep its instances on duplication
#jira UE-26868
Change 3085331 on 2016/08/11 by Ben.Woodhouse
Fix for threading related crash with precomputed lighting volumes
#jira UE-34531
Change 3085323 on 2016/08/11 by Allan.Bentham
Remove android specific vulkan hack to recreate depth buffer's imageview.
#jira UE-33593
#jira UE-33336
Change 3085313 on 2016/08/11 by Thomas.Sarkanen
StopRecordingAnimation now uses the same maing logic as RecordAnimation
This prevents inconsisten behaviour between record and stop record commands
#jira UE-34498 - User is not able to use StopRecordingAnimation command on a single actor
Change 3085301 on 2016/08/11 by Allan.Bentham
Only allow gaussian DoF on mobile. Disable DoF for all other types.
#jira UE-34217
Change 3085292 on 2016/08/11 by Thomas.Sarkanen
Revert change to force shipping dlls in shipping builds
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3085291 on 2016/08/11 by Matthew.Griffin
Added nodes for Linux Editor, DDC and installed build
Changed existing Linux nodes to use host platform version of UHT and removed unnecessary tagging of UHT products
Change 3084973 on 2016/08/10 by Jeff.Campeau
Use relative settings for ShooterGame manifest
Package creation checks Xbox One target settings in Engine instead of Game config
#jira UE-33808
Change 3084932 on 2016/08/10 by patrickr.donovan
#jira UE-29618
SteamVR related test content updates- QA_SteamMoCo -> MotionController Components, fixing up button presses, reworking bounds drawing.
Change 3084886 on 2016/08/10 by Daniel.Wright
Reverted cl 2938543 "Lightmass now respects owner bHidden, and bCastHiddenShadow" because it did not have backwards compatibility so breaks content using hidden light cards
#jira UE-33238
Change 3084878 on 2016/08/10 by Jeff.Campeau
UFE launch command is generated with all devices requested instead of just the first.
#jira UE-34302
Change 3084860 on 2016/08/10 by Dmitry.Rekman
Fix CrashReportClient crashing on start (UE-32976, UE-34451).
- Add spaces around -abslog=foo.log parameter to prevent unrelated parameters being concatenated (and missed) sometimes.
#jira UE-32976
Change 3084756 on 2016/08/10 by Dmitry.Rekman
Linux: clean-up compiler settings logic (UE-22715).
- Includes parts of pull request #1704 by zaps166.
- Disables exceptions in most builds.
#jira UE-22715
Change 3084679 on 2016/08/10 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3084475
Fixed issue with ModelComponent replication in client/server PIE if BSP is rebuilt. ModelComponent now implements IsNameStableForNetworking and always returns true, as a level's model components will never be rebuilt during a game session. Brush poly normals are now only fixed up in Editor builds.
#jira UE-34391 - No run animation on client that is not focused when running 2 player and dedicated server
Change 3084614 on 2016/08/10 by Daniel.Wright
Scene capture alpha is now inverted to match DrawMaterialToRenderTarget, and to allow compositing with existing render target contents
Added CompositeMode to SceneCapture2D, which can be used to addively accumulate or composite instead of the default overwrite behavior
Added bCaptureOnMovement to SceneCapture, which can be disabled so the only source of scene capturing is a manual capture by calling CaptureScene()
#jira UE-34321
Change 3084607 on 2016/08/10 by Jeremiah.Waldron
Adding AlreadyOwned to EInAppPurchaseState and utilizing this enumeration for GooglePlay IAP
Also changing IOS store to return AlreadyOwned when SKErrorClientInvalid is received. This seems to be the correct behavior according to: http://stackoverflow.com/questions/8833970/when-does-skerrorclientinvalid-occur
Relates to:
#jira UE-34283
Change 3084586 on 2016/08/10 by Jeff.Campeau
Chunks don't assume they're done downloading at 100%.
#jira UE-34386
Change 3084552 on 2016/08/10 by Lina.Halper
Fix GetWorldFromContextObject to be used for another thread safer
: Guard to modify static variabls by another thread
#jira: UE-34416
Change 3084551 on 2016/08/10 by Mitchell.Wilson
Changed AutoPossessPlayer to Disabled in ThirdPersonCharacter BP
Changed AutoPossessPlayer to Player0 on the ThirdPersonCharacter Instance in the level.
#jira UE-32855
Change 3084535 on 2016/08/10 by Mike.Beach
Fix to MathExpression node - recent modifications caused subte changes in behavior (now back in line with how it worked before). Identifiers (variable names) are back to allowing numerical characters, and we properly detect the terminating 0 at the end of a name/string. Also, reserving symbols that currently aren't operators (as they used to be) so users don't start including them in identifier names.
#jira UE-34378
Change 3084526 on 2016/08/10 by Jeff.Campeau
Update XDK to August 2016
#jira UEPLAT-1374
Change 3084471 on 2016/08/10 by John.Pollard
Fix UE-34295: [CrashReport] Crash opening project on network drive - VCRUNTIME140!<Unknown>
#jira UE-34295
Change 3084363 on 2016/08/10 by Marc.Audy
Make stat soundcues/waves work correctly when spinning up new audio devices and switching focused viewport
#jira UE-34101
Change 3084231 on 2016/08/10 by Michael.Trepka
Fixed a problem with the search box in blueprint context menu not getting focus on Mac
#jira UE-20884
Change 3084229 on 2016/08/10 by Dmitry.Rekman
Linux: remove hardcoded staged files (UE-24594).
#jira UE-24594
Change 3084215 on 2016/08/10 by Chris.Bunner
Moved StationaryLightOverlap vis mode drawing to later in the frame to avoid translucency in the view.
#jira UE-31936
Change 3084052 on 2016/08/10 by Jurre.deBaare
Alembic skeletal mesh importer does not calculate correct smoothing groups
#fix follow same routine as regular smoothing group/normal calculation
#jira UE-34493
Change 3084029 on 2016/08/10 by Phillip.Kavan
[UE-34458] Fix a crash that can occur while instancing an uncompiled Blueprint class with a modified array property in the native parent class default object.
Mirrored from //UE4/Dev-Blueprints (CL# 3082839).
#jira UE-34458
Change 3084027 on 2016/08/10 by Ben.Woodhouse
Fix for crash when applying BSP materials
This was caused by the renderthread dereferencing a reference to a ModelElement object which had previously been destroyed on the game thread.
The reference to the ModelElement was solely used to dereference the irrelevant light GUIDs. The fix involves removing the reference and keeping a local copy of this array which is owned by the proxy. This is consistent with other proxies, e.g. Landscape, StaticMesh.
#jira UE-31460
Change 3083981 on 2016/08/10 by Matthew.Griffin
Set Localization branch for Localise command to release version when running in the Release Branch
#jira UE-34471
Change 3083970 on 2016/08/10 by Max.Preussner
PS4Media: Fixed Media player does not play the 2nd item in the playlist on PS4 (UE-33481)
#jira UE-33481
Change 3083918 on 2016/08/10 by Matthew.Griffin
Exclude UBT generated files from the installed build
Change 3083910 on 2016/08/10 by Matt.Kuhlenschmidt
Fix crash using "Use Selected asset from Content Browser" for font materials when the selected asset is not a material
#jira UE-34360
Change 3083890 on 2016/08/10 by Matthew.Griffin
Converted Launcher Samples to a full list of sample nodes with individual cook platform settings. Changed unzip nodes to only rely on the produced zip files so that it doesn't copy anything from Temp Storage.
Changed BuildLauncherSample command to take the root publish dir and build label so that it can create paths and do copies. Also removed code checking whether monolithic platforms are specified for the project.
#jira UE-34401
Change 3083873 on 2016/08/10 by Dmitry.Rekman
CMakefileGenerator: Fix compilation on .NET 4.0 and below (UE-34478).
#jira UE-34478
Change 3083862 on 2016/08/10 by Mitchell.Wilson
Rebuilt lighting on Advanced_Lighting level in Samples Content
#jira UE-34383
Change 3083792 on 2016/08/10 by Benn.Gallagher
PR #2671: Fix sub instance curve values. (Contributed by tmiv)
PR #2668: Sub inst post anim fix (Contributed by tmiv)
#jira UE-34162
#jira UE-34121
Change 3083775 on 2016/08/10 by Kevin.Rushin
QAGame - Updating VRLatency Testmap, Can freelook
#jira UE-29618
Change 3083771 on 2016/08/10 by Robert.Manuszewski
Don't attempt to construct CDOs when assembling GC token stream while exiting as a result of an error in PreInit.
#jira UE-34371
Change 3083742 on 2016/08/10 by Lee.Clark
4.13 - PS4 - Fix memory allocation sizes
#jira UE-33270
Change 3083732 on 2016/08/10 by Ben.Marsh
Fix all nodes being exported to JSON file for builder configuration, rather than just those behind the current trigger.
Change 3083690 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Foliage instances are not included when exporting a scene to FBX
#jira UE-34214
Change 3083654 on 2016/08/10 by Keith.Judge
Fix analysis warnings. Simple change from Release() to SAFE_RELEASE().
#jira UE-23059
Change 3083646 on 2016/08/10 by Thomas.Sarkanen
Use shipping PhysX libs for installed builds
Copy fix from UE4Game.Target.cs to apply to all packaged games
#jira UE-34287 - Crash when opening a packaged code project for Win64 in shipping configuration
Change 3083527 on 2016/08/10 by Dmitriy.Dyomin
Fixed: Warning upon Undo/redo-ing of sculpting the landscape
#jira UE-34443
Change 3083502 on 2016/08/10 by Dmitriy.Dyomin
Fixed: World Composition origin shifting does not account for shifting the Dynamic Directional Light shadow casting
#jira UE-34417
Change 3083349 on 2016/08/09 by Daniel.Wright
Clamped roughness for simple lights to avoid NaNs from D_GGX with a very narrow roughness range including 0.00316, but not 0
#jira UE-31181
Change 3083167 on 2016/08/09 by Chad.Taylor
Null deref crash fix
#jira UE-33830
Change 3083144 on 2016/08/09 by Zabir.Hoque
Removed bDeviceRemoved flag from RHI and issue erroring hault right away. This allows finding the error reason much closer to the callsite.
#jira UE-32980
Change 3083136 on 2016/08/09 by Chad.Taylor
Stripping out egregious log spam
#jira UE-34181
Change 3083116 on 2016/08/09 by John.Billon
Defaulting r.D3D.RemoveUnusedInterpolators to on.
#Jira UE-34461
Change 3083114 on 2016/08/09 by John.Billon
Fixing static analysis warning in NullRHI.
#Jira UE-34462
Change 3083070 on 2016/08/09 by Dmitry.Rekman
PR #2516: CMake improvements and fixes (UE-22233, UE-32136).
- Contributed by Nihlus.
- Contains PR #1668 by mgerhardy
Summary of changes (from PR):
- Fixed an issue where CMake build files would contain invalid targets
- Fixed an issue where CMake build files would generate without code completion data, making them useless in IDEs such as CLion.
- Fixed an issue where invalid target platforms could fall through and cause issues with the file generation.
- Improved code readability throughout the generator. Can still use some more polish.
- Improved CMakeFile generation performance by approximately 25%. Before this patch, generating a CMakeFiles.txt for a small-ish project took 20s - by replacing most string concatenation with StringBuilders, it now takes approximately 15s. This should be more apparent in larger projects.
- Improved commenting throughout the generator. As with readability, can still use some more polish.
- Removed unused using statements.
- Added the inclusion of a fake executable target to the CMake files. Some IDEs do not recognize header files that are not part of either an executable or a library. While this target will not build, it is neccesary in CLion.
- Replaced all instances of String.Format with string interpolation expressions from C#6. This greatly improves readability, and helped me catch some bugs with the build targets.
#jira UE-22233
Change 3082999 on 2016/08/09 by Jeremiah.Waldron
Actually checking the consumePurchase response in the GooglePlayStoreHelper for purchases
#jira UE-34457
Change 3082993 on 2016/08/09 by mason.seay
Fixed level BP error and updated Reverb asset
#jira UE-29618
Change 3082981 on 2016/08/09 by Peter.Sauerbrei
disable roughness calculation for iOS metal
#jira UE-31815
Change 3082912 on 2016/08/09 by Chris.Babcock
Use FMallocAnsi instead of FMallocBinned on Android ARM64 for now
#jira UE-34432
#ue4
#android
Change 3082875 on 2016/08/09 by Chris.Bunner
Lowered verbosity of mesh build warning when using MikkTSpace.
#jira UE-23903
Change 3082867 on 2016/08/09 by Trung.Le
VREditor: Foliage reapply tool shouldn't auto reapply brush settings without trigger presses
#jira UE-34227
Change 3082818 on 2016/08/09 by Mike.Beach
Backing out CL 3081020, as it was causing issues with duplicated Blueprint actors (triggering an assert).
#jira UE-34430
Change 3082794 on 2016/08/09 by Lukasz.Furman
fixed gameplay debugger extensions activating during simulate in editor
#jira UE-33343
Change 3082760 on 2016/08/09 by Jamie.Dale
Scene viewports are now centered when re-entering windowed mode
#jira UE-32842
Change 3082744 on 2016/08/09 by Mitchell.Wilson
Resaving assets to resolve empty engine version warnings.
#jira UE-29746
Change 3082728 on 2016/08/09 by Ben.Marsh
BuildGraph: Use separate arguments to indicate that a trigger should be skipped entirely and its nodes should be executed as part of the parent trigger (-skiptrigger=X+Y, -skiptriggers) versus when we want to execute ONLY nodes behind a certain trigger. Fixes cases where triggering sample builds before the parent job finishes would attempt to execute the remaining nodes belonging to the parent trigger.
#jira UE-34329
Change 3082686 on 2016/08/09 by Marc.Audy
If the GameMode is not carried over as part of a seamless travel create it.
#jira UE-25569
Change 3082663 on 2016/08/09 by John.Billon
Fixed SubUVAnimation asset crash when texture source is cleared.
#Jira UE-34231
Change 3082650 on 2016/08/09 by John.Billon
Changed an ensure the NullRHI dealing with memory allocation to be a log message.
#Jira UE-32362
Change 3082644 on 2016/08/09 by Maciej.Mroz
#jira UE-34240 Match 3 nativization failure
Redone cl3082121 from Dev-Blueprints
Change 3082633 on 2016/08/09 by Maciej.Mroz
#jira UE-34374 [CrashReport] UE4Editor_Engine!UEdGraphNode::GetGraph() [edgraphnode.cpp:172]
Redone cl3082414 from Dev-Blueprints
Change 3082606 on 2016/08/09 by Michael.Trepka
Changed OuputGamutMappingMatrix in TonemapCommon.usf so it doesn't create a temporary variable to work around a bug in Intel's Mac OpenGL shader compiler.
#jira UE-34276
Change 3082579 on 2016/08/09 by Benn.Gallagher
CIS fix, missed removing a few #ifs
#jira UE-29180
Change 3082525 on 2016/08/09 by Tom.Looman
Removed Android from supported platforms in VR Template.
#jira UE-34189
Change 3082523 on 2016/08/09 by Tom.Looman
Improved HMDLocomotionPawn teleportation (UX of location and material reability/behavior)
Fixed typo in level text.
#JIRA UE-34422
Change 3082504 on 2016/08/09 by Jurre.deBaare
Crash importing alembic asset over itself after saving it in Content Browser
#fix Trivial nullptr + isValid fix
#jira UE-34418
Change 3082433 on 2016/08/09 by Tom.Looman
Updated list of supported platforms.
#jira UE-34189
Change 3082423 on 2016/08/09 by Mitchell.Wilson
Resaving levels to resolve MikkTSpace warnings
Updating collision on SM_Floor_Round
#jira UE-30786
Change 3082361 on 2016/08/09 by Keith.Judge
Xbox One - Fix a controller disconnection crash.
- This would only reproduce in VS2015 Update 3, and only when the controller is connected right from the start, not when a pad is plugged in later, so it seems copying the array of ^ pointers wasn't incrementing the refcounts correctly and causing things to be deleted too early.
- Changed it to copy each connected pad object one at a time, which maintains the correct refcount.
- Possibly a VS2015 Update 3 bug.
#jira UE-33955
Change 3082341 on 2016/08/09 by Mitchell.Wilson
Reimporting SM_GodRay_Plane
Resaving levels to resolve MikkTSpace warnings
Resaving multiple materials to resolve warnings
#jira UE-34212
Change 3082313 on 2016/08/09 by Matthew.Griffin
Only append BuildLabel to the publish dir if it's been set to something (end up with bad path for local build)
Change 3082294 on 2016/08/09 by Jurre.deBaare
Crash when importing an Alembic file with Materials as a different asset type than one that already exists
#fix Ensure that we have a valid material to assign to the assets
#jira UE-34377
Change 3082291 on 2016/08/09 by Jurre.deBaare
Unable to save Alembic asset with materials after importing more than once
#fix Make sure we delete referenced transient materials if they are not used
#jira UE-34400
Change 3082290 on 2016/08/09 by Jurre.deBaare
Crash importing abc file as Geometry Cache over another used in level with World Normal view mode on
#fix Make sure we always update the GeometryCacheComponents, will change this set-up in 4.14
#jira UE-34392
Change 3082274 on 2016/08/09 by Benn.Gallagher
Moved FABRIK debug draw out of the native node into the graph node. It will no longer draw in-game, only in Persona previews. Debug drawing is not supported outside of the game thread currently so we can't do it in EvaluateBoneTransforms.
#jira UE-29780
Change 3082273 on 2016/08/09 by Benn.Gallagher
Improved anim dynamics chain handling with LODs, now a chain will continue to simulate any bodies that can be reached from the root body instead of disabling the whole chain
#jira UE-30827
Change 3082270 on 2016/08/09 by Benn.Gallagher
Moved source indices for active transitions out of editor only so we can identify them at runtime. This allows the transition ratio anim getter function to get the correct elapsed time instead of trying to infer it which is incorrect when the transition is interuppted.
#jira UE-29180
Change 3082257 on 2016/08/09 by Jurre.deBaare
Auto align floor mesh does not work in Persona
#fix Readded functionality for the auto alignment :)
#jira UE-34404
Change 3082239 on 2016/08/09 by Peter.Sauerbrei
make sure IPP and supporting dlls are all 64-bit
#jira UE-34408
Change 3082225 on 2016/08/09 by Mitchell.Wilson
Removing r.Streaming.PoolSize from DefaultEngine.ini, adding DefaultScalability.ini to set r.StreamingPoolSize
Reimporting SM_GodRay_Plane
Saving all levels to resolve MikkTSpace warnings.
#jira UE-30787
Change 3082222 on 2016/08/09 by Rolando.Caloca
UE4.13 - Fix crash on opengl3
- Load proper shader map depending on feature level
- int interpolators require nointerpolation modifier
#jira UE-33879
Change 3082221 on 2016/08/09 by Benn.Gallagher
Fix for stack overflow traversing subinstances for duplicated names when there is a circular loop
#jira UE-34384
Change 3082179 on 2016/08/09 by Ben.Woodhouse
Fix for default subsurface color for two sided foliage, so it defaults to black instead of white. This requires some additional logic because we don't want to change the default color for other lighting models which use the subsurface material input (e.g. subsurface, skin, hair etc). Bump the shader version so the change is correctly propagated to existing material shaders.
#jira UE-31461
Change 3082170 on 2016/08/09 by Graeme.Thornton
Manual copy of CL 3078836 from Dev-Core to Release-4.13
Silently skip creating exports from a package where the outer is also an export and has been filtered at runtime during loading
#jira UE-33909
Change 3082169 on 2016/08/09 by Graeme.Thornton
Make FLauncherTasks have unique names so we don't end up with stat name collisions
#jira UE-33849
Change 3082163 on 2016/08/09 by Matthew.Griffin
Include Linux Build Tools in Windows Installed Build so that Crash Reporter can be staged from receipts
Added Checks for files that might not exist when creating Installed Build from Github etc.
Tag the published installed build zips
#jira UE-34249
Change 3082139 on 2016/08/09 by Ben.Marsh
BuildGraph: Allow writing a schema without passing a script in.
Change 3082109 on 2016/08/09 by Thomas.Sarkanen
Fixed blendspaces producing bad data when degenerate spaces are present
Delaunay triangulations that fail now revert to simple degenerate tesselation. This allows us to build a valid set of grid samples even with degenerate triangulations, so no need for any runtime modifications.
#jira UE-34308 - 2DAimOffset mesh skews across viewport when anim sequence is added to offest graph
Change 3082080 on 2016/08/09 by Matthew.Griffin
Added notifications for available triggers
Change 3082054 on 2016/08/09 by Allan.Bentham
Quality level override changes to high QL are now correctly picked up.
#jira UE-22812
Change 3082049 on 2016/08/09 by Allan.Bentham
Update shaders when mobile preview device is changed.
#jira UE-22810
Change 3081866 on 2016/08/09 by Max.Chen
Fbx Export: Fix build.
#jira UETOOL-750
Change 3081863 on 2016/08/09 by Max.Chen
Fbx Export: Fix level sequence fbx export.
- Fix 3d transform track export so that it does the correct flipping for translation and rotation curves.
- Fix setting rich curve tangents and interpolation modes.
- Fix camera focal length export.
#jira UETOOL-750
Change 3081823 on 2016/08/08 by Dmitriy.Dyomin
Fixed: Crash when simulating in editor with a landscape actor selected
#jira UE-34367
#coderview Gareth.Martin
Change 3081647 on 2016/08/08 by Chad.Taylor
OpenVR changed to work with our FSteamVRHMD::VRGetGenericInterfaceFn retrieved from GetDllExport
#jira UE-34352
Change 3081645 on 2016/08/08 by Zak.Middleton
#ue4 - Fix anim root motion applying too much velocity to CharacterMovement when framerate is low causing moves to be substepped, or when movement mode changes during root motion playback.
#jira UE-30178
Change 3081639 on 2016/08/08 by Tyler.Cole
Update build scripts for WEX MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081616 on 2016/08/08 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirements
-2dvr support "stereo on" and "stereo off" now switch ps4 from 2d to vr mode.
-A new ini setting for morpheus bStartInVR has been added, it defaults to true.
#jira UEVR-13
#review-3081284 @chad.taylor @nick.whiting
Change 3081597 on 2016/08/08 by Tyler.Cole
Update build scripts for Ocean MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3081476 on 2016/08/08 by Tyler.Cole
Update build script for UE4 Release-4.13 stream Fortnite MCP.
#jira NONE-0
Change 3081397 on 2016/08/08 by Josh.Adams
- Fixing more linux case issues in UT
#jira ue-33478
Change 3081391 on 2016/08/08 by Mitchell.Wilson
Removed ConstructorHelpers from TP_2DSideScrollerCharacter.cpp. Added Run and Idle animations to BP child of 2dSideScrollerCharacter in 2DSideScrollerExampleMap
#jira UE-33843
Change 3081383 on 2016/08/08 by Aaron.McLeran
#jira UE-34081
Implementing CL 3076637 into 4.13
#tests run a procedural sound wave object test
Change 3081337 on 2016/08/08 by Aaron.McLeran
#jira UE-34390 CLONE - CRASH: FXAudio2SoundSource::GetChannelVolumes - Silent Crash during gameplay
- OR-26580
- Implementing CL 3071258 to 3.13
#tests ran paragon with change, no crashes
Change 3081335 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed memory leak in source resolver (UE-34385)
#jira UE-34385
Change 3081320 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed typo (UE-32421)
#jira UE-32421
Change 3081276 on 2016/08/08 by Mitchell.Wilson
Resaving asset to resolve MikkTSpace warning.
#jira UE-31116
Change 3081269 on 2016/08/08 by Dan.Oconnor
Fix for name of blueprint changing when 'accept source' is used. Just caching the original name before unloading the blueprint
#jira UE-34324
Change 3081052 on 2016/08/08 by Dan.Oconnor
Making a change to test UE-34324
#jira UE-34324
Change 3081026 on 2016/08/08 by Daniel.Wright
Added a heightfield painting example to BlueprintRenderToTarget content example
#jira UE-34323
Change 3081025 on 2016/08/08 by Daniel.Wright
CreateRenderTarget2D uses a world context object as owner, allows use in a construction script
#jira UE-34321
Change 3081023 on 2016/08/08 by Aaron.McLeran
#jira UE-34325 Implementing 3080958 in 4.13
- When a sound buffer is flushed from audio device manager and tries to stop sounds using a resource, was possible for the async header parse task to be in-flight, which would cause a crash
- Fix is to bring back the code to call EnsureCompletion on tasks in the FreeResoruces function of the sound source object. This will potentially encure a slight perf increase when stopping a sound but audio engine is now going to run on a separate thread, so shouldn't have a game-thread impact in non-editor builds.
#tests ran repro case described in bug several times without crashing (was 100% repro)
Change 3081020 on 2016/08/08 by Dan.Oconnor
Revised fix for UMG widgets with instanced properties resetting due to ImportText not copying objects assigned to Instanced properties
#jira UE-26310
Change 3081010 on 2016/08/08 by Dan.Oconnor
Fix for losing root transform when recycling objects
#jira UE-28398
Change 3080972 on 2016/08/08 by Mark.Satterthwaite
Duplicate CL #3080684:
Flush on close of writable files on Apple platforms - close doesn't guarantee to push outstanding writes to the disk, only to the kernel. They might not make it to the disk prior to program termination.
#jira UE-21857
Change 3080971 on 2016/08/08 by Mark.Satterthwaite
Workaround a macOS 10.12 Beta bug on some Metal drivers that can't initialise temporary/local variable arrays, only those that are marked threadgroup shared.
#jira UE-34355
Change 3080923 on 2016/08/08 by Michael.Trepka
When archiving on for Mac delete the dest icon if it exists before trying to call File.Move
#jira UE-33304
Change 3080919 on 2016/08/08 by samuel.proctor
Revised assets for Blueprint Debugging tests
#jira UE-29618
Change 3080878 on 2016/08/08 by Ben.Marsh
Fix sample build timeouts due to generating DDC using installed engine builds taking too long.
* New version of build script was not copying the DDCUtils module from the NotForLicensees folder to the installed engine directory, so network DDC was not being used. Set it from an environment variable instead.
* Generating the installed project PAK was not using the Compressed.ddp file included with the engine, but was looking for a legacy DDC.ddp file instead.
Change 3080849 on 2016/08/08 by Marc.Audy
Always stop matinee sounds when jumping around, not just if the sound changed.
#jira UE-31447
Change 3080843 on 2016/08/08 by Ben.Marsh
BuildGraph: Fix compile error due to duplicated variable name.
Change 3080840 on 2016/08/08 by Max.Chen
Fbx: Fix rich curve export being exported at the incorrect times when baked.
#jira UETOOL-750
Change 3080824 on 2016/08/08 by Max.Chen
Sequencer: Revert fix root component structure for level sequence actor.
#jira UE-34354
Change 3080819 on 2016/08/08 by Chad.Taylor
Merging Move and Vive haptic implementation from Dev-VR to Release-4.13
#jira UE-27886
Change 3080818 on 2016/08/08 by Jurre.deBaare
Crash when importing the same Alembic file but as a different Asset Type
#fix Return the outer package of an imported asset, instead of InParent (which could be deleted/clean up if the import types differed)
#misc Typo
#jira UE-34293
Change 3080817 on 2016/08/08 by Jurre.deBaare
Crash when importing an Alembic file with Materials if it already exists
#fix Only create materials if they don't already exist
#jira UE-34300
Change 3080814 on 2016/08/08 by Jurre.deBaare
Crash when importing Alembic files as Skeletal Mesh
#fix Set the NumVertices variable that was re-added :)
#misc removed dead code
#jira UE-34288
Change 3080813 on 2016/08/08 by Jurre.deBaare
[CrashReport] UE4Editor_AlembicLibrary!AbcImporterUtilities::GenerateSmoothingGroupsIndices()
#fix found in one of the reports messages that they were importing from 3DS, found that it exports the normals non-indiced but per-vertex, so now added expanding using the index buffer (also pre-emptively added it for UVs)
#jira UE-34294
Change 3080797 on 2016/08/08 by Dmitriy.Dyomin
Fix: Crash opening levels with landscape in them via the command console in standalone game
#jira UE-34348
Change 3080784 on 2016/08/08 by Jamie.Dale
We now keep the bulk data for stock engine fonts loaded to avoid attempting to load it on the render thread (from debug canvas rendering)
#jira UE-34298
Change 3080734 on 2016/08/08 by Matthew.Griffin
Made PDBs optional build products for CsCompile task and added .dll.mdb check for Mac Mono equivalent
Change 3080685 on 2016/08/08 by Peter.Sauerbrei
fix for crash on tvOS and iOS when launching a project
#jira UE-34005
Change 3080683 on 2016/08/08 by Matthew.Griffin
Added code to duplicate GUBP behavior when building DDC for samples so that only certain platforms are built
Change 3080681 on 2016/08/08 by Matthew.Griffin
Corrected path separators for Mac DDC location, which was preventing it from being included in installed build
Change 3080675 on 2016/08/08 by Robert.Manuszewski
Fixing CIS on Clang platforms
#jira UE-34025
Change 3080674 on 2016/08/08 by Ben.Woodhouse
Fix for reflection capture crash on autosave (null scene ptr) - integrate fix from fortnite CL 3033507
#jira UE-32651
Change 3080594 on 2016/08/08 by Keith.Judge
Xbox One - Fix missing GPU particles when in Fast Semantics mode. SetRasterizerState() shouldn't be cached as it always needs resetting in Fast Semantics. Also enabled Fast Semantics by default, as the last known bug is now fixed.
#jira UE-31607
Change 3080573 on 2016/08/08 by Martin.Wilson
Fix Root Motion from Everything blending incorrectly when using layered blend per bone
#Jira UE-17815
Change 3080517 on 2016/08/08 by James.Golding
PR #2678: Fixed ProceduralMeshComponent compile issue, missing ConvexElem.h. (Contributed by ardneran)
#jira UE-34299, UE-34279
Change 3080512 on 2016/08/08 by Benn.Gallagher
Fix for dangling sub-instance pointers when reinstancing on AnimBP compile
#jira UE-34137
Change 3080510 on 2016/08/08 by Max.Preussner
WmfMedia: Fixed Packaged Shooter game does not load in Windows XP (UE-32421)
#jira UE-32421
Change 3080509 on 2016/08/08 by Robert.Manuszewski
Added more detailed message when TArray's BulkSerialize fails.
#jira UE-34025
Change 3080506 on 2016/08/08 by Allan.Bentham
Do not set render target if there are no modulated shadows.
#jira UE-33252
Change 3080498 on 2016/08/08 by Keith.Judge
Fix D3D12.x link error.
#jira UE-34322
Change 3080493 on 2016/08/08 by Matthew.Griffin
Allow symbol files to be skipped when staging build products as they are not essential for the staged project to run.
#jira UE-34073
Change 3080490 on 2016/08/08 by Maciej.Mroz
#jira UE-28625 Direction of GetOverlapInfos parameter doesn't match
Redone cl# 3080484
Change 3080462 on 2016/08/08 by Allan.Bentham
Leave FAndroidAppEntry::PlatformInit's ES2 EGL initialised unless vulkan or ES3.1 are required.
Fix initialisation errors introduced in CL 3070035.
#jira UE-34099
Change 3080242 on 2016/08/07 by Max.Chen
Sequencer: Fix to allow deleting spawnables from the viewport
#jira UE-28523
Change 3080241 on 2016/08/07 by Dmitriy.Dyomin
Fixed: StartCameraFade not fading camera when MobileHDR is off
#jira UE-34143
Change 3079990 on 2016/08/06 by andrew.porter
Changing defaults on some settings on M_Details for test case.
#jira UE-29618
Change 3079989 on 2016/08/06 by andrew.porter
Setting two sided off on M_Details material
#jira UE-29618
Change 3079986 on 2016/08/06 by phillip.patterson
Updated QA-Foliage for test case
#jira UE-29618
Change 3079984 on 2016/08/06 by andrew.porter
Adding test content for using sprites in UMG
#jira UE-29618
Change 3079879 on 2016/08/05 by Dmitry.Rekman
Remove HITCHHUNTER logspam from release UE (UE-30959).
#tests Compiled the UE4Editor.
#jira UE-30959
Change 3079815 on 2016/08/05 by Tyler.Cole
Set dependencies for Orion MCP in UE4 Release-4.13 stream.
#jira NONE-0
Change 3079808 on 2016/08/05 by Daniel.Wright
BlueprintRenderToTarget content example map with interactable fluid surface
#jira UE-34323
Change 3079746 on 2016/08/05 by Daniel.Wright
Copy - New blueprint function ClearRenderTarget2D, which is the only way to set a render target alpha directly
New blueprint function CreateRenderTarget2D
#jira UE-34321
Change 3079569 on 2016/08/05 by Mitchell.Wilson
Updating template tutorials after assets were moved to new folders
#jira UE-34139
Change 3079546 on 2016/08/05 by Ian.Shadden
#UE4 #match3 Fixed button UI scaling on all buttons in Match3 (main menu, victory screen, options, notifications, etc...), tested on PC and Android Nexus 6
#jira UE-34316
Change 3079542 on 2016/08/05 by Mark.Satterthwaite
Duplicate CL #3079503:
Initialise more variable types to 0 in Metal shaders to workaround Xcode 8 toolchain no longer doing this for us for "threadgroup shared" variables. Everything but structs and atomic's will now be initialised.
#jira UE-33856
Change 3079472 on 2016/08/05 by Peter.Sauerbrei
fix for remote server name being empty stopping a build for a BP project in binary
fix for several error messages from platform requirements not stopping a build
#jira UE-34213
Change 3079453 on 2016/08/05 by Benjamin.Hyder
Updating QA_Materials to include Material Details example
#jira UE-29618
Change 3079389 on 2016/08/05 by Gareth.Martin
Missing file from CL 3079376:
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079384 on 2016/08/05 by Michael.Trepka
PR #2266: BUGFIX: UBT not building on non HFS partitions on OSX (Contributed by Manny-MADE)
#jira UE-29358
Change 3079376 on 2016/08/05 by Gareth.Martin
Tessellate Landscape only in highest landscape LOD
Fix incorrect UV coordinates when tessellation is enabled
#jira UE-14253
#jira UE-20405
Change 3079365 on 2016/08/05 by Peter.Sauerbrei
fix for executable name mismatch in plist vs actual executable when project has an underscore in the name
#jira UE-34192
Change 3079361 on 2016/08/05 by Ryan.Vance
#jira UE-34297
Fixing the screen space position in 3076326 broke an ISR dbuffer decal hack. Now, no longer a hack :)
Change 3079349 on 2016/08/05 by Mason.Seay
Deleting unneeded assets
#jira UE-29618
Change 3079306 on 2016/08/05 by Peter.Sauerbrei
IPP is now built as a 64-bit executable
#jira UE-26393
Change 3079303 on 2016/08/05 by Peter.Sauerbrei
PR2018 - disable user input request from ssh courtesy of Teivaz
#jira UE-26393
Change 3079276 on 2016/08/05 by mason.seay
Extended Line Trace For Convenient
#jira UE-29618
Change 3079274 on 2016/08/05 by Alex.Delesky
#jira UE-32396, UE-34103 - Fixed the issue where STextBLock widgets will revert to a gray-ish color in widget blueprints on compilation when set to magenta (#FF00FFFF). This fix does not introduce the side-effects of recoloring the text on editor buttons.
Change 3079273 on 2016/08/05 by Max.Chen
Sequencer: Fix converting matinee move tracks that have separate pos and euler tracks.
#jira UE-34301
Change 3079254 on 2016/08/05 by Ori.Cohen
Fix skeletal mesh having bodies in both sync and async scene. Simplifies a lot of code and fixes crash in case of substepping.
#JIRA UE-34224
Change 3079242 on 2016/08/05 by Nick.Darnell
Slate - Initializing WheelScrollMultiplier in the STableViewBase to avoid problems with subclasses not having an initialized value and the scrollbar misbehaving.
#jira UE-34304
Change 3079129 on 2016/08/05 by Jurre.deBaare
#jira UE-34278
#fix Changed reimport path to be the same as geometry cache / skeletal mesh
Unable to reimport Alembic static meshes
#jira UE-34292
#fix Handle cancelled situation during reimport ui interaction
Cancelling the reimport of an Alembic file seems to confirm the action
#jira UE-34288
#fix Possible fix, flush rendering commands before importing
Crash when importing Alembic files as Skeletal Mesh
#jira UE-34282
#fix Change import function override signature to include bCancelled and set the value appropriately + early out when cancelled
"Failed to Import" message when clicking Cancel on the Alembic Import Message
Change 3079127 on 2016/08/05 by Marc.Audy
Properly clean up all worlds when ending PIE while a seamless transition is active
#jira UE-33863
Change 3079107 on 2016/08/05 by Mike.Beach
Reversing the order in which we iterate pins on node resonstruction - making sure we reconstruct split child pins first (to keep the old parent pin chain intact).
#jira UE-30548
Change 3079093 on 2016/08/05 by Jurre.deBaare
Toggling Vertex Colors on in Static Mesh Editor makes the viewport all white
#fix Hide the environment and sky when showing vertex colours
#jira UE-34251
Camera Auto exposure in the static mesh editor bleaches everything out when the environment is turned off
#fix Turn on / off advanced engine show flags determined by whether or not post processing is enabled in the advanced preview scene settings
#jira UE-34206
Change 3079090 on 2016/08/05 by Jurre.deBaare
Bad performance when changing (slider) values for the advanced preview scene
#fix Could not repro but added some more check if update needed checks
#jira UE-33496
Adjusting Lighting Rig Rotation manually only affects the sky and not the lighting
#fix Add the rotational delta for the sky to the directional light rotation
#jira UE-34108
Change 3079088 on 2016/08/05 by Jurre.deBaare
Alembic Cache Importer option for Hard Edge Angle Threshold does not work
#fix Changed the condition for an edge to be hard / soft, fixed an issue in the smoothing group generation and changed the flow of normal calculation during importing
#jira UE-34127
Change 3079040 on 2016/08/05 by Max.Preussner
MediaAssets: Fixed media source asset cannot be inherited in other modules (UE-34290)
Also made class properties blueprint read-writable
#jira UE-34290
Change 3078958 on 2016/08/05 by Marc.Audy
Don't ever reregister child actor components
Don't destroy child actors when hiding a level
#jira UE-31038
Change 3078954 on 2016/08/05 by ryan.brucks
#jira ue-00001 Adding new material functions needed to go along with Noise Blog post requested by DanV and KimL
Change 3078952 on 2016/08/05 by Phillip.Kavan
[UE-34085] Fix an ensure when force-deleting compiled Blueprint class assets in the Content Browser.
change summary:
- modified ForceDeleteObjects() to relocate a redundant 'ObjectsToReplace' iteration that recently was converted to a ranged-based for loop; the conversion seems to have caused the iterator to ensure, due to existing code that was modifying the target array inside the loop.
#jira UE-34085, UE-34169
Change 3078912 on 2016/08/05 by Andrew.Rodham
Editor: When locking an editor viewport to a camera, camera cut flags are now correctly specified
#jira UE-33875
Change 3078900 on 2016/08/05 by Lauren.Ridge
Fix for small Vive HMD movements entering VR mode
#jira UE-33970
Change 3078880 on 2016/08/05 by Jack.Porter
Cannot set GenerateOverlapEvents flag on Landscape
#jira UE-9055
Change 3078879 on 2016/08/05 by Lee.Clark
PS4 - Fix corrupted debuffer decals
(CMask wasn't getting decoded correctly)
#jira UE-34273
Change 3078871 on 2016/08/05 by Steve.Robb
Fix for changes to UObject*s in property boxes.
#jira UE-29596
Change 3078857 on 2016/08/05 by Max.Chen
Sequencer: Set Fixed frame interval playback to false by default.
#jira UE-34272
Change 3078850 on 2016/08/05 by mason.seay
Updated map to test physics mesh, added comments to level BP
#jira UE-29618
Change 3078795 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixed spawnables not responding to blueprint reinstance events
This ultimately left spawnable bindings broken, and an unreachable object in the world
#jira UE-31635
Change 3078786 on 2016/08/05 by Robert.Manuszewski
Reversed the order the UObject delete listeners were notified of UObject deletion to avoid skipping the next listener if the current one removed itself from the array.
#jira UE-33872
Change 3078782 on 2016/08/05 by Andrew.Rodham
Sequencer: Fixes to "Create Camera Here" functionality
Fixed crash when undoing the "Create Camera Here" operation.
Enabled RF_Transactional on all spawned instances in the world (to support undo/redo of instance properties properly)
Fixed issues when the cursor was outside of the play range
#jira UE-33127
Change 3078737 on 2016/08/05 by Andrew.Rodham
Sequencer: Changed event and playback contexts to be weak references to ensure no strong GC references, while maintaining safety
#jira UE-34256
Change 3078722 on 2016/08/05 by Ben.Woodhouse
Fix shader compile error in TP_VirtualRealityBP (disable Morpheus, which was enabled (inadvertently?) in CL 3077481)
#jira UE-34269
Change 3078620 on 2016/08/05 by Dmitriy.Dyomin
Fixed: SunTemple geometry has rendering artifacts on low end devices
[Android_Low] devices will use 'Low' material quality level
#jira UE-22455
Change 3078584 on 2016/08/05 by James.Golding
Add NumVertices back to FSkelMeshSection, so that info is available in non-editor builds (e.g. for runtime mesh merging)
#jira UE-33675
Change 3078565 on 2016/08/05 by Jack.Porter
Removed need for LandscapeInfo in GeneratePlatformPixelData which was crashing mobile previewer.
#jira UE-33842
Change 3078564 on 2016/08/05 by James.Golding
Fix display name for bSupportUVFromHitResults to fix missingspace
#jira UE-34248
Change 3078542 on 2016/08/05 by Yannick.Lange
VR Editor : Temporary fix to disable the possibility of both controllers having a windows docked.
#jira UE-32839
Change 3078541 on 2016/08/05 by Yannick.Lange
VR Editor : Fix linux compile error from VREditorAvatarActor
#jira UE-34215
Change 3078396 on 2016/08/04 by Max.Chen
Sequencer: Invalidate playback context when map changes.
#jira UE-34256
Change 3078291 on 2016/08/04 by Jeff.Campeau
RHI compress/decompress return success/failure
Failure falls back to software method
D3D12 for Xbox One still needs implementation
#jira UE-31363
Change 3078131 on 2016/08/04 by Chris.Babcock
Deal with missing Android movie framerate by defaulting to 30 if not available
#jira UE-34208
#ue4
#android
Change 3078084 on 2016/08/04 by John.Billon
Disabled AMD hacks Cvars that aren't needed anymore.
#Jira UE-30772
Change 3078083 on 2016/08/04 by John.Billon
Consolidated ensures to detect a crash dealing with unallocated render targets in TranslucentLighting to a single test in DefferedShadingRendere and attempt to recover by reallocating deferred render targets.
Added a couple of more ensures when allocating render targets.
Added log message when changing feature levels.
#Jira UE-32536
#Jira UE-32204
Change 3078039 on 2016/08/04 by Josh.Adams
- Fixed a case issue with Linux
#jira UE-33478
Change 3078029 on 2016/08/04 by Ryan.Vance
#jira UE-30989
We need to disable the hmd mask when down sampling to ensure valid input data for blur passes.
Change 3078027 on 2016/08/04 by Lina.Halper
Fix sequencer morphtarget displaying issue
#code review:Max.Chen
#jira: UE-28459
Change 3078012 on 2016/08/04 by mason.seay
map and asset updates for testing UV hit detection
#jira UE-29618
Change 3078009 on 2016/08/04 by Jamie.Dale
Ensured that BULKDATA_SingleUse is only set by UFontBulkData::Serialize when loading
This prevents it being incorrectly set by other operations, such as counting memory used by font data.
#jira UE-34252
Change 3078006 on 2016/08/04 by Mark.Satterthwaite
Duplicate CL #3064008 & CL #3077412:
Fix "iOS Metal-based build crashes at launch with sub-levels":
- Slate should not bind the null RHI texture from an unitialised texture atlas - atlases only have a valid texture pointer once an entry has been added to them and in the template projects an empty sub-level doesn't add anything.
- To prevent this kind of bug resurfacing and being so hard to track down add Metal shader binding validation to our validation layer as Apple's is incomplete on iOS and won't warn us about nil texture usage which causes these GPU restarts. This requires reworking our vertex declaration handling to be more efficient so that we can cache the pipeline reflection data as well as the pipeline objects.
- Fix validation error of texture reallocation on loading template projects under Metal.
#jira UE-30847
Change 3078002 on 2016/08/04 by John.Billon
Fixed LowLightMapQuality warning triggering with wrong conditions.
#Jira UE-33237
Change 3078001 on 2016/08/04 by John.Billon
Fixed a crash due to particle threading issues in packaged game.
#Jira UE-32147
Change 3077989 on 2016/08/04 by Rolando.Caloca
UE4.13 - Fix Vulkan crash when compiling shaders on a new project due to running out of descriptor sets. Now we handle fragmentation of sets and multiple pools per RHI contexts.
#jira UE-34218
Change 3077940 on 2016/08/04 by Jeff.Campeau
Stage applocal dependencies from paths containing $(EngineDir) & $(ProjectDir)
Include copies of the VS2015 runtime and UCRT
Change -applocaldir parameter to -applocaldirectory
Stage to engine and project binaries paths (for crash reporter, etc.)
#jira UE-33903
Change 3077936 on 2016/08/04 by Daniel.Wright
DrawMaterialToRenderTarget gracefully handles an invalid WorldContextObject
#jira UE-34183
Change 3077927 on 2016/08/04 by Lina.Halper
Fix issue with morphtarget not working due to invalid guid
#jira: UE-34077
Change 3077919 on 2016/08/04 by Daniel.Wright
Copy - Lighting channels can now be edited on components with static mobility, since dynamic lights can still affect them
#jira UE-34245
Change 3077877 on 2016/08/04 by Ori.Cohen
Fix physical animation undo/redo not affecting linked bodies and constraints
#JIRA UE-33987
Change 3077823 on 2016/08/04 by Ori.Cohen
Disable copy/paste action on physical animation profiles (From Matt.Kuhlenschmidt)
#JIRA UE-33985
Change 3077814 on 2016/08/04 by Uriel.Doyon
Changed the logs used in the "Texture Streaming Build". Previous warnings are now logged at verbose level. Can be toggled on by running "log texturestreamingbuild all"
#jira UE-34120
#review-3077812
Change 3077781 on 2016/08/04 by Max.Chen
Sequencer: Fix crash in rotation key struct
#jira UE-34155
Change 3077771 on 2016/08/04 by Lina.Halper
Added const and removed auto
#jira: UE-33023
Change 3077702 on 2016/08/04 by Daniel.Wright
Copy - Planar reflection show flags can now be edited
#jira UE-34229
Change 3077585 on 2016/08/04 by Ori.Cohen
Fix spam when moving simulated skeletal mesh in the editor.
#JIRA UE-34164
Change 3077532 on 2016/08/04 by Tom.Looman
Fixed error in description of VR Template.
#jira ue-33950
Change 3077517 on 2016/08/04 by Tom.Looman
Fixed parsing error for FP_VirtualRealityBP
#jira UE-34059
Change 3077493 on 2016/08/04 by Tom.Looman
Updated Template description to remove GearVR reference and include more clear message on the two available maps.
#jira UE-33950
Change 3077492 on 2016/08/04 by Tom.Looman
Improvements to VR Template
Fixed teleportation issue on both locomotion types (JIRA)
Rebuilt navmesh for motioncontrollermap
Added new WIP startermap to clarify the difference between the multiple levels.
Added more comments and did some cleanup in BPs.
#jira UE-33962
Change 3077491 on 2016/08/04 by Jurre.deBaare
Crash when attempting to merge two objects using Simplygon - ProxyMaterialUtilities::CreateProxyMaterialInstance
#fix Pass in complete path to save material to instead of just the name
#jira UE-34211
Change 3077481 on 2016/08/04 by Tom.Looman
Workaround for issue in teleport camera fade. (Removing r.MobileHDR from config)
#jira ue-34143
Change 3077463 on 2016/08/04 by Ben.Woodhouse
Fix for ghosting in the SSR, caused by the SSRTemporal pass not getting velocities passed in. This is only an issue when temporal AA is disabled. There is a performance in this case, because a velocity pass is now required if SSR is enabled and temporalAA/motion blur are off.
#jira UE-32843
Change 3077432 on 2016/08/04 by Steve.Robb
Removal of Fortnite-specific setting which disables hot reload.
#jira UE-33261
Change 3077380 on 2016/08/04 by Keith.Judge
Fix for green reflection environment in some maps.
- Moved deleting pending resources from EndFrame() to RHIEndDrawingViewport() so it *really* gets called once every time there's a Present()
- Fixed a validation error when locking cube map faces which was causing them not to be updated.
- Fixed a validated driver error when creating UAVs due to uninitialised parts of the descriptor and fixed the buffer description for occlusion queries to have the correct 256 byte size (another validation error).
- Added a GPU/CPU sync at the same point the PS4 code does.
#jira UE-32086
Change 3077336 on 2016/08/04 by Mitchell.Wilson
removed r.Streaming.PoolSize from DefaultEngine.ini
Adding DefaultScalability.ini and adding r.StreamingPoolSize to resolve a warning.
#jira UE-30941
Change 3077275 on 2016/08/04 by Phillip.Kavan
[UE-29903] Fix a potential infinite loop when replacing variable nodes in a Blueprint graph via drag-and-drop.
#jira UE-29903
Change 3077119 on 2016/08/04 by Marc.Audy
Use TickType All when in PIE
#jira UE-18982
Change 3077108 on 2016/08/04 by Jon.Nabozny
Add check to USkeletalMeshComponent::TickClothing to skip updating cloth when SkeletalMesh is null.
This can happen when the mesh is cleared between USkeletalMeshComponent::TickComponent and USkeletalMeshComponent::TickClothing.
#jira UE-34032
Change 3077073 on 2016/08/04 by Jurre.deBaare
bBlendOverlappingNormals does not seem to have an impact for Alembic importing
#fix this wasn't being used in the normal calculation anymore so redundant
#jira UE-34204
Change 3077059 on 2016/08/04 by Robert.Manuszewski
Disabling the assert when MaxObjectsInEditor or MaxObjectsInGame collide with EInternalObjectFlags as this is no longer relevant (since the serial number and object flags were split).
#jira UE-34200
Change 3077024 on 2016/08/04 by Thomas.Sarkanen
Added GetResourceSize to UDataAsset
Data assets now correctly report their size.
#jira UE-28851 - Fix mem reporting of DataTables
Change 3077001 on 2016/08/04 by Andrew.Rodham
Sequencer: Fixed sequencer adding spawnables into recorded worlds twice
The issue here is that sequencer was re-evaluating itself with the current play world as the context, which also happened to be the world that it was trying to record. As a result, it ended up with the same sequence being played twice in the recording world.
Added the ability to specify a playback context attribute for sequencer to use, and this no longer allows sequencer to play back in any worlds that are being recorded.
#jira UE-31422
Change 3076995 on 2016/08/04 by Matthew.Griffin
Fixed Shadow Variable warning
Change 3076974 on 2016/08/04 by Matthew.Griffin
Added Node to build CrashReportClient for Linux that can be used by internal game targets
Change 3076820 on 2016/08/04 by Max.Chen
Sequencer: Fix EDL export timing so that shot in time always start at 0 since movies are always rendered at their cut length (until shot handle exports exist).
#jira UE-34199
Change 3076665 on 2016/08/03 by Dan.Oconnor
Quick fix for regression introduced by 3075803. Crashing on load of some games because some tickables don't expect GetTickableGameObjectWorld to be called when IsTickable returns false
#jira UE-18982
Change 3076569 on 2016/08/03 by Chad.Taylor
SteamVR GetOrthoProjection implementation to fix broken console rendering in VR
#jira UE-21424
Change 3076556 on 2016/08/03 by Aaron.McLeran
#jira UE-34154 PSVR Stereo assets are spatialized as MONO
- All audio was routing through A3D lib regardless of if it was mono/stereo etc.
- Fix is to only route audio that is mono and spatialized
- Fixed some compile errors/shadow variables
- Renamed bIs3dSound to bIsA3dSound to indicate its a bool that flags if it is spatialized through A3D library
Change 3076546 on 2016/08/03 by Aaron.McLeran
#jira OR-26161 Client hitches indefinitely when using Stat soundcues / soundwaves
Implementing 3069092 in Release-4.13
- Not all active sounds have sound classes, was causing a crash
#tests Run game with stat soundcues and not crash
Change 3076512 on 2016/08/03 by Ben.Marsh
Fix warning about UnrealTournament:true argument.
Change 3076492 on 2016/08/03 by Daniel.Wright
Integrate - Disallowed DrawMaterialToRenderTarget and Begin/EndDrawCanvasToRenderTarget in construction scripts, since they don't work in game. Blutilities can be used to do blueprint rendering in the editor.
#jira UE-34177
Change 3076491 on 2016/08/03 by Daniel.Wright
Marked the Forward Shading project setting as experimental for 4.13
#jira UE-34176
Change 3076490 on 2016/08/03 by Daniel.Wright
Integrate - Fixed crash rendering translucency with translucent shadows which were determined to be invisible
#jira UE-34175
Change 3076489 on 2016/08/03 by Daniel.Wright
Integrate - Now clamping light MinRoughness to .04 to avoid NaNs from Vis_SmithJointApprox on materials with Roughness 0
#jira UE-34174
Change 3076485 on 2016/08/03 by Daniel.Wright
Integrate - Restored DetailMode changes causing a FGlobalComponentRecreateRenderStateContext - accidental removal from cl 2969413
#jira UE-34173
Change 3076440 on 2016/08/03 by Ryan.Vance
#jira UE-34184
Merging 3060975, 3061888, 3072758 and 3076270 from devvr to rev Oculus sdk.
Adding Oculus 1.6 support.
Change 3076399 on 2016/08/03 by Nick.Darnell
Slate - The LayoutCache pointer in SWidget is now a WeakPtr. This had to be done to handle edge cases where widgets were used in a pool, and placed into invalidation panels that had been deleted in the past, but were later invalidated with bogus pointers to long gone invalidation panels. Also making a tweak to WidgetCache, to update the lasthittestindex to be the one passed in, which is a bit closer to the intended behavior.
#jira UE-34185
Change 3076397 on 2016/08/03 by Rolando.Caloca
UE4.13 - hlslcc -Fix for hlsl length(float)
#jira UE-32629
Change 3076337 on 2016/08/03 by mason.seay
Test assets (and map for ensure bug)
#jira UE-29618
Change 3076332 on 2016/08/03 by Peter.Sauerbrei
fix for clang build errors
#jira UE-34163
Change 3076326 on 2016/08/03 by Ryan.Vance
#jira UE-32975
Using the wrong screen position in the base pass pixel shader with ISR.
Change 3076309 on 2016/08/03 by Benjamin.Hyder
Renaming TEST-LightingFeatures to TM-LightingFeatures
#jira UE-29618
Change 3076299 on 2016/08/03 by Chad.Taylor
Fix SteamVR lag in late-update fold child renderables.
#jira UE-33928
Change 3076214 on 2016/08/03 by Mitchell.Wilson
Resaving BluperintOffice level to resolve MikkTSpace warnings.
Reimporting SM_GodRay_Plane to resolve cook warning.
#jira UE-30064
Change 3076112 on 2016/08/03 by Max.Chen
Sequencer: Fix crash when opening multiple UMG assets (multiple map/unmap record selected actors actions)
#jira UE-34167
Change 3076090 on 2016/08/03 by Marc.Audy
Fix Mac compile error
#jira UE-34163
Change 3076075 on 2016/08/03 by Jeremiah.Waldron
Fixing comments documenting attribute in deleteFiles node for UPL
#jira UE-34161
Change 3076034 on 2016/08/03 by Mitchell.Wilson
Resaving Strategy Game maps to resolve MikkTSpace warnings.
Resaving material in strategy game to resolve string asset reference warning.
#jira UE-29720
Change 3076003 on 2016/08/03 by Mitchell.Wilson
Resaving Elemental Demo levels to resolve MikkTSpace warnings.
Resaving multiple materials to resolve String asset reference warnings.
#jira UE-29679
Change 3075985 on 2016/08/03 by Jeremiah.Waldron
Fixing UPL comments misnaming the deleteFiles node
#jira UE-34161
Change 3075977 on 2016/08/03 by Maciej.Mroz
#jira UE-30473 Moving child component in child blueprint forces parent to become dirty
Duplicated from Dev-Blueprints CL 3075793
Change 3075959 on 2016/08/03 by Marc.Audy
Don't add WorldSettings to the Actor list twice if it is net relevant (pointed out by PR #2639)
#jira UE-33921
Change 3075891 on 2016/08/03 by Chad.Taylor
SteamVR crash fixes related to new OpenVR SDK. Some of the DLL export functions were converted to inline.
#jira UE-34142
Change 3075882 on 2016/08/03 by Dan.Oconnor
Manually integrating 3073939 to address UE-19062
#jira UE-19062
Change 3075805 on 2016/08/03 by Marc.Audy
Implement GetTickableGameObjectWorld() for various FTickableGameObject classes. Releated to CL#3075803
#jira UE-18982
Change 3075803 on 2016/08/03 by Marc.Audy
Make FTickableGameObject only tick once per frame by associating them with a World, and for those unassociated with a World, ticking them after other levels have ticked
#jira UE-18982
Change 3075761 on 2016/08/03 by Max.Preussner
MediaAssets: Fixed crash and incorrect re-initialization of media texture resource (UE-34152)
#jira UE-34152
Change 3075719 on 2016/08/03 by Chad.Taylor
Blocker fix for binary editor crash on incorrectly used dll
#jira UE-34142
Change 3075709 on 2016/08/03 by Jeremiah.Waldron
Changing InXMLNamespace parameter back to "http://schemas.android.com/apk/res/android" which is what it used to be set to directly within AndroidPluginLanguage before the transition from APL to UPL parameterized it in the constructor
#android
#jira UE-34149
Change 3075695 on 2016/08/03 by Jurre.deBaare
Adding missing debug zlib dll
#jira UE-123
Change 3075641 on 2016/08/03 by Jurre.deBaare
Crash when re-importing alembic cache file several times
#fix Always create a new object when importing
#jira UE-34130
Change 3075609 on 2016/08/03 by Danny.Bouimad
#jira UE-29618 updating TM-PhysicalAnimProfiles to use both NumKeys and number keys. Tweaked values inline with testcase so very apparent what each Physical Animation setting does.
Change 3075578 on 2016/08/03 by Mitchell.Wilson
Updating attenuation settings for multiple sounds in Strategy Game.
#jira UE-25828
Change 3075529 on 2016/08/03 by Trung.Le
VREditor: Fxied foliage lasso select without pressing trigger
#jira UE-33689
Change 3075502 on 2016/08/03 by Lee.Clark
Copied from cl#3041664 - Removing UpdateActorPosition. This was not needed in a vast majority of use cases and was causing a crash due to multithreading issues during end of frame updates.
#jira UE-28549
Change 3075386 on 2016/08/03 by Robert.Manuszewski
Fixing bulkdata using source data pointer as an archive instead of raw data when saving
#jira UE-34132
Change 3075384 on 2016/08/03 by mason.seay
AnimBP for crash bug
#jira UE-29618
Change 3075350 on 2016/08/03 by Max.Chen
Sequencer: Added support for additive skeletal animations. Evaluate all overlapping skeletal animation sections.
#jira UE-30506
Change 3075327 on 2016/08/03 by Max.Chen
Sequencer: Fix root component structure for level sequence actor. This fixes an ensure that occurs when double clicking on a level sequence actor sprite in the viewport.
#jira UE-34093
Change 3075313 on 2016/08/03 by Matthew.Griffin
Tidied up hardcoded installed build includes so that they're all in one file with platform checks
Added .dll.config files to CsCompile build products if they exist
Change 3075133 on 2016/08/03 by Yannick.Lange
VREditor : Original submit in Dev-VREditor = 3064489
- Fix crash when starting VREditor and then changing levels
#jira UE-33766
Change 3075124 on 2016/08/03 by Thomas.Sarkanen
Fixed undo/redo crash when editing anim blueprint defaults
Serializing copy records out of the undo buffer returns them to their initial uninitialized state, with NULL cached container pointers. To address this, we re-initialize the anim blueprint when we undo/redo.
#jira UE-34024 - Crash undoing variable change in Animation Blueprint.
Change 3075101 on 2016/08/03 by Matthew.Griffin
Adding job to selectively build games in release branch
Also adding documentation and localization to overnight build
#jira UEB-688
Change 3075061 on 2016/08/03 by Yannick.Lange
VR Editor : Original submit in Dev-VREditor = 3062883
- Fixed bug that Laser extends beyond UI when hovered over Selection Bar or Close Button #jira UE-33552
- Fixed crash when Closing Editor (Alt F4 while in VR mode) #jira UE-32509
- Fixed crash when enabling VR Editor in editor preferences without a HMD connected
- Fixed bug if you "slowly press" over UI selection bars or close buttons, nothing happens #jira UE-33553
- Avatar code refactor to its own actor class #jira UETOOL-812
#jira UE-33552, #jira UE-32509, #jira UE-33553, #jira UETOOL-812
Change 3075059 on 2016/08/03 by Allan.Bentham
Fall back to standard shadows when capsule shadows are not supported.
#jira UE-33344
Change 3075045 on 2016/08/03 by Matthew.Griffin
Added copies of new OpenVR dlls to Binaries/ThirdParty folder to fix warnings in build DDC step
Change 3074693 on 2016/08/02 by Dan.Oconnor
Manually integrating 3070569 from Dev-Blueprints
#jira UE-34119
Change 3074672 on 2016/08/02 by Dan.Oconnor
Manually integrating 3061854 into 4.13 from Dev-Blueprints
#jira UE-34119
Change 3074646 on 2016/08/02 by Aaron.McLeran
#jira UE-34081 Implementing from Dev-Framework CL 3074325
Procedural Sound Wave Fails to Play when returning 0 bytes in GeneratePCMData callback
- Returning 0 bytes in GeneratePCMData results in the procedural sound wave not continuing to play audio. Instead of returning 0, this change returns an empty buffer if the procedural sound wave doesn't have audio ready to generate (due to loading or some other issue).
- Change also fixes a threading issue with QueueAudio queing audio on game thread but being consumed by audio device thread.
- Implementing 3003851 from UT into Dev-Framework.
Change 3074630 on 2016/08/02 by Brent.Pease
UE-23846 - iOS Movie Player can't handle videos at resolutions that aren't multiples of 16
UE-33200 - A movie isn't played on iOS occasionally.
UE-32397 - Error Message displays as Unknown Error when failing to supply a Remote Build server for ios on Windows
+ Give a more friendly error message when UHT fails with an invalid error code.
#jira UE-23846
#jira UE-33200
#jira UE-32397
Change 3074590 on 2016/08/02 by Rolando.Caloca
UE4.13 - Fix gpu morph targets text; add support for RWByteBuffer (disabled).
#jira UE-33694
Change 3074588 on 2016/08/02 by Chad.Taylor
Update OpenVR SDK to v1.0.2
-Hooked up added aspect ratio and sort priority features to SteamVR stereo layers
#jira UE-34115
Change 3074481 on 2016/08/02 by Ori.Cohen
Make sure that new physical animation data defaults to 0
#JIRA UE-33678
Change 3074395 on 2016/08/02 by Ori.Cohen
Fix duplication of physical animation profiles not duplicating data.
Also fix undo redo not working for profiles.
Fix editor not passing Duplicate change type
#JIRA UE-33987, UE-33985
Change 3074392 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Reverting CL 3074177, since it introduced side-effects.
Change 3074364 on 2016/08/02 by phillip.patterson
Re-created UMG_Optimization for Test Cases
#jira UE-29618
Change 3074346 on 2016/08/02 by Jurre.deBaare
Potential DDC warning fix, remove non-existing values
#jira UE-123
Change 3074289 on 2016/08/02 by Jeff.Fisher
UEVR-13 PSVR: TCR Requirement
Reprojection problem after Sony PlaystationVR Morpheus HMD reconnect fixed.
-When disconnecting and reconnecting the HMD 700+ sets of reprojection data would back up in a queue. After reconnection reprojection would be lagged by 12+ seconds. After some discussion we decided that the queue is not doing anything useful, so I replaced it with a single blob of reprojection data and a dirty flag.
#jira UEVR-13
#review-3074209 @chad.taylor @nick.whiting
Change 3074196 on 2016/08/02 by Martin.Wilson
Mark old anim instances as pending kill so that they dont get grabbed by undo transactions (causes massive slowdown when dragging in spinboxes that modify default values on anim blueprints)
#jira UE-23453
Change 3074177 on 2016/08/02 by Alex.Delesky
#jira UE-32396 - Setting an STextBlock to magenta (#FF00FFFF) will no longer cause it to turn gray when compiling its parent widget blueprint.
Change 3074157 on 2016/08/02 by Ben.Marsh
Remove exception checking for a hard-coded CL. Licensees need to be able to use this stuff.
Change 3074132 on 2016/08/02 by Trung.Le
VREditor: Fixed brush preview present while in foliage mode and hovering at UI
#jira UE-33228
Change 3074131 on 2016/08/02 by Tom.Looman
Fix for scalability build warnings in VR Template
#jira ue-33325
Change 3074089 on 2016/08/02 by Kevin.Rushin
QAGame - Added Foliage to TestMap
#jira UE-29618
Change 3074067 on 2016/08/02 by Kevin.Rushin
QAGame- Rebuilt Lighting
#jira UE-29618
Change 3074063 on 2016/08/02 by Kevin.Rushin
QAGame - Fix up VREditor Map to have more asset variation
#jira UE-29618
Change 3074057 on 2016/08/02 by Andrew.Porter
Deleting - UMG_Optimization
#jira UE-29618
Change 3074040 on 2016/08/02 by Michael.Trepka
On Mac always process child windows when drawing, as they may be on screen even if their parents are minimized.
#jira UE-31194
Change 3074008 on 2016/08/02 by Phillip.Patterson
Renamed UMG_Invalidation to UMG_Optimization to better match test
#jira UE-29618
Change 3073988 on 2016/08/02 by Mitchell.Wilson
Updating starting camera location for Paper2d template to be consistant on both BP and Code version.
#jira UE-32723
Change 3073966 on 2016/08/02 by Jurre.deBaare
Alembic Cache Importer option for propagating matrix transformation does not work
#fix Changed the flag combinations and overhauled the matrix retrieval/caching system
#misc typo fix
#jira UE-34066
Change 3073953 on 2016/08/02 by Lina.Halper
Fixed static warning on null reference
#jira: UE-33923
Change 3073951 on 2016/08/02 by Lina.Halper
Fix GetRelativeTransform for negative scale
#jira: UE-33380
Change 3073896 on 2016/08/02 by Alex.Delesky
#jira UE-33580 - User can now play in editor or save after editing certain parameters such as colors via the eyedropper tool or by using numeric spinners. Minor usability improvements to the Data Table Row Editor.
#jira UE-33867 - User can now play in editor after selecting a color outside of the color picker window using the eyedropper tool
Change 3073804 on 2016/08/02 by Jamie.Dale
Fixed the detail panel trying to apply class customizations to structs
This could happen in the Data Table editor if you made a struct with the same name as a customized class (eg, Actor).
#jira UE-32623
Change 3073803 on 2016/08/02 by Jurre.deBaare
Morph target vertex mapping can be wrong with multi material caches
#fix Changed the way we build the skeletal mesh from the import data and maintain a vertex remapping array to set up the morph targets correctly
#jira UE-34074
Change 3073788 on 2016/08/02 by Andrew.Rodham
Sequencer: Added support for montage based animation
CL#3061714 :
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
CL#3063015 :
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
CL#3068399 :
Sequencer: Changed animation tracks to allow more animation types (such as anim montages)
- APIs now accept UAnimSequenceBases rather than UAnimSequences to afford more flexibility
#jira UE-34046
Change 3073787 on 2016/08/02 by Jurre.deBaare
Handle failed Simplygon proxy mesh generation with error message instead of hard checks
#fix Added a failed delegate along side the succesful delegate
#jira UE-31990
Change 3073786 on 2016/08/02 by Jurre.deBaare
Alembic importer crashes when not assets are generated
#fix Prevented adding nullptr values to the array (now only contains valid entries)
#jira UE-34065
Change 3073777 on 2016/08/02 by Jurre.deBaare
User is able to give a Preview Scene Profile the same name as an existing profile
#fix check changed profile name and append _duplicatedname if found to be matching an existing profile name
#jira UE-34033
Change 3073775 on 2016/08/02 by Mitchell.Wilson
Updating VehicleExampleMap for BP and Code templates to have consistant starting locations
#jira UE-31281
Change 3073732 on 2016/08/02 by Rolando.Caloca
DR - Fix crash when enabling gpu morph targets on non SM5 platforms
#jira UE-34011
Change 3073706 on 2016/08/02 by Peter.Sauerbrei
fix for no tvOS libraries in binary release for Win64
#jira UE-34076
Change 3073671 on 2016/08/02 by Allan.Bentham
High quality mobile reflection captures are now blended in correct (linear) space.
#jira UE-33915
Change 3073663 on 2016/08/02 by Peter.Sauerbrei
fix for launch on failing for iOS in Binary
#jira UE-34014
Change 3073662 on 2016/08/02 by Lee.Clark
4.13 - PS4 - Fix Media Player Audio cutting out
#jira UE-33850
Change 3073616 on 2016/08/02 by Mark.Satterthwaite
Duplicate CL #3073584 from Dev-Platform:
Fix iOS Metal not playing in the background when the phone is locked and there's no drawable texture.
#jira UE-32323
Change 3073592 on 2016/08/02 by Max.Chen
Curve Editor: End any transactions on mouse down that weren't ended cleanly. This fixes a bug where if you drag with the left mouse button and click with the right mouse button, the transactions are left in an ambiguous state.
#jira UE-33993
Change 3073585 on 2016/08/02 by Nick.Darnell
Slate/UMG - When you select a paper sprite, or any other implementor of the SlateTextureAtlasInterface the editor will now correctly pick a default size for the brush matching the size of the sprite like it does for textures.
#jira UE-34075
Change 3073575 on 2016/08/02 by Richard.TalbotWatkin
Duplicating from Dev-Editor, CL 3057645
Fixed single player PIE so the window position is correctly fetched and saved, even when running a dedicated server. This does not interfere with stored positions for multiple PIE, which uses ULevelEditorPlaySettings::MultipleInstancePositions.
#jira UE-33416 - New Editor PIE window does not center to screen when running with a dedicated server
Change 3073542 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3072169.
A couple of changes to the BSP code:
* Fixed longstanding issue where sometimes BSP geometry is not rebuilt correctly after editing it. This was due to poly normals not being recalculated after translating vertices in Geometry Mode.
* Fixed corruption to FPoly::iLink as it is overloaded to have two meanings: when building BSP, it temporarily represents the surface index of the next coplanar surface (and adding a new BSP node uses this to determine whether a new surface needs to be added or not). In other operations it represents an FPoly index, in general this is used more in editor geometry operations. This fixes various crashes which arose from rebuilding BSP resulting in invalid FPoly indices.
#jira UE-12157 - BSP brushes break when non-standard subtractive bsp brushes are used
#jira UE-32087 - Crash occurs when creating Static Mesh from Trigger Volume
Change 3073540 on 2016/08/02 by Matthew.Griffin
Added Package Samples script behind a trigger to package samples for QA
Removed submitter notifications from Launcher Samples nodes
Added submitters of any file in Templates/StarterContent as notified for Feature Pack and DDC nodes
Removed any dependencies on Win64 only nodes from the Mac Installed Build so that it can be run locally
Added Overnight Build Type to Release Branch to run the Binary Release and Package Samples jobs
#jira UEB-689
Change 3073511 on 2016/08/02 by Tom.Looman
Removed object redirectors to fix build warning in VR Template
#jira ue-33325
Change 3073458 on 2016/08/02 by Jurre.deBaare
Update default preview scene ini and assets
#fix deleted old sky texture and fixed BaseEditor.ini setup
#jira UE-34063
Change 3073427 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3068585
Fix to Spline Mesh collision building so that geometry does not default to being auto-inflated in PhysX.
#jira UE-34062 - SplineMesh collision can be generated incorrectly
Change 3073421 on 2016/08/02 by James.Golding
Resave PSD test assets in QAGame with proper version
#jira UE-34061
Change 3073419 on 2016/08/02 by James.Golding
Rename OrientationDriver to PoseDriver
#jira UE-34015
Change 3073404 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor, CL 3057895
Mesh paint bugfixes and improvements.
Changes to RerunConstructionScript so that OnObjectsReplaced is called correctly on all components, whether they have been created by the SCS or the UCS. Previously, components created by the UCS were not being handled, and components created by the SCS were not always being matched. Now a serialized index is maintained for UCS-created objects, which is matched after the construction scripts have been executed.
This will fix issues with the mesh paint tool, and any other editor tool which hooks into the OnObjectsReplaced callback in order to update its internal cache of component pointers, for example, the component visualizer render list.
#jira UE-33010 - Crash changing mesh paint material in blueprint, then changing to a different mode tab
#jira UE-32279 - Editor crashes when reselecting a mesh in paint mode
#jira UE-31763 - [CrashReport] UE4Editor_MeshPaint!FMulticastDelegateBase<FWeakObjectPtr>::RemoveAll() [multicastdelegatebase.h:75]
#jira UE-30661 - Vertex Painting changes collision complexity if the asset is saved while vertex painting
Change 3073380 on 2016/08/02 by Richard.TalbotWatkin
Fixed build error in unity builds.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
Change 3073343 on 2016/08/02 by Matthew.Griffin
Whitelisting PS4 and XboxOne plugins for those platforms specifically
#jira UE-33866
Change 3073338 on 2016/08/02 by Ben.Marsh
When running in unattended mode, write an error refusing to load any missing plugin rather than opening a modal dialog. Fixes ShooterGame build error with missing PS4/XboxOne plugins.
Change 3073319 on 2016/08/02 by Maciej.Mroz
#jira UE-26676, UE-33027, UE-32806, UE-33460, UE-33423, UE-33860
Manually integrated some fixes from Dev-Blueprints
Change 3073311 on 2016/08/02 by Richard.TalbotWatkin
Duplicated from Dev-Editor CL 3057868
Spline component improvements, both tools and runtime:
- SplineComponentVisualizer now works within the Blueprint editor. This works via a generic extension added to the base ComponentVisualizer class which correctly propagates modified properties from the preview actor to the archetype, and then on to any instances whose properties are at the default value.
- The above feature required a breaking change to USplineComponent - namely, the three FInterpCurve properties have been collected together into a struct and added as a single property. This is so that changes to the length of one of the FInterpCurves marks all three as dirty and needing rebuilding.
- Added a custom version for SplineComponent and provded serialization fixes.
- Added a details customization to SplineComponent to hide the raw FInterpCurve properties.
- Added a custom detail builder category which polls the SplineComponentVisualizer each tick and provides numerical editing for spline points which are selected in the visualizer.
- Relaxed the limitation that SplineComponent keys need to have an increment of 1.0. Now any SplineComponent key can be set. The details customization enforces that the sequence remains strictly ascending.
- Allowed an explicit loop point to be specified for closed splines.
- Allowed discontinuous splines by no longer forcing the ArriveTangent and LeaveTangent to be equal.
- Added some new Blueprintable methods for building splines with an FSplinePoint struct, which allows all of a spline point's properties to be specified, and added to the FInterpCurves sorted by the input key.
- Fixed the logic which determines whether the UCS has modified the spline curves.
- Added UActorComponent::RemoveUCSModifiedProperties, which allows a component to remove any properties from the cached list which it doesn't want to be considered as 'modified'. This is used to distinguish the case of properties preserved by the SplineInstanceDataCache from those genuinely modified by the UCS.
- Fixed "Apply Instance Changes to Blueprint" so that edited spline data can be applied to the archetype.
- Fixed some issues with the spline component visualizer to make it generate appropriate up vectors if scale and rotation are enabled.
#jira UETOOL-766 - Spline tool improvements
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-9062 - Spline editing: It would be nice to be able to type in a specific value for a point
#jira UE-7476 - Add ability to edit SplineComponent in BP editor (not just instance in level)
#jira UE-13082 - Users would like a snapping feature for splines
#jira UE-13568 - Additional Spline Component Functionality
#jira UE-17822 - It would be useful to be able to update a bp spline layout from the editor viewport.
#jira UE-33049 - Transform widget visible in blueprint viewport when editing spline points in editor viewport
#jira UE-33669 - Crash in Dev-Editor
Change 3073242 on 2016/08/02 by James.Golding
Move physics state create/destroy delegates from BodyInstance to ActorComponent
- Rename virtual Create/DestroyPhysicsState on OnCreateDestroyPhysicsState, and make protected.
- Create new public Create/DestroyPhysicsState non-virtual to call virtual, and also invoke delegate.
#jira UE-32768
Change 3072953 on 2016/08/01 by Uriel.Doyon
Texture GUIDs are now included in cooked builds, as they are required by the texture streamer to link build data to in game textures.
#jira UE-34045
[CL 3094220 by Ben Marsh in Main branch]
2016-08-18 20:28:33 -04:00
}
else
{
bUseFocus = bHasFocus = false ;
}
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
namespace HMDFunctionLibraryHelpers
{
ISpectatorScreenController * GetSpectatorScreenController ( )
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
IHeadMountedDisplay * HMD = GEngine - > XRSystem . IsValid ( ) ? GEngine - > XRSystem - > GetHMDDevice ( ) : nullptr ;
if ( HMD )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
{
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3636795)
#lockdown Nick.Penwarden
============================
MAJOR FEATURES & CHANGES
============================
Change 2932765 by Nick.Whiting
Merging updated license files for Oculus libraries
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3513736 by Keli.Hlodversson
Move duplicated late update code into a common FLateUpdateManager
#jira UEVR-893
Change 3514798 by Mike.Beach
#4.17
Exposing a way for Blueprint users to remap the SteamVR controller's d-pad buttons (clashes with the Oculus mappings).
#jira UE-42634
Change 3516042 by Dustin.Holmes
Runtime handedness changes in Vive controllers are now reflected when a new device is connected. Device mappings are also reset when a device disconnects, so that if it connects again it fully reregisters instead of just assuming the role it previously had.
Change 3517781 by Keli.Hlodversson
Remove unused local variable bUseCustomPresentTexture
Change 3517951 by Mike.Beach
#4.17
Guarding against dereferencing a null pointer. Defaulting to the identity when we don't (yet) have a valid head pose to use.
#jira UE-43685
Change 3518142 by Mike.Beach
#4.17
Resolving fallout from bad merge (CL 3514868) - checking for teminating null in array (which was added to keep ARRAY_COUNT from acting on an empty array).
Change 3523183 by Ryan.Vance
#jira UE-46493, UEVR-661
Fixes GearVR only displaying a black screen on startup
Fixes GearVR rendering incorrectly with mobile multi-view w/o direct mode enabled
Adding mobile multi-view direct support to Daydream
Change 3523718 by Nick.Whiting
Adding core controller recentering delegate, and moving Google over to that system.
Change 3527263 by Dan.Oconnor
Mirror 3526925 for Nick Donaldson
Change 3533596 by Dustin.Holmes
Add garbage matte map, gamemode, and blueprints.
Change 3533598 by Dustin.Holmes
Expose the Set Tint Color and Opacity function for Widget Components as a Blueprint node.
Change 3538139 by Mike.Beach
Moving Oculus debug shader directly into Oculus plugin.
#jira UE-47134
Change 3543185 by Nick.Atamas
Address UEVR-891 : Merge in changes to Google Tango plugin.
#jira UEVR-891
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 3545505 by Nick.Atamas
Fix UEVR-851 : some fix-ups to MeshReconHUD and overlay material now has a material parameter for tinting the reconstructed mesh to help debug visualization.
Change 3547549 by Jeff.Fisher
Fixing DefaultSpectatorScreenController comment.
Change 3551339 by Ryan.Vance
#jira UE-44947
Editor primitives we not being handled correctly with ISR.
Change 3554169 by Dustin.Holmes
Reconcile missed Mixed Reality blueprint
Change 3566825 by Mike.Beach
Fixing some bad merges from Main (fallout from CL 3566309)
Change 3567143 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3567572 by Mike.Beach
[WIP] Adding some MR plugin dependencies to keep CIS quiet (SteamVR is just temporary, and will be removed).
Change 3569116 by Jeff.Fisher
Mixed reality build breaks for PS4
-Module is dependent on steamvr, so don't build it for PS4.
-Removed unused class that doesn't compile with clang.
Change 3569362 by Mike.Beach
Organizing MR plugin content, to make way for new calibration modes.
Change 3572802 by Jeff.Fisher
UEVR-832 Add save/load system for calibrated camera settings
-Moved MixedRealityConfigurationSaveGame to c++.
#review-3571779
#jira UEVR-832
Change 3573864 by Mike.Beach
[WIP] Initial work on MR cam alignment controller - records point/frustum data from user input.
Change 3575900 by Jeff.Fisher
Vive spectator flat rect expanded to match other platforms.
-The vive 'full flat eye' rect was narrower than other platforms. Expanded it to be closer to the other platforms.
Change 3578684 by Mike.Beach
Static analysis fixes for CIS.
#jira UE-48204, UE-48203, UE-48206
Change 3579460 by Mike.Beach
[WIP] New calibration mode for camera alignment.
#jira UEVR-785
Change 3581232 by Mike.Beach
[WIP] Saving off alignment calibration data, and loading it on initialization. We skip alignment calibration if it has been configured.
#jira UEVR-832
Change 3588411 by Mike.Beach
[WIP] Adding calibration for compositing (chroma color, etc.).
#jira UEVR-785
Change 3588541 by Mike.Beach
[WIP] Cleaning up some display issues with the MR calibration.
#jira UEVR-785
Change 3588680 by Mike.Beach
Re-organizing the MR content, now that the alignment controller calibrates more than just alignment (renaming, etc.).
Change 3588694 by Mike.Beach
Renaming the MR calibration pawn (since it doesn't do any calibrating itself).
Change 3591518 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3591671 by Ryan.Vance
Debug stereo layer support
This adds an option to render the debug canvas to a stereo layer which greatly improves console and stat readability in an hmd.
Change 3591812 by Ryan.Vance
Don't snap motion controllers to the origin when tracking is lost.
Change 3594681 by Mike.Beach
[WIP] Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3596679 by Mike.Beach
CIS fix (likely fallout from CL 3591671) - changing the order of initialization to better match the order of declaration.
Change 3598191 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Created MixedRealityGarbageMatteCaptureComponent. An instance of this is spawned by and attached to MixedRealityCaptureComponent. Saved config data is loaded into it. It spawns a garbage matte actor. It then captures the garbage matte actor into a render target (which is set on MixedRealityCaptureComponent).
#jira UEVR-807
#review-3598179
Change 3598276 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3598332 by Mike.Beach
Guarding against a blind cast in the SteamVRChaperone component, which can be used cross platform (can't assume SteamVR).
Change 3605271 by Mike.Beach
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
Change 3608490 by Jeff.Fisher
UEVR-987 Social Screen PS4 need to go to 'mirroring' for hmd setup dialog because system dialogs are not visible in separate mode.
UEVR-988 SpectatorScreen Flickering
UE-47234 Spectator screen: need frame delay before assigning dynamically created rendertarget to spectator texture
UE-47310 Spectator Screen: crash if you release a render target which is assigned as the spectator texture
-Test level content for all of these bugs.
Change 3608883 by Jeff.Fisher
UEVR-807 Setup M_MRVidProcessing to use 3D garbage matte data.
-Set material to use the garbage matte render target.
Change 3613292 by Mike.Beach
Moving header fcn decl up, under the proper interface section (for organization's sake).
Change 3616943 by Nick.Whiting
Updating SteamVR libraries to 1.0.9, so we can bring back macOS support
Change 3616970 by Nick.Whiting
Adding in steamvr visible area mesh support. Can be toggled with vr.SteamVR.UseVisibleAreaMesh
Change 3617866 by Mike.Beach
Updating the VR template to reflect Oculus HMD device naming that we've keyed off of in these Blueprints (when determining which VR system we're running on).
Change 3620108 by Mike.Beach
[WIP] Adding an intermediate calibration step to tweak the MR virtual cam's alignment.
Change 3620982 by Mike.Beach
Tying off some loose ends with the MR calibration map:
* Saving after each calibration phase
* Fixing blocked input from garbage matte creation
* Blocking input handling while exiting/previewing
* Adding minimum radius for random screen pt
Change 3621551 by Mike.Beach
[MR] Leveraging camera support in the new media framework - working for limited cameras in calibration.
Change 3621552 by Mike.Beach
[MR calibration] - fixing it so when you first switch into compoisiting calibration it updates the property readout.
Change 3621660 by Mike.Beach
[MR calibration] Cleaning up how we display text (adding a struct to wrap the coresponding properties).
Change 3623323 by Dustin.Holmes
Fix buffer overflow when using 5+ Vive generic trackers and add more Special hand designations to cover the maximum 11 trackers Vive supports
Change 3625900 by Keli.Hlodversson
Remove fixed 16:9 aspect ratio for SteamVR and Oculus splash screens.
Oculus was already fixed in CL#3413801, but regressed with plugin renaming and unificiation with GearVR in CL#3502152.
#jira UE-40220 StereoLayer splash layers are hardcoded to 8 by 4.5 meters (16:9 aspect ratio)
Change 3628409 by Mike.Beach
Speculative CIS fix.
#jira UE-49339
Change 3628440 by Nick.Whiting
Fix for SteamVR OSX build issues
Change 3628489 by Nick.Whiting
Fix for win32 build break
Change 3629045 by Mike.Beach
Shadowed variable name fix (CIS).
Change 3629202 by Arciel.Rekman
Copying //UE4/Partner-Valve@3629179 to Dev-VR (//UE4/Dev-VR)
Change 3629340 by Nick.Atamas
Unshelved and resolved changes from Oculus.
Change 3629772 by Ryan.Vance
Fixing Oculus Vulkan related compile issues. This will break Oculus Vulkan support, but the code needs to be refactored anyway.
Change 3629833 by Mike.Beach
Fixing up CIS warning introduced by Oculus 1.17 changes - "unsafe conversion" warning
#jira UE-49376
Change 3630696 by Jeff.Fisher
UE-49415 //UE4/Dev-VR: Incremental UE4Editor Win64 completed with errors - 5 Errors
Switching an include to a forward declaration
-Not sure why the previous version didn't compile on the build machine, but fewer dependencies is good.
Change 3630783 by Mike.Beach
Fixing CIS compiler failures for our vehicle templates.
#jira UE-49417
Change 3630802 by Mike.Beach
Better fix than 3630783 - updating the vehicle template's stereoscopic check (fixing the VehicleHud.cpp logic as well)
#jira UE-49417
Change 3630870 by Mike.Beach
Pragma'ing out a function pointer cast warning. Good warning, but I figure we know what we're doing here and there's no other way around it.
#jira UE-49376
Change 3630993 by Ryan.Vance
Check to ensure we have a valid third camera before trying to use it.
We could check >= 3 or if the left and right cameras are left/right stereo etc. decided to go with the simple test for now.
Change 3631322 by Jeff.Fisher
UEVR-909 PIP in Garbage Matte
-Added ExternalGarbageMatteActor to MixedRealityGarbageMatteCaptureComponent and exposed it to blueprint though MixedRealityCaptureComponent. This lets us switch from using the normal mixed reality component save/load garbage matte data and instead use an external actor, in this case the actor we use to setup the garbage matte. Then the mask is able to capture that actor live as it is edited.
-Also implemented GetViewOwner() so that we can use SetOwnerOnlySee to prevent other cameras and captures from seeing the garbage matte actor.
-Calibration level now uses the external garbage matte actor to let the garbate matte mask live update. It also does a picture-in-picture preview of the mixed reality scene. 'P' can show/hide the garbage matte actor on that PIP preview.
-Added SetUnmaskedPixelHighlightColor to MixedRealityCaptureComponent and the material. With this one can make unmasked video pixels more obvious in the output. The calibration level has this mapped to shift-P and makes pixels bright yellow to white.
-Added blueprint to calibration level to make the garbage matte actor visible in the mixed reality capture. That is bound to ctrl-g.
-GarbageMatteActors spawned by the mixed reality capture component are now attached to the vr origin. The calibration level now saves garbage matte mesh transforms relative to the vr origin.
-The garbage matte mesh is now plugin content, and is referenced in the mixedrealitycomponent default object, so it is cooked in any project that includes the plugin.
-Fog and AtmosphericFog no longer affect the garbage matte mask capture... there may be other things we need to turn off there.
#review-3618345
#jira UEVR-909
Change 3631362 by Keli.Hlodversson
#jira UE-49418 Exiting Google Instant Preview displays half of the editor viewport as black.
Note convoluted fix: passing bIsStereoScopic3D to IsActiveThisFrame. ISceneViewExtension code cannot rely on StereoRenderingDevice->IsStereoEnabled to know whether to render in stereo, as the current viewport widget may disable it. This was not a problem before the refactoring, as HMD-related viewextensions were only added to the active list after establishing that stereo indeed was enabled and allowed by the current view port widget.
Change 3631887 by Jeff.Fisher
Fixing IsActiveThisFrame build break.
Change 3632206 by Nick.Atamas
Fix for UE-49413.
Registering FOculusHMD as an extensions the same way as others: now creates an XRCamera that passes all the calls back to the HMD.
Change 3632264 by Nick.Whiting
Fix for Vive rendering getting cropped off due to invalid subrect values being submitted to the compositor.
Change 3632340 by Nick.Atamas
Merged in change from Loren; opted for our solution to ViewExtensions instead of the one in the changelist.
Original description below.
Change 3632214 by Loren.McQuade@Loren.McQuade_Dev-VR on 2017/09/07 19:51:29 *pending*
[Dev-VR] Added OculusHMD_SceneViewExtension, PlayerPosition/PlayerOrientation values, FOculusHMD::GetRelativeEyePose cross-eyed madness (CL 3631541, 3631687)
Change 3632353 by Ryan.Vance
#jira UE-49468
Don't apply xr camera rotation on the player controller when not using xr tracking.
Change 3632735 by Keli.Hlodversson
Better fix for #jira UE-49413.
Revert oculus xr camera code and use that one can have more than one view extension registered instead.
Use GetPriority to have the OculusHMD view extension code execute after the default xr camera.
The xr camera subclass did not forward the calls to ISceneViewExtension to the parent, breaking various functionality such as late update.
Fixes a crash when entering VR pie twice, back to back.
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3633315 by Jeff.Fisher
merge from main with dev-platform problem children
-expecting SDRBackBuffer stuff to be wrong.
Change 3634006 by Mike.Beach
Resurecting Oculus clip plane settings which got dropped in the IXR refactor.
#jira UE-49520
Change 3634639 by Keli.Hlodversson
Avoid include cycle
https://ec-01.epicgames.net/commander/link/jobStepDetails/jobSteps/68863219?stepName=UE4Editor%20Static%20Analysis%20Win64%20%28IncludeTool%29&jobId=7995809&jobName=UE4%20Dev-VR%20-%20CL%203632752%20-%20Nightly%20Build&tabGroup=diagnosticHeader&firstPage=1
Change 3634641 by Jeff.Fisher
UE-49535 Lighting is blown out when playing in VR Preview on Vive
-Need pixel format to be PF_B8G8R8A8 for vr, now the plugins all build their render target and use that format.
#review-3634623
Change 3634682 by Jeff.Fisher
IHeadMountedDisplay forward declarations needed.
Change 3634690 by Ryan.Vance
We can't override the screen percentage when rendering for stereo
#jira UE-49287
Change 3635970 by Keli.Hlodversson
#jira UE-49563 Crash while opening QA-Game Referencing SharedPointer.h
Verify that StereoRendering is valid before calling IsStereoEnabled()
Change 3635979 by Mike.Beach
CIS static analysis fix - checking a ptr for null before we use it.
#jira UE-49531
Change 3636059 by Mike.Beach
Fixing XR system name aliasing for the -hmd command.
[CL 3638830 by Ryan Vance in Main branch]
2017-09-12 11:27:30 -04:00
return HMD - > GetSpectatorScreenController ( ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
}
return nullptr ;
}
}
bool UHeadMountedDisplayFunctionLibrary : : IsSpectatorScreenModeControllable ( )
{
return HMDFunctionLibraryHelpers : : GetSpectatorScreenController ( ) ! = nullptr ;
}
void UHeadMountedDisplayFunctionLibrary : : SetSpectatorScreenMode ( ESpectatorScreenMode Mode )
{
ISpectatorScreenController * const Controller = HMDFunctionLibraryHelpers : : GetSpectatorScreenController ( ) ;
if ( Controller )
{
Controller - > SetSpectatorScreenMode ( Mode ) ;
}
2017-09-25 14:08:25 -04:00
else
{
static FName PSVRName ( TEXT ( " PSVR " ) ) ;
if ( GEngine - > XRSystem . IsValid ( ) & & GEngine - > XRSystem - > GetSystemName ( ) = = PSVRName )
{
UE_LOG ( LogHMD , Warning , TEXT ( " SetSpectatorScreenMode called while running PSVR, but the SpectatorScreenController was not found. Perhaps you need to set the plugin project setting bEnableSocialScreenSeparateMode to true to enable it? Ignoring this call. " ) ) ;
}
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
}
void UHeadMountedDisplayFunctionLibrary : : SetSpectatorScreenTexture ( UTexture * InTexture )
{
ISpectatorScreenController * const Controller = HMDFunctionLibraryHelpers : : GetSpectatorScreenController ( ) ;
if ( Controller )
{
2017-07-21 21:01:33 -04:00
if ( ! InTexture )
{
UE_LOG ( LogHMD , Warning , TEXT ( " SetSpectatorScreenTexture blueprint function called with null Texture! " ) ) ;
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
Controller - > SetSpectatorScreenTexture ( InTexture ) ;
}
}
2018-10-10 13:34:48 -04:00
void UHeadMountedDisplayFunctionLibrary : : SetSpectatorScreenModeTexturePlusEyeLayout ( FVector2D EyeRectMin , FVector2D EyeRectMax , FVector2D TextureRectMin , FVector2D TextureRectMax , bool bDrawEyeFirst /* = true */ , bool bClearBlack /* = false */ , bool bUseAlpha /* = false */ )
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
{
ISpectatorScreenController * const Controller = HMDFunctionLibraryHelpers : : GetSpectatorScreenController ( ) ;
if ( Controller )
{
2018-10-10 13:34:48 -04:00
Controller - > SetSpectatorScreenModeTexturePlusEyeLayout ( FSpectatorScreenModeTexturePlusEyeLayout ( EyeRectMin , EyeRectMax , TextureRectMin , TextureRectMax , bDrawEyeFirst , bClearBlack , bUseAlpha ) ) ;
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3512802)
#lockdown Nick.Penwarden
#rb no.one
=====================================
MAJOR FEATURES + CHANGES
=====================================
Change 3060975 by Ryan.Vance
Integrating 3058175 from Oculus
Change 3466079 by Nick.Atamas
Added rudimentary collision support to MrMesh.
Change 3468111 by Mike.Beach
Give the SceneRender component's scene view a specific ViewActor (the component's owner). This lets us set bOnlyOwnerSee on components belonging to the same actor, and have it only showup in the render scene view.
Change 3468267 by Nick.Atamas
Now using non-interleaved data in MRMeshComponent
Change 3468475 by Mike.Beach
Initial checkin for new mixed reality plugin (WIP). New MixedReality capture component, intended to mimic a real world camera.
Copying //Tasks/UE4/Dev-MixedReality to Dev-VR-Minimal (//UE4/Dev-VR-Minimal)
#jira UEVR-795, UEVR-789
Change 3468483 by Mike.Beach
Marking the new MixedReality plugin as experimental (as it is incomplete and a WIP)
Change 3468511 by Mike.Beach
CIS fixes for fallout from CL 3468475.
Change 3469754 by Mike.Beach
CIS compiler error fixes (fallout from CL 3468475).
Change 3470407 by Mike.Beach
*sigh* more CIS fixes (fallout from 3468475)
Change 3471494 by Douglas.Copeland
Test content for GearVR Stereo Layers
Change 3476135 by Jeff.Fisher
UE-45661 Duplicate .so files in GoogleVR.
-We want the version of each file from the android_x86 style folder, but in the android\x86 folder, and the APL.xml file needed to reference the new path rather than the old path.
-This fix was also made in Release-4.16 for 4.16.2 in cl 3476133.
#jira UE-45661
#review-3474770
Change 3480446 by Dustin.Holmes
Added support for Vive Tracker.
#jira UEVR-792
Change 3480552 by Dustin.Holmes
Added map and gamemode for calibration
#jira UEVR-808
Change 3483325 by Nick.Atamas
Merging //UE4/Partner-Google-VR to Dev-VR (//UE4/Dev-VR)
Known issue with Mac build packaging.
Change 3485969 by Nick.Atamas
Fixed double-spacing and formatting issues.
Converted TangoEcefUtils.cpp to follow Epic coding standards.
Change 3486071 by Nick.Atamas
Rename/move file(s) from Plugins/Runtime/Tango/... to Plugins/Runtime/GoogleTango/...
Change 3486078 by Nick.Atamas
Fixed non-portable (wrong case) include path.
Change 3486906 by Jeff.Fisher
Fixing build warning about a variable being shadowed.
Change 3487245 by Jeff.Fisher
Fixing build break in some template source files from HeadMountedDisplayFunctionLibrary move.
Change 3487827 by Nick.Atamas
Fixing the missing platforms header; should resolve CIS warning.
Change 3488808 by Keli.Hlodversson
Fix vr.Debug.VisualizeTrackingSensors when ViewTarget->HasActiveCameraComponent() is true.
Also switched to use GWorld instead of passing in the current World argument to the handler as the world pointer can change for instance if turning the setting on and loading another level in the editor.
#jira UE-45949
Change 3490841 by Nick.Atamas
Fixing more CIS and coding standard issues related to Tango.
Change 3491038 by Nick.Atamas
Modified GoogleInstantPreview.Build.cs to use RuntimeDependencies instead of explicit dylib/dll copying.
Change 3492481 by Jeff.Fisher
Fixing HeadMountedDisplayTypes.h shadowed member warning.
Change 3495157 by Mike.Beach
New XR modular feature - XRDeviceAssets. Intended to give us access to device models so we can render arbitrary devices. Implements this for SteamVR.
#jira UEVR-829
Change 3495205 by Mike.Beach
CIS fix (fallout from 3495157) - missing leading 'template<>' for template specializations.
Change 3495213 by Mike.Beach
Fixing the vr.SpectatorScreenMode CVar so that it's sink function doesn't override other CVar commands that set the mode themselves.
#jira UEVR-790
Change 3495403 by Nick.Atamas
- Disabled Google Tango support for Win32.
- Disabled GoogleInstantPreview files being erroneously included while building game; it is only used by Editor.
- Renamed Tango.uplugin -> GoogleTango.uplugin
- Fixed self-assignment in TangoImageComponent.cpp
Change 3496225 by Mike.Beach
Fixing CIS compiler error for non-editor builds (fallout from CL 3495157).
Change 3496981 by Nick.Atamas
GoogleInstantPreview libraries are now checked into Binaries/ThirdParty/... so that no copying from .Build.cs is necessary.
Change 3497033 by Nick.Atamas
Going back from GoogleTango/ to Tango/. It's a bigger change that previously thought.
Change 3498487 by Nick.Whiting
Adding option to PIE settings to NOT minimize editor when doing VR PIE
Change 3499242 by Dustin.Holmes
Fixed static analysis warning by updating the number of devices that can have their button states tracked.
Change 3499341 by Nick.Atamas
Hopefully fixes Mac Editor CIS.
Change 3499395 by Arciel.Rekman
Copying //UE4/Partner-Valve@3499365 to Dev-VR (//UE4/Dev-VR)
Change 3499550 by Ryan.Vance
Fixing compile issue.
Change 3499678 by Nick.Atamas
- Dummy Mesh Reconsturctor now sometimes generates empty blocks to test more scenarios.
- Removed unused code in DummyMeshReconstructorModule
- Removed unused variable in GoogleInstantPreview.Build.cs
Change 3499840 by Nick.Atamas
std::string needed by google's online system.
Change 3499889 by Nick.Atamas
Fixed static code analysis CIS fails.
Change 3500007 by Nick.Whiting
Removing Vulkan RHI dependency on a plugin, refactoring it to use an interface to check to break the dependency
Change 3500027 by Nick.Whiting
Fixing missing include file in SteamAudio
Change 3500030 by Nick.Whiting
Changing cast from reinterp to static. Copypasta fail
Change 3500078 by Nick.Whiting
Speculative fix for the builder for an error that doesn't repro locally
Change 3500086 by Nick.Atamas
More build fixups.
Change 3500096 by Nick.Atamas
Copying //UE4/Partner-Google-VR-Minimal at CL3499964 to Dev-VR (//UE4/Dev-VR)
Change 3500107 by Nick.Atamas
Does this fix CIS?
Change 3500121 by Nick.Atamas
More CIS fixing, hopefully.
Change 3500129 by Nick.Atamas
More CIS fixing.
Change 3500713 by Nick.Whiting
Fix for Win32 build break
Change 3500887 by Arciel.Rekman
Fixed copyright notices and compilation errors in Steam Audio.
(Edigrating CL 3500131)
Change 3501010 by Arciel.Rekman
Fix shadowing error.
Change 3501230 by Nick.Atamas
Make warning go away.
Change 3501890 by Nick.Atamas
Moving Tango->GoogleTango. Fixup pass in next CL.
Change 3501900 by Jeff.Fisher
UE-46265 Crash attempting to Play in VR
-Need to call UpdateSpectatorScreenMode_RenderThread in PreRenderViewFamily_RenderThread so that the mode is set before other renderthread work decides what to do based on the mode.
#review-3501882
#jira UE-46256
Change 3502152 by Nick.Whiting
Oculus Unified Plugin. OculusHMD plugin now supports both the Rift and the GearVR in one plugin. Minor supporting engine modifications included
Change 3502199 by Nick.Atamas
Checking in TangoQA project with fixed-up content to point at GoogleTango plugin.
Known issue: crash when building cooking collision for bricks with no triangles.
Change 3502215 by Nick.Atamas
Fixed UIScale curve.
Change 3502253 by Nick.Whiting
Trying to fix up p4's botch of the merge
Change 3502930 by Mike.Beach
Attempt to fix build errors (fallout from CL 3502873), using new (moved/renamed) PhysX cook util struct.
Change 3503559 by Jeff.Fisher
UE-46300 Editor process crashes when opening with Oculus HMD plugged in
-Reimplementing spectator screen for updated oculus plugin.
#jira UE-46300
#review-3503455
Change 3503685 by Jeff.Fisher
TM-SpectatorScreen
-made the scene capture component follow the camera orientation so i can make it look at different stuff.
Change 3503695 by Nick.Whiting
Fixes for build breaks
Change 3503819 by Jeff.Fisher
TM-SpectatorScreen
-Adjusted scene capture and render target to get approximately correct color in the spectator screen.
Change 3503852 by Nick.Atamas
- Fixed crash when sending a brick with 0 data.
- Added implementation to ClearAllBricks.
Change 3503947 by Ryan.Vance
Fixing overspecified method definitions.
Change 3505242 by Douglas.Copeland
Added gamepad inputs to SpectatorScreen Level BP for more efficient test setup
Change 3505307 by Douglas.Copeland
Re-saving Emmissive_Blue Material to resolve map warning
Change 3505704 by Ryan.Vance
We can't pass a nullptr into RenderTexture_RenderThread. Instead of checking for a mirror window here, the RenderTexture_RenderThread implementation should do the right thing. Jeff's mirrorwindow/socialscreen refactoring should handle this correctly now.
Change 3505914 by Jeff.Fisher
UE-46370 Ensure handled when restarting Editor after disabling Oculus plugin
-remove scaling from the pose if necessary. It appears that when running oculus rift through steamvr the tracking reference comes through at .99 scale. We can't build a quat out of it unless it is normalized.
#jira UE-46370
#review-3505892
Change 3506650 by Jack.Porter
External Texture fixes changes from Dev-Sequencer
- fix ENGINE_API meaning singletons were existing in each module
- fix crash releasing an External RHITexture resource.
- Recache uniform expressions when external textures are registered and unregistered
Change 3506653 by Jack.Porter
Remove external texture logging that was accidentally enabled.
Change 3507043 by Mike.Beach
Fixing CIS content errors (copied material still referencing assets from a separate plugin) - redid the material.
Change 3507231 by Ryan.Vance
#jira UE-46426
Fail preinit on gearvr if bPackageForGearVR is false
Change 3507822 by Jeff.Fisher
UE-46445 Player can't move through level by holding one grip button in Editor VR Mode
-We were passing worldscalefactor, rather than worldscale into the get controller position function. WorldScaleFactor is worldscale / 100, making it a unitless multiplier of the world scale. So a *magical* 100 needs to be multipled back in here. Oculus must have found that and fixed it, looks like it was broken for 4.16.
#jira UE-46445
Change 3508167 by Jeff.Fisher
Fixing CheckSlow at startup on Oculus. The head pose orientation was being initialized to zero rather than identity, which isn't so useful.
Change 3509622 by Jeff.Fisher
Adding commented out null check to commented out implementation of ShouldDisableHiddenAndVisibileAreaMeshForSpectatorScreen_RenderThread.
Change 3509983 by Jeff.Fisher
Fixing vr.MirrorMode alias to vr.SpectatorScreenMode
-was trying to use a cvar that no longer exists
Change 3510188 by Ryan.Vance
#jira UE-46454
We need to set the render target before applying cached render targets.
Change 3510231 by Mike.Beach
Setting up redirects for the plugin, since it was renamed from "OculusLibrary" to "OculusHMD" - ensuring that projects don't loose references in Blueprints, etc.
#jira UE-46462
Change 3510253 by Ryan.Vance
#jira UE-46452
We need to execute the clear before seting up shader state for the copy.
Change 3511627 by Mike.Beach
Correcting some CIS warnings - Updating misc. GetWorldFromContextObject() calls since the old signature was deprecated by the latest Framework integration.
Change 3511984 by Mike.Beach
Fixing fallout from integration with Main (CL 3511845)... common shader file renamed (to .ush instead of .usf).
Change 3512797 by Mike.Beach
Static analysis fix - making doubly sure that we're not indexing into out of bounds memory.
Change 3512802 by Mike.Beach
Only warning about the OculusHMD module being unavailable when it isn't loaded (otherwise, we were extraneously warning when users didn't have a rift).
#jira UE-46575
DONE!
[CL 3512933 by Mike Beach in Main branch]
2017-06-27 23:02:31 -04:00
}
}
Copying //UE4/Dev-VR to //UE4/Dev-Main (Source: //UE4/Dev-VR @ 3764848)
#lockdown Nick.Penwarden
#rb no.one
============================
MAJOR FEATURES & CHANGES
============================
Change 3632752 by Keli.Hlodversson
Applying change 3632592 by Loren.McQuade@Loren.McQuade_Dev-VR_Branch on 2017/09/08 02:08:22
[Dev-VR] Push //UE4/Partner-Oculus@3632591 #rb merge
//UE4/Partner-Oculus to //UE4/Dev-VR/...
Reverted OculusHMD_XRCamera changes, as that clas has been removed in the interim.
Change 3633211 by Mike.Beach
Backing out Oculus MotionController hiding that accidently got submitted - we decided not to adopt this change originally.
Change 3640098 by Mike.Beach
Switching the MR capture processing material to use a external sampler now (since that's what media textures are marked as now).
Change 3642021 by Mike.Beach
Moving so MediaBlueprint header to Public so FMediaCaptureDevice can be used in other BP APIs (in other modules).
#jira UEVR-910
Change 3642030 by Mike.Beach
[WIP] Refactoring the MR capture component (along with the calibration level) so we can save off a reference to the video stream/format users select (adding a device selection step to calibration).
#jira UEVR-910
Change 3645768 by Mike.Beach
[WIP] Refining device selection/calibration so it reports which feeds error.
#jira UEVR-910
Change 3646047 by Mike.Beach
CIS linux fix.
Change 3646350 by Mike.Beach
[WIP] Provide an ini setting which you can explicitly prioritize a format selection for MR calibration (reflects the list in editor).
Change 3664526 by Keli.Hlodversson
#jira UE-50100
Updated library revision for GoogleVR
Unshelved from pending changelists '3646524', '3646526', '3646528'':
Change 3666500 by Keli.Hlodversson
Fix -Wreorder compiler warnings
Change 3678564 by Douglas.Copeland
Updating TM-HMDNodes LEvel BP to replace deprecated Tracking Sensor node
Change 3678919 by Mike.Beach
Extending and renaming the XRSystemAssets interface. Plus fixing a few bugs found in the SteamVR implementation.
Change 3678920 by Mike.Beach
Stubbing in Oculus support for a IXRSystemAssets implementation (currently using our own 'unofficial' models from the VREditor).
Change 3678922 by Mike.Beach
Adding XR Blueprint library functions for accessing specific device information (tracking, modeling, etc.).
Change 3678941 by Mike.Beach
CIS fixes for Dev-VR (fallout from CL 3678919)
Change 3679930 by Mike.Beach
Adding native support to MotionController components, for rendering the associated device.
Change 3681153 by Mike.Beach
Speculative fix for android CIS errors.
#jira UE-50776
Change 3697385 by Keli.Hlodversson
Fix broken OSVR build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3697516 by Keli.Hlodversson
Fix broken SimpleHMD build after removing IHeadMountedDisplay::GetHMDDeviceType()
Change 3698318 by Ryan.Vance
Inverse can fail if we don't normalize the player's rotation.
Change 3698371 by Keli.Hlodversson
GoogleVR projects fail to build: GoogleVRHMD.cpp(1175,110) : error: no member named 'ES2' in 'EShadingPath'
#jira UE-51334
Change 3701479 by Mike.Beach
Adding the ability to delay motion controller tracking for MR capture views (to better sync with camera feeds).
#jira UEVR-908
Change 3703264 by Mike.Beach
CIS fixes for linux (fallout from CL 3701479).
Change 3703792 by Ryan.Vance
Disable mobile multi-view for Daydream if the gvr query for support fails.
Change 3704273 by Mike.Beach
[WIP] The MRPlugin now auto spawns a MR capture actor if you have a MR config save file.
Change 3704524 by Mike.Beach
MR Calibration - Enter key can now progress you through some of the prompts.
Change 3706679 by Mike.Beach
Fixing issue with MotionController display models where the model component wouldn't be destroyed along with the MotionControllerComponent
Change 3707538 by Mike.Beach
Hiding child actors along with the player in the MR capture.
Change 3714120 by Mike.Beach
Adding new library function to transform tracking space positions/orientations into world space. And fixing EnumerateTrackedDevices/GetDevicePose, which weren't finding the appropriate tracking system.
Change 3716143 by Mike.Beach
Speculative fix for XboxOne CIS issues.
Change 3719006 by Mike.Beach
Removing some debug log spam that I accidently left in CL 3714120.
Change 3719774 by Mike.Beach
Adding a scoped event name for the rift eye padding draw (so it shows up named in captures like from RenderDoc).
Change 3719778 by Mike.Beach
Mirroring CL 3671849 from 4.18.
Removing Oculus call to reset tracking origin on initialization (so we respect the play space that was calibrated in oculus setup) - ensuring parity w/ Vive (fixing regression).
#jira UE-48260
Change 3736279 by Jeff.Fisher
Touching a couple files to see if it helps the build machine by making it sync them again.
Change 3736296 by Jeff.Fisher
Touching another file to kick the build machine into syncing it.
Change 3740060 by Ryan.Vance
Removing PostInitViewFamily_RenderThread and PostInitView_RenderThread view extension callbacks.
Change 3744913 by Mike.Beach
Fixing up the MotionDelayBuffer for MixedReality
- CIS fix when building for XboxOne
- Now works if late updating is disabled
- Switched to setting delay in millisecs and interpolating between samples
- Better handling for thread managment (was getting out of sync when focus was lost, etc.)
- Decoupled more from MotionControllerComponents (now polls separately, and uses its own LateUpdateManager to cache/apply)
#jira UEVR-908
Change 3747168 by Jeff.Fisher
UEVR-1018 MotionControllerComponent cleanup should be in beginDestroy, not Destructor
-Moved ViewExtension cleanup to BeginDestory from destructor.
-https://udn.unrealengine.com/questions/395504/strange-crash-in-umotioncontrollercomponent.html
#review-3724080
#jira UEVR-1018
Change 3753326 by Douglas.Copeland
Resaving qagame content to resolve Empty Engine Version Warning
Change 3753336 by Douglas.Copeland
Resolving more empty engine version content issues
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 3754262 by Mike.Beach
Mirroring 3726121 from 4.18.1
Correcting a cpu perf regression from 4.17 - no longer calling FOculusHMDModule::Get() in what should be a cheap query function.
#jira UE-51766
Change 3754278 by Mike.Beach
Mirroring CL 3741384 from 4.18.1
Fix from Oculus for GearVR crashing/freezing when quit menu is invoked - making sure JNI is attached to the render thread (after losing focus).
#jira UE-52098
Change 3754300 by Mike.Beach
Mirroring CL 3742608 from 4.18.1
Fix from Oculus - improving perf on GearVR; keeping the window surface from scaling up to a size not required for Gear.
#jira UE-52127
Change 3754319 by Mike.Beach
Build fix - fallout from blindly adopting CL 3726121 from 4.18.1 w/out fixup (CL 3754262)
Change 3755546 by Keli.Hlodversson
Marking a zombie header file for delete. Seems to get resurrected from the dead on every merge from main.
File is no longer relevant as the OculusAudio plugin has been moved to the Plugins/Runtime/Oculus parent directory.
Change 3759716 by Mike.Beach
Adopted chenges from Oculus (SI1.20)
Manually modified files:
- DefaultXRCamera.cpp
Rejected changes:
- SceneRenderTargets.cpp
#jira UE-50855, UE-50883, UE-50950, UE-50974, UE-52427
Change 3760918 by Keli.Hlodversson
Disable an ensure that had some false positives during the first few frames.
#jira UE-52448
Change 3760946 by Keli.Hlodversson
Missing SteamVR changes after deprecating RefreshPoses()
#jira UEVR-1037
Change 3762015 by Mike.Beach
CIS fix for android - fallout from Oculus 1.20 changes. Lib function was removed, with calls remaining on android (double checking with Oculus that this is the proper fix).
Change 3762236 by Ryan.Vance
Fixing up integration issues.
Change 3763437 by Keli.Hlodversson
Fix deprecation warning in SimpleHMD caused by removing RefreshPoses()
Change 3764713 by Ryan.Vance
#jira UE-52516
PSVR screen percentage was being disabled by default stereo layers on accident.
Change 3652413 by Mike.Beach
In editor, only utilizing the HMD orientation when we're in a VR related mode (VR preview, VR editor, etc.). Not normalizing view pitch rotation unless we're in one of those modes.
#jira UE-46724
Change 3690170 by Keli.Hlodversson
Postprocessing now uses only the HMDDistortion flag to see whether a postprocessing pass is required for the current plugin instead of the older clutch that checks the plugin HMD type
Added EShaderPath argument to GetHMDDistorionEnabled method so that the edge cases solved by the postprocessor and HMD type now can be handled by the plugins themselves.
#jira UEVR-996
Change 3690625 by Keli.Hlodversson
Remove IHeadMountedDisplay::GetHMDDeviceType() as it was added as a part of a clutch in postprocessing, but was later getting misused as a poor man's RTI even though a better alternative in IXRTrackingSystem::GetSystemName is already available.
#jira UEVR-996
Change 3760773 by Keli.Hlodversson
Update interfaces related to late update and begin rendering:
* Deprecate RefreshPoses
Note: Existing and non-empty RefreshPoses implementations have been made private and non-virtual, and renamed to UpdatePoses in order not to conflict with the still-existing deprecated method in the base interface.
* Rename BeginRendering_GameThread/RenderThread to OnBeginRendering_* and move them to IXRTrackingSystem instead of IHeadMountedDisplay.
* Add bool DoesSupportLateUpdate() const to IXRTrackingSystem. IXRCamera implementations can use the method to see whether the underlying tracking system implementation supports late update. Note it is up to the IXRTrackingSystem implementations inside each plugin to actually make sure poses are updated somewhere before the late update is applied by the IXRCamera. (eg. in OnBeginRendering_RenderThread or ..._GameThread)
* Move call to OnBeginRedering_RenderThread to happen before GetCurrentPose in FXRDefaultCamera so the plugin has a chance to refresh the poses inside its implementation of it.
* Add IXRTrackingSystem::OnLateUpdateApplied_RenderThread, a method for notifying the tracking system that late update has been applied, passing in the current relative pose. Used by FXRTrackingSystemBase to pass the updated transform to the stereo layers implementation.
#jira UEVR-1037
Change 3761781 by Mike.Beach
Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
Manually resolved files:
- OculusHMD.cpp
- OculusHMD_Settings.h/cpp
- SteamVRHMD.cpp
- PostProcessing.cpp
- OrionGame/Plugins/.../OnlineSessionInterface.h/cpp
[CL 3766571 by Mike Beach in Main branch]
2017-11-20 12:50:04 -05:00
TArray < FXRDeviceId > UHeadMountedDisplayFunctionLibrary : : EnumerateTrackedDevices ( const FName SystemId , EXRTrackedDeviceType DeviceType )
{
TArray < FXRDeviceId > DeviceListOut ;
// @TODO: It seems certain IXRTrackingSystem's aren't registering themselves with the modular feature framework. Ideally we'd be loop over them instead of picking just one.
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
if ( SystemId . IsNone ( ) | | TrackingSys - > GetSystemName ( ) = = SystemId )
{
TArray < int32 > DeviceIds ;
TrackingSys - > EnumerateTrackedDevices ( DeviceIds , DeviceType ) ;
DeviceListOut . Reserve ( DeviceListOut . Num ( ) + DeviceIds . Num ( ) ) ;
for ( const int32 & DeviceId : DeviceIds )
{
DeviceListOut . Add ( FXRDeviceId ( TrackingSys , DeviceId ) ) ;
}
}
}
return DeviceListOut ;
}
void UHeadMountedDisplayFunctionLibrary : : GetDevicePose ( const FXRDeviceId & XRDeviceId , bool & bIsTracked , FRotator & Orientation , bool & bHasPositionalTracking , FVector & Position )
{
bIsTracked = false ;
bHasPositionalTracking = false ;
// @TODO: It seems certain IXRTrackingSystem's aren't registering themselves with the modular feature framework. Ideally we'd be loop over them instead of picking just one.
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
if ( XRDeviceId . IsOwnedBy ( TrackingSys ) )
{
FQuat QuatRotation ;
if ( TrackingSys - > GetCurrentPose ( XRDeviceId . DeviceId , QuatRotation , Position ) )
{
bIsTracked = true ;
bHasPositionalTracking = TrackingSys - > HasValidTrackingPosition ( ) ;
Orientation = FRotator ( QuatRotation ) ;
}
else
{
Position = FVector : : ZeroVector ;
Orientation = FRotator : : ZeroRotator ;
}
}
}
}
void UHeadMountedDisplayFunctionLibrary : : GetDeviceWorldPose ( UObject * WorldContext , const FXRDeviceId & XRDeviceId , bool & bIsTracked , FRotator & Orientation , bool & bHasPositionalTracking , FVector & Position )
{
GetDevicePose ( XRDeviceId , bIsTracked , Orientation , bHasPositionalTracking , Position ) ;
const FTransform TrackingToWorld = GetTrackingToWorldTransform ( WorldContext ) ;
Position = TrackingToWorld . TransformPosition ( Position ) ;
FQuat WorldOrientation = TrackingToWorld . TransformRotation ( Orientation . Quaternion ( ) ) ;
Orientation = WorldOrientation . Rotator ( ) ;
}
2018-06-20 14:28:10 -04:00
bool UHeadMountedDisplayFunctionLibrary : : IsDeviceTracking ( const FXRDeviceId & XRDeviceId )
{
bool bIsTracked = false ;
// @TODO: It seems certain IXRTrackingSystem's aren't registering themselves with the modular feature framework. Ideally we'd be loop over them instead of picking just one.
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
if ( XRDeviceId . IsOwnedBy ( TrackingSys ) )
{
bIsTracked = TrackingSys - > IsTracking ( XRDeviceId . DeviceId ) ;
}
}
return bIsTracked ;
}
2020-09-24 00:43:27 -04:00
void UHeadMountedDisplayFunctionLibrary : : GetHMDData ( UObject * WorldContext , FXRHMDData & HMDData )
{
HMDData . bValid = false ;
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
TrackingSys - > GetHMDData ( WorldContext , HMDData ) ;
}
}
void UHeadMountedDisplayFunctionLibrary : : GetMotionControllerData ( UObject * WorldContext , const EControllerHand Hand , FXRMotionControllerData & MotionControllerData )
{
MotionControllerData . bValid = false ;
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
TrackingSys - > GetMotionControllerData ( WorldContext , Hand , MotionControllerData ) ;
}
}
bool UHeadMountedDisplayFunctionLibrary : : ConfigureGestures ( const FXRGestureConfig & GestureConfig )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
return TrackingSys - > ConfigureGestures ( GestureConfig ) ;
}
return false ;
}
2022-05-13 18:29:11 -04:00
bool UHeadMountedDisplayFunctionLibrary : : GetCurrentInteractionProfile ( const EControllerHand Hand , FString & InteractionProfile )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
return TrackingSys - > GetCurrentInteractionProfile ( Hand , InteractionProfile ) ;
}
return false ;
}
2020-09-24 00:43:27 -04:00
/** Connect to a remote device for Remote Debugging */
EXRDeviceConnectionResult : : Type UHeadMountedDisplayFunctionLibrary : : ConnectRemoteXRDevice ( const FString & IpAddress , const int32 BitRate )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
return TrackingSys - > ConnectRemoteXRDevice ( IpAddress , BitRate ) ;
}
return EXRDeviceConnectionResult : : NoTrackingSystem ;
}
void UHeadMountedDisplayFunctionLibrary : : DisconnectRemoteXRDevice ( )
{
IXRTrackingSystem * TrackingSys = GEngine - > XRSystem . Get ( ) ;
if ( TrackingSys )
{
TrackingSys - > DisconnectRemoteXRDevice ( ) ;
}
}
void UHeadMountedDisplayFunctionLibrary : : SetXRDisconnectDelegate ( const FXRDeviceOnDisconnectDelegate & InDisconnectedDelegate )
{
OnXRDeviceOnDisconnectDelegate = InDisconnectedDelegate ;
}
void UHeadMountedDisplayFunctionLibrary : : SetXRTimedInputActionDelegate ( const FName & ActionName , const FXRTimedInputActionDelegate & InDelegate )
{
OnXRTimedInputActionDelegateMap . Add ( ActionName , InDelegate ) ;
}
void UHeadMountedDisplayFunctionLibrary : : ClearXRTimedInputActionDelegate ( const FName & ActionName )
{
OnXRTimedInputActionDelegateMap . Remove ( ActionName ) ;
}
2021-11-23 11:41:31 -05:00
bool UHeadMountedDisplayFunctionLibrary : : GetControllerTransformForTime ( UObject * WorldContext , const int32 ControllerIndex , const FName MotionSource , FTimespan Time , bool & bTimeWasUsed , FRotator & Orientation , FVector & Position , bool & bProvidedLinearVelocity , FVector & LinearVelocity , bool & bProvidedAngularVelocity , FVector & AngularVelocityRadPerSec , bool & bProvidedLinearAcceleration , FVector & LinearAcceleration )
2020-09-24 00:43:27 -04:00
{
TArray < IMotionController * > MotionControllers = IModularFeatures : : Get ( ) . GetModularFeatureImplementations < IMotionController > ( IMotionController : : GetModularFeatureName ( ) ) ;
for ( auto MotionController : MotionControllers )
{
if ( MotionController = = nullptr )
{
continue ;
}
const float WorldToMetersScale = WorldContext ? WorldContext - > GetWorld ( ) - > GetWorldSettings ( ) - > WorldToMeters : 100.0f ;
2021-11-23 11:41:31 -05:00
const bool bGotTransform = MotionController - > GetControllerOrientationAndPositionForTime ( ControllerIndex , MotionSource , Time , bTimeWasUsed , Orientation , Position , bProvidedLinearVelocity , LinearVelocity , bProvidedAngularVelocity , AngularVelocityRadPerSec , bProvidedLinearAcceleration , LinearAcceleration , WorldToMetersScale ) ;
2020-09-24 00:43:27 -04:00
if ( bGotTransform )
{
// transform to world space
const FTransform TrackingToWorld = GetTrackingToWorldTransform ( WorldContext ) ;
Position = TrackingToWorld . TransformPosition ( Position ) ;
Orientation = TrackingToWorld . TransformRotation ( FQuat ( Orientation ) ) . Rotator ( ) ;
if ( bProvidedLinearVelocity )
{
LinearVelocity = TrackingToWorld . TransformVector ( LinearVelocity ) ;
}
if ( bProvidedAngularVelocity )
{
AngularVelocityRadPerSec = TrackingToWorld . TransformVector ( AngularVelocityRadPerSec ) ;
}
return true ;
}
}
return false ;
}
2021-05-25 02:43:26 -04:00
FVector2D UHeadMountedDisplayFunctionLibrary : : GetPlayAreaBounds ( TEnumAsByte < EHMDTrackingOrigin : : Type > InOrigin )
{
if ( GEngine - > XRSystem . IsValid ( ) )
{
EHMDTrackingOrigin : : Type Origin = EHMDTrackingOrigin : : Stage ;
switch ( InOrigin )
{
case EHMDTrackingOrigin : : Eye :
Origin = EHMDTrackingOrigin : : Eye ;
break ;
case EHMDTrackingOrigin : : Floor :
Origin = EHMDTrackingOrigin : : Floor ;
break ;
case EHMDTrackingOrigin : : Stage :
Origin = EHMDTrackingOrigin : : Stage ;
break ;
default :
break ;
}
return GEngine - > XRSystem - > GetPlayAreaBounds ( Origin ) ;
}
return FVector2D : : ZeroVector ;
}
2021-06-22 00:27:54 -04:00
void UHeadMountedDisplayFunctionLibrary : : BreakKey ( FKey InKey , FString & InteractionProfile , EControllerHand & Hand , FName & MotionSource , FString & Indentifier , FString & Component )
{
TArray < FString > Tokens ;
if ( InKey . ToString ( ) . ParseIntoArray ( Tokens , TEXT ( " _ " ) ) = = EKeys : : NUM_XR_KEY_TOKENS )
{
InteractionProfile = Tokens [ 0 ] ;
Hand = Tokens [ 1 ] = = TEXT ( " Right " ) ? EControllerHand : : Right : EControllerHand : : Left ;
MotionSource = FName ( Tokens [ 1 ] ) ;
Indentifier = Tokens [ 2 ] ;
Component = Tokens [ 3 ] ;
}
else
{
InteractionProfile . Reset ( ) ;
Hand = EControllerHand : : AnyHand ;
MotionSource = NAME_None ;
Indentifier . Reset ( ) ;
Component . Reset ( ) ;
}
}