Files
UnrealEngineUWP/Engine/Source/Runtime/PhysicsCore/Private/PhysXLibs.cpp

238 lines
7.7 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
PhysXLibs.cpp: PhysX library imports
=============================================================================*/
#include "PhysicsCore.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 "Misc/Paths.h"
#include "HAL/FileManager.h"
#include "HAL/PlatformProcess.h"
#include "HAL/PlatformFileManager.h"
#include "GenericPlatform/GenericPlatformFile.h"
// PhysX library imports
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
namespace PhysDLLHelper
{
const static int32 NumModuleLoadRetries = 5;
const static float ModuleReloadDelay = 0.5f;
#if PLATFORM_WINDOWS || PLATFORM_HOLOLENS || PLATFORM_MAC
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
void* PxFoundationHandle = nullptr;
void* PhysX3CommonHandle = nullptr;
void* PhysX3Handle = nullptr;
void* PxPvdSDKHandle = nullptr;
void* PhysX3CookingHandle = nullptr;
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
void* nvToolsExtHandle = nullptr;
#endif
#if PLATFORM_WINDOWS || PLATFORM_HOLOLENS
FString PhysXBinariesRoot = TEXT("Binaries/ThirdParty/PhysX3/");
FString APEXBinariesRoot = TEXT("Binaries/ThirdParty/PhysX3/");
FString SharedBinariesRoot = TEXT("Binaries/ThirdParty/PhysX3/");
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#if _MSC_VER >= 1900
FString VSDirectory(TEXT("VS2015/"));
#else
#error "Unrecognized Visual Studio version."
#endif
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#if PLATFORM_64BITS
#if PLATFORM_HOLOLENS
FString RootPhysXPath(PhysXBinariesRoot + TEXT("HoloLens/") + VSDirectory);
FString RootAPEXPath(APEXBinariesRoot + TEXT("HoloLens/") + VSDirectory);
FString RootSharedPath(SharedBinariesRoot + TEXT("HoloLens/") + VSDirectory);
#else
FString RootPhysXPath(PhysXBinariesRoot + TEXT("Win64/") + VSDirectory);
FString RootAPEXPath(APEXBinariesRoot + TEXT("Win64/") + VSDirectory);
FString RootSharedPath(SharedBinariesRoot + TEXT("Win64/") + VSDirectory);
#endif
#if PLATFORM_CPU_X86_FAMILY
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
FString ArchName(TEXT("_x64"));
FString ArchBits(TEXT("64"));
#elif PLATFORM_CPU_ARM_FAMILY
FString ArchName(TEXT("_arm64"));
FString ArchBits(TEXT("arm64"));
#endif
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#else
#if PLATFORM_HOLOLENS
FString RootPhysXPath(PhysXBinariesRoot + TEXT("HoloLens/") + VSDirectory);
FString RootAPEXPath(APEXBinariesRoot + TEXT("HoloLens/") + VSDirectory);
FString RootSharedPath(SharedBinariesRoot + TEXT("HoloLens/") + VSDirectory);
#else
FString RootPhysXPath(PhysXBinariesRoot + TEXT("Win32/") + VSDirectory);
FString RootAPEXPath(APEXBinariesRoot + TEXT("Win32/") + VSDirectory);
FString RootSharedPath(SharedBinariesRoot + TEXT("Win32/") + VSDirectory);
#endif
#if PLATFORM_CPU_X86_FAMILY
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
FString ArchName(TEXT("_x86"));
FString ArchBits(TEXT("32"));
#elif PLATFORM_CPU_ARM_FAMILY
FString ArchName(TEXT("_arm"));
FString ArchBits(TEXT("arm"));
#endif
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#endif
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
#ifdef UE_PHYSX_SUFFIX
FString PhysXSuffix(TEXT(PREPROCESSOR_TO_STRING(UE_PHYSX_SUFFIX)) + ArchName + TEXT(".dll"));
#else
FString PhysXSuffix(ArchName + TEXT(".dll"));
#endif
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3058661) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3038116 on 2016/07/05 by James.Golding Resave QA-Promotion with new heightfield GUID to fix crash on load (broken DDC in Guildford) Change 3038271 on 2016/07/05 by Lukasz.Furman fixed bug with instanced behavior tree nodes writing over memory of other nodes #jira UE-32789 Change 3038295 on 2016/07/05 by Lukasz.Furman changed behavior tree node injection to modify shared template instead of switching nodes to instanced fixes GC reference chain between AI using the same behavior tree Change 3038504 on 2016/07/05 by Zak.Middleton #ue4 - Fix typo in comment (debugging arrow). github #2352 #jira 30255 Change 3039151 on 2016/07/06 by James.Golding UE-30046 Add bAllowCPUAccess flag to UStaticMesh Change 3039281 on 2016/07/06 by Ori.Cohen Fix attached partially simulating ragdolls not moving with actor. #JIRA UE-32830 Change 3039286 on 2016/07/06 by Benn.Gallagher Fixed crash with large clothing simulation meshes. Extended max verts from ~16k to ~65k and made it so you can no longer force import clothing above the maximum threshold that the vertex buffer is allowed to hold. Change 3039313 on 2016/07/06 by Benn.Gallagher Enabled override of angular joint bias on AnimDynamics Change 3039335 on 2016/07/06 by Ori.Cohen Fixed skeletal mesh components with non simulated root bodies incorrectly detaching from component hierarchy. #JIRA UE-32833 Change 3039412 on 2016/07/06 by Ori.Cohen PR #2382: Bug when setting constraint orientation using axes parameters (Contributed by DaveC79) #JIRA UE-30725 Change 3039799 on 2016/07/06 by Tom.Looman - Renamed SuggestProjectileVelocity_MediumArc to _CustomArc and added support for high/low arcs using float param. (Migrated from Odin) - Fixed bug in override gravity for the suggest projectile velocity functions. Change 3039903 on 2016/07/06 by Ori.Cohen Ensure that skeletal mesh components do NOT teleport unless explicitly asked to. Change 3039932 on 2016/07/06 by Lina.Halper Merging using //Orion/Dev-General_to_//UE4/Dev-Framework serialize crash is always bad, so dupe checkin. Change 3040059 on 2016/07/06 by Ori.Cohen Fix bug where FixedFramerate was only clamping delta times that were above (very slow delta time was not getting changed to the fixed framerate) #JIRA UE-32730 Change 3040203 on 2016/07/06 by Jon.Nabozny Fix scaling multiple selected Actors by changing scale-base translation calculations to local space. #jira UE-32357 Change 3040211 on 2016/07/06 by Ori.Cohen Fix constraints being unselectable in phat when a render mesh is on top #JIRA UE-32479 Change 3040273 on 2016/07/06 by Ori.Cohen Fix vehicle drag adding instead of removing energy when in reverse. #JIRA UE-28957 Change 3040293 on 2016/07/06 by Zak.Middleton #ue4 - Add FMath::ClosestPointOnInfiniteLine() to distinguish it from the (poorly named) ClosestPointOnLine() that actually works on segments. Change 3040325 on 2016/07/06 by Zak.Middleton #ue4 - Avoid checking for "client only" builds when recording demos. It could be a demo recording in standalone. Minor impact to previous optimization. #udn https://udn.unrealengine.com/questions/301595/412-413-regression-in-actorgetnetmode.html Change 3040950 on 2016/07/07 by Thomas.Sarkanen Removed GWorld from FTimerManager Switched LastAssignedHandle to a static member. #jira UE-31485 - Remove GWorld from FTimerManager Change 3041054 on 2016/07/07 by Jon.Nabozny Fix warning about negation operator on FRotator introduced in CL 3040203. Change 3041214 on 2016/07/07 by Ori.Cohen Fix hit events on skeletal mesh component not respecting the AND between skeletal mesh component and the ragdoll bodies #JIRA UE-29538 Change 3041319 on 2016/07/07 by James.Golding UE-29771 - Rename LocalAtoms to BoneSpaceTransforms - Rename SpaceBases to ComponentSpaceTransforms Change 3041432 on 2016/07/07 by James.Golding UE-30937 Add FindCollisionUV util to GameplayStatics, but only works if you set new bSupportUVFromHitResults flag in PhysicsSettings, as we need to store UV info in the BodySetup. This is kept with the cooked mesh data in the DDC. Also remove PhysicsSettings.h from PhysicalMaterial.h Change 3041434 on 2016/07/07 by James.Golding Improve comment on UStaticMesh::bAllowCPUAccess Change 3041701 on 2016/07/07 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3041498 Change 3041760 on 2016/07/07 by Ori.Cohen Fix bug where turning collision off and on for a welded root body would not re-weld child bodies. #JIRA UE-32438 Change 3041771 on 2016/07/07 by Marc.Audy Add GetParentActor convience accessor Change 3041798 on 2016/07/07 by Marc.Audy Don't double call BeginPlay on ChildActors when loading sublevels (4.12) #jira UE-32772 Change 3041857 on 2016/07/07 by Jon.Nabozny Allow modifying and reading EnableGravity flags on individual bones within a SkeletalMeshComponent via BoneName. #jira UE-32272 Change 3041914 on 2016/07/07 by Marc.Audy Fix mismatch function prototype Change 3042041 on 2016/07/07 by Jon.Nabozny Fix CIS issue introduced by CL 3041857 Change 3042402 on 2016/07/08 by James.Golding Fix CIS after no longer globally including PhysicsSettings.h Change 3042517 on 2016/07/08 by Martin.Wilson Fix root motion when actor and component transforms do not match #jira UE-32944 Change 3043021 on 2016/07/08 by mason.seay Assets for testing poses Change 3043246 on 2016/07/08 by Marc.Audy Eliminate USoundWave::CompressionName Add USoundWave::HasCompressedFormat #jira UE-32546 Change 3044376 on 2016/07/11 by James.Golding - UE-32907 : Change UStaticMesh::GetPhysicsTriMeshData to only return required verts (ie will not return verts of sections with collision disabled) - Add UVInfo mem usage to UBodySetup::GetResourceSize - Remove BodySetup.h from EnginePrivate.h - Remove outdated comment in PhysUtils.cpp Change 3044464 on 2016/07/11 by Ori.Cohen Fix CIS #JIRA UE-33005 Change 3044519 on 2016/07/11 by Ori.Cohen PR #2379: Option to Generate Overlaps for Actor during Level Streaming (Contributed by error454) #JIRA UE-30712 Change 3044774 on 2016/07/11 by Zak.Middleton #ue4 - Fix typos in comments. Change 3044854 on 2016/07/11 by Mieszko.Zielinski Made AI sight's default trace channel configurable and set it to ECC_Visibility #UE4 #jira UE-32013 Change 3044855 on 2016/07/11 by Mieszko.Zielinski Fixed BB key selectors not being resolved properly in BP implemented nodes #UE4 #jira UE-32458 Change 3044887 on 2016/07/11 by Zak.Middleton #ue4 - Added new Blueprint library math/vector functions: FindClosestPointOnSegment, FindClosestPointOnLine, GetPointDistanceToSegment, GetPointDistanceToLine. - Fixed comments on FindNearestPointsOnLineSegments. - Fixed comments on FMath::PointDistToLine, and renamed "Line" parameter to "Direction". Merge CL 3036162. Change 3044910 on 2016/07/11 by Mieszko.Zielinski Fixed AISense_Sight not reporting any hits on ECC_Visibility channel #UE4 Change 3045144 on 2016/07/11 by Lukasz.Furman exposed pathfollowing's reach test modifier: goal radius as parameter of move request Change 3045174 on 2016/07/11 by Marc.Audy Remove incorrect SetMobility reference from comment #jira UE-30492 Change 3045233 on 2016/07/11 by Marc.Audy Correct function name in warning Change 3045284 on 2016/07/11 by mason.seay Test Assets for pose blending Change 3045342 on 2016/07/11 by Michael.Noland PR #2284: Added PAPER2D_API to FSpriteDrawCallRecord (Contributed by grisevg) #jira UE-29522 Change 3045343 on 2016/07/11 by Michael.Noland PR #2533: Fixed bug that caused the tabs in the Flipbook, Sprite, and CodeProject editors to show the editor name rather than the asset name (Contributed by DevVancouver) #jira UE-32403 Change 3045344 on 2016/07/11 by Michael.Noland Paper2D: Fixed BP-created tile map components being incapable of having collision generated for them (still requires calling SetLayerCollision with rebuild=true or RebuildCollision) Paper2D: Exposed the ability to directly rebuild collision on a UPaperTileMap #jira UE-31632 Change 3045382 on 2016/07/11 by Ori.Cohen Expose mobility filtering query params. Allows users to filter out static mobility for example from scene queries. #JIRA UE-29937 Change 3045529 on 2016/07/11 by Zak.Middleton #ue4 - Improve comment about FFindFloorResult.bBlockingHit, explaining it is a valid blocking hit that was not in penetration. Other conditions can be determined from the HitResult itself. Change 3045601 on 2016/07/11 by Michael.Noland Paper2D: Expose UPaperTileMap and UPaperTileSet as BlueprintType #jira UE-20962 Change 3046039 on 2016/07/12 by Jurre.deBaare Instanced HLOD materials to reduce permutations + compilation time Change 3046147 on 2016/07/12 by Ori.Cohen PR #1615: Traceworldforposition should trace async scene too #JIRA UE-21728 Change 3046180 on 2016/07/12 by Ori.Cohen Introduce a shape complexity project setting #JIRA UE-31159 Change 3046280 on 2016/07/12 by Ori.Cohen Change physics blend weights to only affect rendering data. For effects that require updating physx we recommend using the new physical animation component. #JIRA UE-31525, UE-19252 Change 3046282 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though #jira UE-32626 Change 3046284 on 2016/07/12 by Benn.Gallagher Fix for crash or notify corruption when reverting the "Event" struct in montage notify editor. - Made default slot 0, as a montage should always have at least one slot - Made it impossible to revert the "Event" struct as it contains stuff that shouldn't be reverted. Can still revert its members though (2nd CL, missed file) #jira UE-32626 Change 3046416 on 2016/07/12 by Jon.Nabozny PR #2512: Change InstancedStaticMesh allow transform update to teleport (Contributed by joelmcginnis) #jira UE32123 Change 3046428 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit grouped sprites (caused by bad normals on any grouped sprites that were rotated away from (0,0,0)) #jira UE-33055 Change 3046429 on 2016/07/12 by Michael.Noland Paper2D: Fixed inconsistent lighting on lit tilemaps in standalone or cooked builds (caused by trying to use the canonical Paper2D tangent basis before it has been initialized) #jira UE-25994 Change 3046475 on 2016/07/12 by Ori.Cohen Added strength multiplyer for physical animation #JIRA UE-33075 Change 3046518 on 2016/07/12 by Ori.Cohen Make sure to refresh contact points when turning simulation on for bodies. #JIRA UE-31286 Change 3046658 on 2016/07/12 by Ori.Cohen Fix the case where setting body blend weight doesn't turn off blend override. Change 3046720 on 2016/07/12 by Ori.Cohen Added option to allow skeletal mesh simulation to NOT affect component transform. #JIRA UE-33089 Change 3046908 on 2016/07/12 by Ori.Cohen Fix welded body not properly unwelding when in a chain of welded bodies #JIRA UE-32531 Change 3047015 on 2016/07/12 by Lukasz.Furman fixed nested repath requests Change 3047102 on 2016/07/12 by Ori.Cohen Added physics component to content example Change 3047848 on 2016/07/13 by Ori.Cohen Expose transform update mode to phat #JIRA UE-33227 Change 3047853 on 2016/07/13 by Ori.Cohen Update physical animation level and content. Was missing some blueprints Change 3047897 on 2016/07/13 by Ori.Cohen PR #2066: PhysX: Remove copy-paste code from LoadPhysXModules (Contributed by bozaro) #JIRA UE-27102 Change 3048026 on 2016/07/13 by Benn.Gallagher Altered reference gathering for retargetting to consider nodes in the Ubergraph. This catches refrerences as variables in the event graph and default values on event graph pins. #jira UE-23823 Change 3048592 on 2016/07/13 by Marc.Audy Change check when physics state exists but not registered to ensure and add additional logging information. #jira UE-32935 Change 3048790 on 2016/07/13 by Ori.Cohen Fix CIS for shipping physx builds. #JIRA UE-33246 Change 3048801 on 2016/07/13 by Ori.Cohen Update RootBodyTransform when ref skeleton has offset Change 3048891 on 2016/07/13 by Marc.Audy Fix copy paste bug with AudioComponent::SetPitchMultiplier Change 3049549 on 2016/07/14 by Thomas.Sarkanen Prevented stale anim asset references from persisting in wired pins Made sure to clear out the old asset in asset players when pins are made/destroyed. This requires a temporary string reference to the asset in UAnimGraphNode_AssetPlayerBase. Fixed up anim getters to properly use pin-default assets (previously they used the internal asset ptr that was not guaranteed to be in sync). Also fixe dup error messaging to be a bit more helpful when editing transition rules. Fixed up the various animation asset players to correctly display names when the asset is not set internally. Also correctly report compilation errors when pins are connected. Moved FA3NodeOptionalPinManager to new file ane renamed to FAnimBlueprintNodeOptionalPinManager to avoid circular includes. #jira UE-31015 - Asset Pins Keep Reference To Old 'Static' Asset Change 3049576 on 2016/07/14 by Thomas.Sarkanen Fix CIS linker errors Change 3049611 on 2016/07/14 by Benn.Gallagher Fixed "Isolate" checkbox in Persona mesh details not working on sections with clothing assigned (previously disabled drawing for all sections) Fixed "Highlight" checkbox in Persona mesh details not working after Section/Chunk refactor #jira UE-31016 #jira UE-33061 Change 3049663 on 2016/07/14 by Benn.Gallagher CIS fix after Persona render fixes Change 3049794 on 2016/07/14 by Marc.Audy Some cleanup and ensuring ActiveSound adds references to all of its used assets Change 3049823 on 2016/07/14 by Tom.Looman Added Player Connect and Disconnect Multicast Events to GameMode PR #2398: Player Connect and Disconnect Multicast Events (for Plugins) (Contributed by dreckard) Change 3049896 on 2016/07/14 by Ori.Cohen Fix cases where updating welded bodies is causing physx body to ignore the kinematic flag. #JIRA UE-31660 Change 3049921 on 2016/07/14 by Benn.Gallagher PR #2294: Reduce PhysX simulate() memory churn (Contributed by roberttroughton) - Modifications: Per PxScene buffers, 16 byte alignment required for simulate call, skip clothing scenes (unused, we simulate per-actor) #jira UE-29573 Change 3049929 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3049956 on 2016/07/14 by Zak.Middleton #ue4 - Back out changelist 3049929 until I fix CastChecked<> compile issue. Change 3049992 on 2016/07/14 by Jon.Nabozny Fix infite jumps when JumpMaxHoldTime is set. Also, allow multi-jumping out of the box. #JIRA: UE-31601 Change 3050017 on 2016/07/14 by James.Golding PR #2412: Make CalcSceneView and GetProjectionData in ULocalPlayer virtual (Contributed by yehaike) Change 3050061 on 2016/07/14 by Zak.Middleton #ue4 - Make GetDefault<T>(UClass*) assert that the class is castable to T. Change 3050254 on 2016/07/14 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3049614 Change 3050416 on 2016/07/14 by mason.seay Test map and asset for slicing proc meshes Change 3050881 on 2016/07/14 by Zak.Middleton #ue4 - Make FSavedMove_Character::CanCombineWith easier to debug. Consolidate duplicate code to one block. github #2047 Change 3051401 on 2016/07/15 by Thomas.Sarkanen Prevented animation from restarting each time a new section is selected/inspected in the montage editor Preserved playback state when changing section. Added SetWeight function to montage instance as when switching between sections the montage would blend from ref-pose while paused. #jira UE-31014 - Moving Montage Event Unpauses Playback #jira UE-25101 - Improve Montage Replay Usability issue Change 3051717 on 2016/07/15 by Benn.Gallagher Removed call to set sleepVelocityFrameDecayConstant on destructible shapes after advice from Nvidia and investigation by some licensees. Feature was used in the past to better settle piles but now PhysX can handle it fine and by setting it we were causing a hit in island generation. #jira UE-18558 Change 3051729 on 2016/07/15 by Benn.Gallagher Changed enum combo boxes so that they use rich tooltips instead of text tooltips. - They look the same when there isn't a documentation entry for them (Just the enum name) - Enum docs stored in /Shared/Enums/{EnumType} and the excerpt names are just the enum name Change 3051825 on 2016/07/15 by Marc.Audy Display HiddenInGame for SceneComponents except when part of flattened properties in an Actor such as StaticMeshActor #jira UE-29435 Change 3051850 on 2016/07/15 by Marc.Audy Reduce priority of audio thread Add a frame sync to avoid audio thread drifiting behind Change 3051920 on 2016/07/15 by Tom.Looman Added ActorComponent Activate/Deactivate events #JIRA UE-31077 Change 3051923 on 2016/07/15 by Tom.Looman PR #2370: Exposing "OverrideWith" and "CopyProperties" in PlayerState to Blueprint Children (Contributed by eXifreXi) Change 3052038 on 2016/07/15 by Martin.Wilson Possible fix for fortnite crash + ensure incase the situation occurs again #jira UE-33258 Change 3052042 on 2016/07/15 by Jurre.deBaare Copying //Tasks/Framework/DEV-UEFW-21-AlembicImporter to Dev-Framework (//UE4/Dev-Framework) Change 3052171 on 2016/07/15 by Ori.Cohen Improve UI for constraint profiles. Polish UI for physical animation profile. #JIRA UEFW-101, UE-33290 Change 3052243 on 2016/07/15 by Martin.Wilson Pose watching: Ability to draw bones of pose at any point in the anim graph. #jira UE-12181 (originally Epic Friday project) Change 3053202 on 2016/07/18 by Thomas.Sarkanen FAnimInstanceProxy::EvaulateAnimation is now split into two for easier extensibility #jira UE-30107 - Split out part of FAnimInstanceProxy::EvaulateAnimation to allow users to use node evaluate without code duplication Change 3053203 on 2016/07/18 by Thomas.Sarkanen Fixed properties that are fed to skeletal mesh components via construction script not updating when edited Forced skeletal mesh components to re-init their anim instance on reregister when in an editor world (a previous optimization was preventing this). Switched order of RerunConstructionScripts and ReregisterAllComponentsto be in-line with the undo/redo case to prevent edits being a frame out of date. #jira UE-31890 - Variables cast from the Construction Script do not update in AnimBP AnimGraph Change 3053241 on 2016/07/18 by Martin.Wilson Add parent bone space to GetSocketTransform #jira UE-29814 Change 3053270 on 2016/07/18 by Jurre.deBaare PR #2105: Disable creation of array modifiers (Contributed by projectgheist) Change 3053273 on 2016/07/18 by Jurre.deBaare Default ini for asset viewer and HDR images #jira UE-32903 Change 3053527 on 2016/07/18 by Ori.Cohen Fix CIS #JIRA UE-33375 Change 3053620 on 2016/07/18 by Thomas.Sarkanen Socket chooser now has a search box Uses new FTextFilterExpressionEvaluator to filter bones & sockets by name. Search box has focus when the menu appears. #jira UE-23698 - Need a way to search through the Choose Socket or Bone: UI when attaching to a skeletal mesh Change 3053626 on 2016/07/18 by Martin.Wilson Fix crash caused by skeletalmeshcomponent being destroyed during a notify #jira UE-33258 Change 3053761 on 2016/07/18 by Martin.Wilson Mac build compile fix Change 3053858 on 2016/07/18 by Lina.Halper Merging using //UE4/Dev-Framework/_to_//Fortnite/Main/ Fix on crashing recursive asset Change 3053864 on 2016/07/18 by Ori.Cohen Make sure phat UI changes when picking different constraint profiles Change 3053866 on 2016/07/18 by Ori.Cohen Submit content example for constraint profiles Change 3053915 on 2016/07/18 by Lina.Halper The cached animinstance won't refresh until animation is replaced if you open while anim bp is opened This is the fix for that. #jira: UE-32927 Change 3053969 on 2016/07/18 by James.Golding PR #2571: Added a SimEventCallbackFactory (Contributed by NaturalMotionTechnology) Change 3054004 on 2016/07/18 by Ori.Cohen Fix crash in welding when children have no owner component and ensure query only does not get welded by mistake. #jira UE-33333 Change 3054410 on 2016/07/18 by Lina.Halper Fixed issue with moving translation not working with mirrored parent due to inverse position. Changed to Transform. #jira: UE-31521 Change 3054659 on 2016/07/18 by Lina.Halper Fix for retargeting of pose asset - Moved animsequence::retarget to be out to AnimationRuntime - PoseAsset is now using that function to retarget correctly #code review: Martin.Wilson, Ori.Cohen Change 3054777 on 2016/07/18 by Jurre.deBaare Fixing integration blocker, had this fix locally already #jira UE-33427 Change 3056619 on 2016/07/19 by Ori.Cohen Temporarily turn off audio threading due to heap corruption. #JIRA UE-33320 Change 3057770 on 2016/07/20 by Aaron.McLeran Doing sync trace for occlusion if audio thread is enabled #jira UE-33494 Change 3057778 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Change 3057788 on 2016/07/20 by Aaron.McLeran #jira UE-33494 Fix async line traces from audio thread causing crash (re-enable threaded audio) Enabling audio thread (with a capital T for True) Change 3057850 on 2016/07/20 by Ori.Cohen Temporarily turn off audio threading as the feature is still experimental Change 3057876 on 2016/07/20 by Martin.Wilson Fix Graph Linked External Object issue when saving recompressed animations #jira UE-33567 Change 3058371 on 2016/07/20 by Ori.Cohen Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) [CL 3058682 by Ori Cohen in Main branch]
2016-07-20 18:23:54 -04:00
#ifdef UE_APEX_SUFFIX
FString APEXSuffix(TEXT(PREPROCESSOR_TO_STRING(UE_APEX_SUFFIX)) + ArchName + TEXT(".dll"));
#else
FString APEXSuffix(ArchName + TEXT(".dll"));
#endif
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#elif PLATFORM_MAC
FString PhysXBinariesRoot = TEXT("Binaries/ThirdParty/PhysX3/Mac/");
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#ifdef UE_PHYSX_SUFFIX
FString PhysXSuffix = FString(TEXT(PREPROCESSOR_TO_STRING(UE_PHYSX_SUFFIX))) + TEXT(".dylib");
#else
FString PhysXSuffix(TEXT(".dylib"));
#endif
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
#ifdef UE_APEX_SUFFIX
FString APEXSuffix = FString(TEXT(PREPROCESSOR_TO_STRING(UE_APEX_SUFFIX))) + TEXT(".dylib");
#else
FString APEXSuffix(TEXT(".dylib"));
#endif
#endif
void* LoadPhysicsLibrary(const FString& PathEnd)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
{
const FString Path = FPaths::EngineDir() / PathEnd;
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
void* Handle = FPlatformProcess::GetDllHandle(*Path);
if(!Handle)
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 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 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - 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 previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by 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 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... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
{
// Spin a few times and reattempt the load in-case the file is temporarily locked
for(int32 RetryCount = 0; RetryCount < NumModuleLoadRetries; ++RetryCount)
{
FPlatformProcess::Sleep(ModuleReloadDelay);
Handle = FPlatformProcess::GetDllHandle(*Path);
if(Handle)
{
break;
}
}
if(!Handle)
{
IPlatformFile& PlatformFile = FPlatformFileManager::Get().GetPlatformFile();
bool bExists = PlatformFile.FileExists(*Path);
int64 ModuleFileSize = PlatformFile.FileSize(*Path);
bool bCouldRead = false;
TUniquePtr<IFileHandle> ModuleFileHandle(PlatformFile.OpenRead(*Path));
if(ModuleFileHandle.IsValid())
{
bCouldRead = true;
}
UE_LOG(LogPhysicsCore, Warning, TEXT("Failed to load module '%s'"), *Path);
UE_LOG(LogPhysicsCore, Warning, TEXT("\tExists: %s"), bExists ? TEXT("true") : TEXT("false"));
UE_LOG(LogPhysicsCore, Warning, TEXT("\tFileSize: %d"), ModuleFileSize);
UE_LOG(LogPhysicsCore, Warning, TEXT("\tAble to read: %s"), bCouldRead ? TEXT("true") : TEXT("false"));
if(!bExists)
{
// No library
UE_LOG(LogPhysicsCore, Warning, TEXT("\tLibrary does not exist."));
}
else if(!bCouldRead)
{
// No read access to library
UE_LOG(LogPhysicsCore, Warning, TEXT("\tLibrary exists, but read access could not be gained. It is possible the user does not have read permission for this file."));
}
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
}
return Handle;
}
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 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 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - 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 previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by 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 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... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
/**
* Load the required modules for PhysX
*/
PHYSICSCORE_API bool LoadPhysXModules(bool bLoadCookingModule)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
{
bool bHasToolsExtensions = false;
#if PLATFORM_WINDOWS || PLATFORM_HOLOLENS
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
PxFoundationHandle = LoadPhysicsLibrary(RootSharedPath + "PxFoundation" + PhysXSuffix);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 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 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - 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 previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by 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 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... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
PhysX3CommonHandle = LoadPhysicsLibrary(RootPhysXPath + "PhysX3Common" + PhysXSuffix);
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
const FString nvToolsExtPath = RootPhysXPath + "nvToolsExt" + ArchBits + "_1.dll";
bHasToolsExtensions = IFileManager::Get().FileExists(*nvToolsExtPath);
if (bHasToolsExtensions)
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
{
nvToolsExtHandle = LoadPhysicsLibrary(nvToolsExtPath);
}
PxPvdSDKHandle = LoadPhysicsLibrary(RootSharedPath + "PxPvdSDK" + PhysXSuffix);
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 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 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - 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 previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by 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 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... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
PhysX3Handle = LoadPhysicsLibrary(RootPhysXPath + "PhysX3" + PhysXSuffix);
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
if(bLoadCookingModule)
{
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3090553) #lockdown Nick.Penwarden #rb none ========================== MAJOR FEATURES + CHANGES ========================== Change 3026802 on 2016/06/24 by Lina.Halper #Pose Asset work # additive blending change : additive scale is saved to [targetscale/sourcescale - 1] where it used to be [targetscale/sourcescale] since blending doesn't work with it - Blending should work once we save to [targetscale/sourcescale - 1] as normal - i.e. if you blend 0.3, it should not shrink the mesh because you applyed additive to 0.3 - When apply the scale to base, it should multiply [additive scale + 1 ] where additive scale is [targetscale/sourcescale - 1] - Changed FTransform::Blend to FTransform::Lerp since it's literally just Lerp. Name Blend should be used for Accumulate but changing the name now is dangerous, so I'm keeping Accumulate but changed Blend to Lerp # pose asset preview fix - made sure it adds to curve, so you don't have to use delegate to apply - PreviewOverride is now added to output curve, so we don't have to apply that curve later - only reason of anim instance delegate is now for normal anim blueprint. #pose asset change - Curve extraction happens with ExtractContext, the output curve is stricly output curve - Pose Asset supports Shrink now, but only shrink if full pose - Added PoseHandler to handle most of common stuff between different pose nodes - Still have to work on how to update pose asset - wip - todo: clean up single node player to handle pose asset in a function #code review:Martin.Wilson, James.Golding Change 3027519 on 2016/06/24 by Lina.Halper Reverted FTransform name change as that causes compile errors due to lack of deprecated messages - not worth to keep the old functions and add new one #code review: Martin.Wilson Change 3060205 on 2016/07/21 by Zak.Middleton #ue4 - Don't strip map/package name from shipping on dedicated server in UGameInstance::StartGameInstance(), to allow specifying map name on servers via commandline. Don't ever parse "-replay" on dedicated servers. #jira UE-29424 github #2273 Change 3061365 on 2016/07/22 by Jon.Nabozny Fix single frame character flip on death in ShooterGame. #jira UE-28053 Change 3061370 on 2016/07/22 by Jon.Nabozny Fix PhysX error where CCD is enabled on a Kinematic body. #jira UE-33463 Change 3061406 on 2016/07/22 by Lukasz.Furman deprecated blueprint interface for avoidance groups, added new set of functions working with FNavAvoidanceMask struct instead of packed flags #jira UE-32625 Change 3061847 on 2016/07/22 by Bob.Tellez Duplicating CL#3058203 from //Fortnite/Main #UE4 Clearing pin links for fixed up BT nodes so they are not asymmetrical by the time the node gets destroyed, causing an ensure to fail. Also removing the replaced nodes so they are no longer saved in the package. Change 3063080 on 2016/07/25 by Benn.Gallagher Fixes to APEX rendering artefacts, by discarding all incoming render data from the APEX asset and skinning our render data to the simulation mesh. #jira UEFW-182 Change 3063119 on 2016/07/25 by Ori.Cohen Fix constraint index not being assigned correctly. Also expose FindConstraintBoneName to blueprints #JIRA UE-33716 Change 3063956 on 2016/07/25 by Ori.Cohen Fix SetRootBodyIndex so that it uses world space transform instead of ref skeleton. Fixes a few issues when using ragdolls on skeletal mesh assets that were imported with offset/rotation. Also fix crash when opening up old physics asset and changing its mesh. #JIRA UE-33753 #JIRA UE-33754 Change 3064846 on 2016/07/26 by Benn.Gallagher Fixed crash when loading skeletal meshes with clothing in -game #jira UE-33771 Change 3065237 on 2016/07/26 by Ori.Cohen Fix physics handle component not accounting for bone rotation/offset Change 3065241 on 2016/07/26 by Ori.Cohen Fix constraint component not using root body when no bone name is provided. Change 3069508 on 2016/07/28 by Aaron.McLeran Adding debug exec commands to help with debugging audio Solos sounds when using the following exec commands: - AudioSoloSoundWave Solos sounds with the given wave name - AudioSoloSoundClass Solos sounds with the given sound class - AudioSoloSoundCue Solos sounds with the given sound cue name -All solo commands can be active at the same time and will solo sounds that match all their substring name searches. - Only active in non-shipping builds Change 3070857 on 2016/07/29 by Ori.Cohen Expose Grab Rotation for physics handle component. Also brought over changes from Jeff.F where we can now specify hard vs soft physics handle Change 3072817 on 2016/08/01 by Wes.Hunt turn off optimizations to speed up build times. ~45s->~5sec apiece. Change 3073855 on 2016/08/02 by Zak.Middleton #ue4 - Fix tooltip text for p.NetEnableListenServerSmoothing command. Change 3074325 on 2016/08/02 by Aaron.McLeran UE-34081 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 3075259 on 2016/08/03 by James.Golding Fix up my ProcMeshComp test BPs Change 3076637 on 2016/08/03 by Aaron.McLeran UE-34081 Adjustments to procedural sound wave implementation - Cleaned up base class implementation of GeneratePCMData - Calls bound callback function first if there aren't enough samples available, then pumps the enqueued audio buffers - Wrote a prototype gameplay C++ class that implements this to test procedural sound wave generation with a sine tone and to test not immediately returning audio when called back (to test the empty buffer copy code). Change 3077340 on 2016/08/04 by Marc.Audy Minor header cleanups and readability changes Change 3079669 on 2016/08/05 by Aaron.McLeran OR-26580 Implementing 3071258 to Dev-Framework Change 3080958 on 2016/08/08 by Aaron.McLeran UE-34325 In process audio resource is corrupted during level change. - 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 previous 100% repro) Change 3081314 on 2016/08/08 by Marc.Audy Trim DSO components that no longer have an archetype in the class hierarchy #jira UE-28374 Change 3082356 on 2016/08/09 by Marc.Audy Always clear lifespan timers on EndPlay Change 3082680 on 2016/08/09 by Lukasz.Furman fixed gameplay debugger extensions activating during simulate in editor #jira UE-33343 Change 3082731 on 2016/08/09 by Aaron.McLeran UE-30629 "FXAudio2SoundSource contains NaN in channel" occur in test ShooterGame build - Issue was inverse transform was uninitialized in first update tick of the audio device. If a sound is trying to play in the first update tick, it'd generate NaNs as it tries to transform sound positions relative to an unitialized inverse listener transform - Fix is to update listener transform BEFORE updating sounds. - Also added an initialization to the inverse listener transform for good measure Change 3082732 on 2016/08/09 by Aaron.McLeran Removing log spam on local player node Change 3083051 on 2016/08/09 by Marc.Audy FLocalPlayerContext functions no longer check by default #jira UE-33370 Change 3083271 on 2016/08/09 by Dan.Reynolds Checking in QA test map for procedural sound waves -Added code for a UQAProceudralSoundWave that generates a sine tone that can be set by hz or midi note - Added BP code which uses the procedural sound wave and does some melody generation. Change 3083947 on 2016/08/10 by Lukasz.Furman fixed navigation modifier export for capsule components #ue4 Change 3084594 on 2016/08/10 by Marc.Audy Enable threaded audio again Change 3086237 on 2016/08/11 by Marc.Audy PR #2579: New feature: client-side level streaming (Contributed by slonopotamus) #jira UE-32896 Change 3086544 on 2016/08/11 by 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 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... Change 3087280 on 2016/08/12 by Marc.Audy Fatal error including the path if a physics module fails to load Change 3088105 on 2016/08/12 by Marc.Audy Strip native components that no longer exist from BP CDOs as well. #jira UE-28374 [CL 3090563 by Marc Audy in Main branch]
2016-08-16 12:05:05 -04:00
PhysX3CookingHandle = LoadPhysicsLibrary(RootPhysXPath + "PhysX3Cooking" + PhysXSuffix);
}
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
#elif PLATFORM_MAC
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
const FString PxFoundationLibName = FString::Printf(TEXT("%slibPxFoundation%s"), *PhysXBinariesRoot, *PhysXSuffix);
PxFoundationHandle = LoadPhysicsLibrary(PxFoundationLibName);
const FString PhysX3CommonLibName = FString::Printf(TEXT("%slibPhysX3Common%s"), *PhysXBinariesRoot, *PhysXSuffix);
PhysX3CommonHandle = LoadPhysicsLibrary(PhysX3CommonLibName);
const FString PxPvdSDKLibName = FString::Printf(TEXT("%slibPxPvdSDK%s"), *PhysXBinariesRoot, *PhysXSuffix);
PxPvdSDKHandle = LoadPhysicsLibrary(PxPvdSDKLibName);
const FString PhysX3LibName = FString::Printf(TEXT("%slibPhysX3%s"), *PhysXBinariesRoot, *PhysXSuffix);
PhysX3Handle = LoadPhysicsLibrary(PhysX3LibName);
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
if(bLoadCookingModule)
{
Copying //UE4/Dev-Core to //UE4/Dev-Main (Source: //UE4/Dev-Core @ 3151653) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2975891 on 2016/05/12 by Gil.Gribb merged in new async stuff from dev-rendering. Change 2976695 on 2016/05/13 by Gil.Gribb updated precache list Change 2977030 on 2016/05/13 by Gil.Gribb Added time slicing to CreateAsyncPackagesFromQueue, radically reduced the frequency of "precache trimming" and changed a few things in the test rig and logging Change 2977090 on 2016/05/13 by Gil.Gribb Fixed module manager threading and added cmd line param to force async loading thread. Change 2977292 on 2016/05/13 by Gil.Gribb check for thread safety in looking at asset registry Change 2977296 on 2016/05/13 by Gil.Gribb removed some super-expensive check()s from precacher Change 2978368 on 2016/05/16 by Gil.Gribb Move several exposive bools inside of the basic tests inside of FLinkerLoad::Preload, saves a fraction of second. Change 2978414 on 2016/05/16 by Gil.Gribb Added support and testing for unmounting pak files to the pak precacher. Change 2978446 on 2016/05/16 by Gil.Gribb Allow linker listing in non-shipping builds Change 2978550 on 2016/05/16 by Gil.Gribb Allowed some linker spew in non-shipping builds (instead of debug builds). Some tweak to help track down the music.uasset leak. Change 2979952 on 2016/05/17 by Robert.Manuszewski Merging //UE4/Dev-Core @ 2979938 to Dev-UE-30519-LoadTimes Change 2984927 on 2016/05/20 by Gil.Gribb fix a few bugs with an mcp repro Change 2984951 on 2016/05/20 by Gil.Gribb fixed issues with USE_NEW_ASYNC_IO = 0 Change 2985296 on 2016/05/20 by Gil.Gribb Fixed several bugs with the MCP boot test Change 2987956 on 2016/05/24 by Robert.Manuszewski Fixing leaked linkers created by blocking load requests during async loading. Change 2987959 on 2016/05/24 by Joe.Conley Enable load timings in block loading also (in addition to async loading). Change 3017713 on 2016/06/17 by Robert.Manuszewski Removing GUseSeekFreeLoading. Change 3017722 on 2016/06/17 by Robert.Manuszewski Renaming LOAD_SeekFree flag to LOAD_Async to better reflect its current purpose. Change 3017833 on 2016/06/17 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3017840 on 2016/06/17 by Robert.Manuszewski Re-doing Dev-Core changes to Delegates 2/2 Change 3022872 on 2016/06/22 by Gil.Gribb reorder memory trim and deleting loaders Change 3059218 on 2016/07/21 by Robert.Manuszewski Fixing compilation errors - adding missing load time tracker stats. Change 3064508 on 2016/07/26 by Robert.Manuszewski Removing blocking loading path in cooked builds. LoadPackage will now use the async path. Change 3066312 on 2016/07/27 by Gil.Gribb Event driven loader, first pass Change 3066785 on 2016/07/27 by Gil.Gribb Removed check...searching forward for export fusion can release a node Change 3068118 on 2016/07/28 by Gil.Gribb critical bug fixes for the event driven loader Change 3068333 on 2016/07/28 by Gil.Gribb correctly handle the case where a file is rejected after loading the summary Change 3069618 on 2016/07/28 by Robert.Manuszewski Merging //UE4/Dev-Core to Dev-UE-30519-LoadTimes (//Tasks/Dev-Core/Dev-UE-30519-LoadTimes) Change 3069901 on 2016/07/29 by Robert.Manuszewski Fixing an hang when loading QA-Blueprints level Change 3070171 on 2016/07/29 by Gil.Gribb fixed CDO cyclic dependencies Change 3075288 on 2016/08/03 by Gil.Gribb misc fixes to the event driven loader Change 3077332 on 2016/08/04 by Robert.Manuszewski Fixing checkSlow asserts caused by new loading code not being flagged as IsInAsyncLoadThread() and CreateSynchEvent deprecation warning. Change 3078113 on 2016/08/04 by Gil.Gribb implemented "nicks rule" and undid some previous material and world hacks needed without it. Change 3079480 on 2016/08/05 by Gil.Gribb fixes and tweaks on event driven loader Change 3080135 on 2016/08/07 by Gil.Gribb misc fixes for event driven loader, now with reasonable memory Change 3083722 on 2016/08/10 by Robert.Manuszewski Fixing hangs when async loading packages. Change 3091747 on 2016/08/17 by Gil.Gribb Fix all hitches in streaming load that were regressions. Change 3093258 on 2016/08/18 by Gil.Gribb Fix bug that caused an assert when packages fail to load for certain reasons (like loading an uncooked file). Change 3095719 on 2016/08/20 by Gil.Gribb reenable async loading thread and cleanup and bug fixes Change 3096350 on 2016/08/22 by Gil.Gribb tweak task priorities a bit to minimize precaching memory Change 3096355 on 2016/08/22 by Gil.Gribb add support for precaching for "loose files" in the generic async layer. Change 3098091 on 2016/08/23 by Gil.Gribb Split header into a separate file and disabled a bad optimization in the bulk data. Change 3099783 on 2016/08/24 by Gil.Gribb rework dependency graph to be much, much faster. About half done. Change 3100995 on 2016/08/25 by Gil.Gribb fixed bugs with streaming texture from .uexp and cook time check that should have been runtime only Change 3101369 on 2016/08/25 by Gil.Gribb fixed bug with blueprints in the new loader. Change 3102793 on 2016/08/26 by Gil.Gribb PS4 - fixed small block memcpy to actually be inline Change 3103785 on 2016/08/27 by Gil.Gribb fixed case bug with pak order. devirtualized flinkerload::serialize, made sure -fileopenlog is not heavily skewed Change 3104884 on 2016/08/29 by Gil.Gribb fixed a BP bug and tweaked the -fileopenlog behavior to do leaf assets DFS Change 3105266 on 2016/08/29 by Ben.Zeigler Editor build compilation fix Change 3105774 on 2016/08/30 by Gil.Gribb add checks to locate cases where we try to use something that isn't loaded yet Change 3107794 on 2016/08/31 by Gil.Gribb fixed abug with BP's not loading the parent CDO soon enough Change 3114278 on 2016/09/06 by Gil.Gribb looping loads for paragon load test Change 3114311 on 2016/09/06 by Ben.Zeigler Fix linux compile Change 3114350 on 2016/09/06 by Ben.Zeigler Linux supports fast unaligned int reads Change 3116169 on 2016/09/07 by Ben.Zeigler Force enable separate bulk data cooking when using split cooked files, end-of-exp-file doesn't make sense with the new cook scheme and will crash at runtime Change 3116538 on 2016/09/07 by Gil.Gribb add dependencies for CDO subobjects Change 3116596 on 2016/09/07 by Ben.Zeigler Change crash to warning when trying to load an import to a missing native class, can happen with editor only classes. Change 3116855 on 2016/09/07 by Ben.Zeigler Move cook dialog down a bit so I can cook without constant dialogs popping up Change 3117452 on 2016/09/08 by Robert.Manuszewski Fixing hang when suspending async loading with the async loading thread enabled. Change 3119255 on 2016/09/09 by Robert.Manuszewski Removing texture allocations from PackageFileSummary as they were not used by anything. Change 3119303 on 2016/09/09 by Gil.Gribb Fixed font issue by making all all bulk data either inline or in a ubulk. Added support for compressed packages. Change 3120324 on 2016/09/09 by Ben.Zeigler Fix Cook warnings. Skip transient and client/server only objects when adding dependencies, and mark ShapeComponent BodySetups as properly transient. Change 3121960 on 2016/09/12 by Ben.Zeigler Add RandomizeLoadOrder CVar to randomize the package serial number it uses for sorting async loads Change 3122635 on 2016/09/13 by Gil.Gribb reworked searching disk warning and minor change to the background tasks used for decompression Change 3122743 on 2016/09/13 by Gil.Gribb added some checks around memory accounting Change 3123395 on 2016/09/13 by Ben.Zeigler Enable MallocBinned2 by default on cooked windows builds, similar to how PS4 works. Disabled thread pool cache clearing on windows, the threading function it was using is very slow on windows specifically Change 3124748 on 2016/09/14 by Gil.Gribb Store template in import/export table and refer to it for each export to avoid calling GetArchetypeFromRequiredInfo. Minor fix for some NeedLoadForCLient etc stuff on landscape and CDOs. Fix texture streamer minmips stuff. Change 3125153 on 2016/09/14 by Gil.Gribb don't put transient objects in the import map Change 3126668 on 2016/09/15 by Gil.Gribb Fix critical bug with imports not waiting for the corresponding export to serialize. Fixed paragon test rig to run longer looping by flushing the renderer. Made random mode more random. Change 3126755 on 2016/09/15 by Gil.Gribb ooops, test rig fix Change 3127408 on 2016/09/15 by Ben.Zeigler Back out changelist 3123395, restoring windows memory to 4.13 setup Change 3127409 on 2016/09/15 by Ben.Zeigler Remove Memory trim from FlushAsyncLoading, because it gets called much more often in new flow and is slow on some platforms Change 3127948 on 2016/09/16 by Gil.Gribb Added a check() on any attempt to serialize a pointer to something that hasn't been created yet. This will help us find missing dependencies. There is an exception to this related to CDOs. Change 3128094 on 2016/09/16 by Robert.Manuszewski Fixing exports referenced by weak object pointers not being added to the preload dependency list of of the exports that depend on them. + Moved weak object pointer serialization to FArchive operator << to be able to override its behavior when cooking. Change 3128148 on 2016/09/16 by Robert.Manuszewski Gil's mod to how we detect exports with missing dependencies Change 3129052 on 2016/09/16 by Ben.Zeigler Add Missing Serialize helpers for WeakObjectPtrs, fixes crash with replicating weak objects Change 3129053 on 2016/09/16 by Ben.Zeigler Fake integrate CL #3123581 from Dev-Framework, to correctly handle detecting components as editor only even when they have collision. Fixes crashes with blueprint editor only components that depend on native templates Change 3129630 on 2016/09/17 by Gil.Gribb better logging for missing dependencies and properly ifdef'd the CDO primitive comp hack Change 3130178 on 2016/09/19 by Robert.Manuszewski Use the correct macro (COOK_FOR_EVENT_DRIVEN_LOAD instead of USE_NEW_ASYNC_IO) for SavePackage changes from CL #3128094 Change 3130224 on 2016/09/19 by Robert.Manuszewski Compile error fix Change 3130391 on 2016/09/19 by Gil.Gribb Add cook time fatal errors, and undid a previous change we don't seem to need relating to editor only CDOs Change 3130484 on 2016/09/19 by Gil.Gribb fixed botched GetArchetypeFromRequiredInfo Change 3131966 on 2016/09/20 by Robert.Manuszewski Making the new event driven loader disabled by default. It's now also configurable via project settings (under Streaming Settings -> Event Driven Loader Enabled). Enabled the event driven loader for a few internal projects. Change 3132035 on 2016/09/20 by Gil.Gribb fix dynamic switch on new loader Change 3132041 on 2016/09/20 by Robert.Manuszewski Fix for packages not being saved to disk when cooking with event driven loader disabled. Change 3132195 on 2016/09/20 by Robert.Manuszewski Enabling the event driven loader for Zen Change 3133870 on 2016/09/21 by Graeme.Thornton Config files now enable the event driven loader with the correct cvar name Change 3135812 on 2016/09/22 by Gil.Gribb fixed some bugs with GC during streaming Change 3136102 on 2016/09/22 by Robert.Manuszewski Release GC lock when FlushingAsyncLoading when running GC. Change 3136633 on 2016/09/22 by Gil.Gribb fix bug with linkers finsihing before other things linked their imports Change 3138002 on 2016/09/23 by Robert.Manuszewski Added an assert that will prevent content cooked for the event driven loader to be loaded by game builds that have the EDL disabled. Change 3138012 on 2016/09/23 by Gil.Gribb Improved the fix to prevent packages from finishing before external imports have linked. Async load object libraries. Change 3138031 on 2016/09/23 by Gil.Gribb do not preload obj libs in editor Change 3139176 on 2016/09/24 by Gil.Gribb fixed another bug with an attempt to call GetArchetypeFromRequiredInfo Change 3139459 on 2016/09/26 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3139668 on 2016/09/26 by Gil.Gribb change some checks to errors on bad bulk data loads Change 3141127 on 2016/09/27 by Robert.Manuszewski Preventing linkers from being detached too early when async loading. Change 3141129 on 2016/09/27 by Robert.Manuszewski Releasing GC Lock before calling post GC callbacks to allow StaticFindObject use in these callbacks Change 3142048 on 2016/09/27 by Robert.Manuszewski Changing async loading code to not close DelayedLinkerClosePackages linkers until the async package that triggered their creation has finished loading. Change 3143132 on 2016/09/28 by Gil.Gribb fixed text render comp, which has some editor only issues. Fixes a runtime crash and adds a cooktime warning. Change 3143198 on 2016/09/28 by Gil.Gribb fixed it so that bogus loads of bulk data are warned but do not crash Change 3143287 on 2016/09/28 by Robert.Manuszewski UBT will now invalidate its makefiles if ini files are newer than the makefile (ini files may contains global build settings). + Android toolchain will add hashed command line values to the action reposnse filenames to actually allow it to detect compiler command line changes when detecting actions to execute Change 3143344 on 2016/09/28 by Robert.Manuszewski Make UAT pass the project filename to UBT when build non-code projects so that UBT can parse all ini files. Change 3143865 on 2016/09/28 by Gil.Gribb iffy fix for the net load assert in paragon, plus a few checks and one bit of code removed that should never be hit in the EDL, but makes no sense Change 3144683 on 2016/09/29 by Graeme.Thornton Minor refactor of pak file non-filename stuff - Don't check for file existing before running through the security delegate - Default behaviour when using new IO is to reject uasset/umap/ubulk/uexp files immediately. Can be disabled by setting EXCLUDE_NONPAK_UE_EXTENSIONS to 0 in project .build.cs Change 3144745 on 2016/09/29 by Graeme.Thornton Orion non-pak file whitelisting is enabled for all cooked game only builds now, rather than just clients Change 3144780 on 2016/09/29 by Gil.Gribb use poison proxy on non-test/shipping builds Change 3144819 on 2016/09/29 by Gil.Gribb added a few asserts and added an improved fix for the net crash Change 3145414 on 2016/09/29 by Gil.Gribb fixed android assert....not sure why I need that block of code. Change 3146502 on 2016/09/30 by Robert.Manuszewski Fix for GPU hang from MarcusW Change 3146774 on 2016/09/30 by Robert.Manuszewski Fixing a crash when constantly streaming levels in and out caused by keeping references to objects (levels) that were requested to be streamed out. - Removed FAsyncObjectsReferencer. References will now be owned by FAsyncPackage - UGCObjectReferencer is now more thread safe Change 3148008 on 2016/10/01 by Gil.Gribb add additional error for attempting to create an object from a class that needs to be loaded Change 3148009 on 2016/10/01 by Gil.Gribb fix very old threading bug whereby the ASL and GT would attempt to use the same static array Change 3148222 on 2016/10/02 by Robert.Manuszewski Fix for an assert when an FGCObject is removed when purging UObjects Change 3148229 on 2016/10/02 by Gil.Gribb disable assert that was crashing paragon ps4 Change 3148409 on 2016/10/03 by Robert.Manuszewski Allow another case for removing FGCObjects while in GC. Change 3148416 on 2016/10/03 by Robert.Manuszewski Merging //UE4/Release-4.13 to Dev-LoadTimes (//Tasks/UE4/Dev-LoadTimes) Change 3149566 on 2016/10/03 by Ben.Zeigler #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149913 on 2016/10/04 by Gil.Gribb better broadcast Change 2889560 on 2016/03/02 by Steven.Hutton Packages for scheduled tasks. Change 2889566 on 2016/03/02 by Steven.Hutton Remaining nuget packages for hangfire, unity and scheduled tasks. Change 2980458 on 2016/05/17 by Chris.Wood Attempt to fix crash report submission problems from CRP to CR website [UE-30257] - Crashreports are sometimes missing file attachments Passing crash GUID so that website can easily check for duplicates in future Increased request timeout for AddCrash to be longer than website database timeout Logging retries for future visibility CRP v.1.1.6 Change 3047870 on 2016/07/13 by Steven.Hutton Updated CRW to entity framework with repository models. #rb none Change 3126265 on 2016/09/15 by Steve.Robb Fix for TCString::Strspn. Change 3126266 on 2016/09/15 by Steve.Robb Alternative fix for GitHub 2698: Fix one bug : Parsing command "Enable True" is invalid. #jira UE-34670 Change 3126268 on 2016/09/15 by Steve.Robb UWorld can no longer be extended by users. UHT now handles final class declarations. #jira UE-35708 Change 3126273 on 2016/09/15 by Steve.Robb A further attempt to catch uninitialized pointers supplied to the GC. #jira UE-34361 Change 3130042 on 2016/09/19 by Steve.Robb Super for USTRUCTs. Suggested here: https://udn.unrealengine.com/questions/310461/automatically-typedef-super-for-ustructs.html Change 3131861 on 2016/09/20 by Steven.Hutton Reconciling work for view engine changes #rb none Change 3131862 on 2016/09/20 by Steve.Robb Removal of THasOperatorEquals and THasOperatorNotEquals from Platform.h, which should have happened as part of CL# 3045963. Change 3131863 on 2016/09/20 by Steven.Hutton Adding packages #rb none Change 3131869 on 2016/09/20 by Steve.Robb Improved error message for enum classes with a missing base: Error: Missing base specifier for enum class 'EMyEnum' - did you mean ': uint8'? Change 3132046 on 2016/09/20 by Graeme.Thornton Fix for cvar thread access assert in FLandscapeComponentGrassData serialization function - This function can be called from the async thread so access CVarGrassDiscardDataOnLoad with GetValueOnAnyThread() rather than GetValueOnGameThread() Change 3133201 on 2016/09/20 by Ben.Zeigler Reorganize WindowsPlatformMemory and MacPlatformMemory to work like LinuxPlatformMemory where there is an enum to select the allocator, and move some of it up to GenericPlatformMemory Add command line options to select malloc at runtime for Windows and Linux, I don't know how Mac options work Improve the performance of BroadcastSlow_OnlyUseForSpecialPurposes on windows, but there are cases where it occaisionally stalls for a few seconds waiting for the flush Add MallocBinned2 as an option for mac, linux, and windows, but default to off due to some threading issues Change 3133722 on 2016/09/21 by Graeme.Thornton Cooker forces a shader compilation flush when it detects that it has passed the max memory budget Change 3133756 on 2016/09/21 by Steve.Robb Refactor of TrimPrecedingAndTrailing to avoid a call to FString::Mid with a negative count, which is now illegal. #jira UE-36163 Change 3134182 on 2016/09/21 by Steve.Robb GitHub #1986: Don't show warnings and erros in console twice with UCommandlet::LogToConsole == true #jira UE-25915 Change 3134306 on 2016/09/21 by Ben.Zeigler Fix it so FMallocBinned2::Trim skips task threads on desktop platforms, they are too slow and don't allocate much memory Enable MallocBinned2 as default binned malloc on Windows Remove the -Run command line check as it was removed from the old version as well Change 3135569 on 2016/09/22 by Graeme.Thornton Don't create material resources if we are in a build that can never render - Saves a few MB of memory Change 3135652 on 2016/09/22 by Steve.Robb New async-loading-thread-safe IsA implementation. #jira UECORE-298 Change 3135692 on 2016/09/22 by Steven.Hutton Minor bug fixes to view pages #rb none Change 3135990 on 2016/09/22 by Robert.Manuszewski Adding ENGINE_API to FStripDataFlags sp that it can be used outside of the Engine module. Change 3136020 on 2016/09/22 by Steve.Robb Display a meaningful error and shutdown if Core modules fail to load. https://udn.unrealengine.com/questions/312063/mac-unrealheadertool-failing-randomly.html Change 3136107 on 2016/09/22 by Chris.Wood Added S3 file upload to output stage of Crash Report Process (v.1.1.26) [UE-35991] - Crash Report Process to write crash files to S3 Also adds OOM alerts to CRP. Also disk space alerts changed to 5% free space and repeat once every 30 minutes instead of 10 minutes. Change 3137562 on 2016/09/23 by Steve.Robb TUniquePtr<T[]> support. Change 3138030 on 2016/09/23 by Steve.Robb Virtual UProperty functions moved out of headers into .cpp files to ease iteration. Change 3140381 on 2016/09/26 by Chris.Wood Disabled uploads via CRRs while leaving services switched on to avoid crashes in some clients. [UETOOL-1005] - Turn off CrashReportReceivers Change 3141150 on 2016/09/27 by Steve.Robb Invoke support for TFunction. Change 3141151 on 2016/09/27 by Steve.Robb UBoolProperty now supports hashing and is therefore usable as a TSet element or TMap key. FText is now prevented from being a TSet element or TMap key. UTextProperty::GetCPPTypeForwardDeclaration implementation moved to the .cpp file. #jira UE-36051 #jira UE-36053 Change 3141440 on 2016/09/27 by Chris.Wood Removed legacy queues and unnecessary duplication checks from Crash Report Process (v1.2.0) [UE-36246] - CRP scalability: Simplify CRP inputs to DataRouter/S3 only Change 3142999 on 2016/09/28 by Chris.Wood Added dedicated PS4 crash queue to Crash Report Process (v1.2.1) Change 3144831 on 2016/09/29 by Steve.Robb InternalPrecache now flags the archive as in-error so that it can be checked by a caller, rather than popping up a dialog box and asserting. #jira https://jira.it.epicgames.net/browse/OPP-6036 Change 3145184 on 2016/09/29 by Robert.Manuszewski FScopedCreateImportCounter will now always store the current linker and restore the previous one when it exits. Change 3148432 on 2016/10/03 by Robert.Manuszewski Thread safety fixes for the async log writer + made the async log writer flush its archive more often. Change 3148661 on 2016/10/03 by Graeme.Thornton Fixing merge of IsNonPakFilenameAllowed() - Removed directory search stuff... we pass everything to the delegate now anyway Change 3149669 on 2016/10/03 by Ben.Zeigler Lower verbosity of warnings from deleting native properties. These cases do not cause any problems and are not fixable without resaving the content after it has started warning. I checked Jira history and neither of these warnings has ever found a real bug, but has caused a lot of content to be resaved unnecessarily. Change 3149670 on 2016/10/03 by Ben.Zeigler Merge CL #3149566 from Dev-LoadTimes #jira UE-36664 Fix issue where objects loaded during async loading could be added to the wrong package's object list, if a time slice ended at the wrong point Change 3149835 on 2016/10/04 by Graeme.Thornton Thread safety fix for SkyLightComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149836 on 2016/10/04 by Graeme.Thornton Thread safety fix for ReflectionCaptureComponent - Add to global update list from PostLoad rather than PostInitProperties so that it happens on the game thread, and not the async loading thread (if enabled) Change 3149959 on 2016/10/04 by Robert.Manuszewski Allow import packages to be missing if they're on the KnownMissingPackages list Change 3150023 on 2016/10/04 by Steven.Hutton Updating jira strings. #rb none Change 3150050 on 2016/10/04 by Steve.Robb MakeShared now returns a TSharedRef (which is implicitly convertible to TSharedPtr) rather than a TSharedPtr (which is not implicitly convertible to TSharedRef), for ease of use and because MakeShared can't return a null pointer anyway. Change 3150110 on 2016/10/04 by Robert.Manuszewski Allow UGCObjectReferencer::AddObjects to happen during BeginDestry and FinishDestroy. It's fine as long as we're not adding new objects during reachability analysis. Change 3150120 on 2016/10/04 by Gil.Gribb fix task graph/binned2 broadcast for PS4 Change 3150195 on 2016/10/04 by Robert.Manuszewski Fixing WEX crash #jira UE-36801 Change 3150212 on 2016/10/04 by Robert.Manuszewski Increasing compiler memory limit to fix CIS errors #jira UE-36795 Change 3151583 on 2016/10/05 by Robert.Manuszewski Temporarily switching to the old IsA path #jria UE-36803 Change 3151642 on 2016/10/05 by Steve.Robb Dependency fixes for GameFeedback modules. Change 3151653 on 2016/10/05 by Robert.Manuszewski Maybe fix for crash on the Mac #jira UE-36846 [CL 3152539 by Robert Manuszewski in Main branch]
2016-10-05 16:51:01 -04:00
const FString PhysX3CookinLibName = FString::Printf(TEXT("%slibPhysX3Cooking%s"), *PhysXBinariesRoot, *PhysXSuffix);
PhysX3CookingHandle = LoadPhysicsLibrary(PhysX3CookinLibName);
}
#endif //PLATFORM_WINDOWS
bool bSucceeded = true;
#if PLATFORM_WINDOWS || PLATFORM_MAC
// Required modules (core PhysX)
bSucceeded = bSucceeded && PxFoundationHandle;
bSucceeded = bSucceeded && PhysX3CommonHandle;
bSucceeded = bSucceeded && PxPvdSDKHandle;
bSucceeded = bSucceeded && PhysX3Handle;
// Tools extension if present
bSucceeded = bSucceeded && (!bHasToolsExtensions || nvToolsExtHandle);
// Cooking module if present
bSucceeded = bSucceeded && (!bLoadCookingModule || PhysX3CookingHandle);
// Apex if present
#endif // PLATFORM_WINDOWS || PLATFORM_MAC
return bSucceeded;
}
/**
* Unload the required modules for PhysX
*/
PHYSICSCORE_API void UnloadPhysXModules()
{
#if PLATFORM_WINDOWS || PLATFORM_HOLOLENS || PLATFORM_MAC
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
FPlatformProcess::FreeDllHandle(PxPvdSDKHandle);
FPlatformProcess::FreeDllHandle(PhysX3Handle);
if(PhysX3CookingHandle)
{
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
FPlatformProcess::FreeDllHandle(PhysX3CookingHandle);
}
Copying //UE4/Dev-Physics to //UE4/Dev-Main (Source: //UE4/Dev-Physics @ 3140333) #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Copying //UE4/Dev-Physics-Upgrade to //UE4/Dev-Physics (Source: //UE4/Dev-Physics-Upgrade @ 3140195) ========================== MAJOR FEATURES + CHANGES ========================== Change 2954345 on 2016/04/25 by Thomas.Sarkanen Merging in latest 3.4 code drop from NVIDIA using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Change 2954421 on 2016/04/25 by Thomas.Sarkanen Removed old PhysX 3.3 and APEX 1.3 Change 2955821 on 2016/04/26 by Thomas.Sarkanen Back out changelist 2954345 Change 2955880 on 2016/04/26 by Thomas.Sarkanen Merging using DevPhysicsUpgrade_To_NVIDIA_PhysX34 Attempt to re-integrate after botched merge in CL 2954345. Cherry picking only PhysX directories, auto-merging accepting source, forcing integration. Change 2957403 on 2016/04/27 by Thomas.Sarkanen Adding initial UAT script for PhysX/APEX Change 2957690 on 2016/04/27 by Thomas.Sarkanen Upgraded BuildPhysX to call CMake directly Now all that is needed are the CMakeLists.txt files, rather than slightly shaky batch files. Still need to make the CMake command line handling a bit more sane and move into more conventional directories like \Win64\VS2015\ etc. Added RemoveDirectory() to DirectoryReference. Change 2960653 on 2016/04/29 by Thomas.Sarkanen Updated BuildPhysX script to target engine-style directory structures We now build directly into (e.g.) Win64\VS2015 directories. Also updated to build using multiple compiler versions. Change 2964162 on 2016/05/03 by Thomas.Sarkanen Added deployment to BuildPhysX script Script now copies source, binaries and libs to appropriate directories & can optionally auto-submit (note this is turned ON by default! Use -SkipSubmit to disable). Change 2964171 on 2016/05/03 by Thomas.Sarkanen BuildPhysX script: Added switch to disable auto-submit seperately from changelist creation Allows easier dry-run testing. Change 2964245 on 2016/05/03 by Thomas.Sarkanen Added external binary deployment to BuildPhysX script May still need to add the OpenGL binaries if need be Change 2968733 on 2016/05/06 by Thomas.Sarkanen Filter out Source\compiler when deploying Also updated cmake invocation to redirect output correctly. Oddly cmake redirects non-errors via stderr, so we only redirect stdout in this case. Change 2978738 on 2016/05/16 by Thomas.Sarkanen Added PhysX Vehicle and Extensions libs/binaries to deployment My previous wildcard filter didnt pick them up. Change 2978741 on 2016/05/16 by Thomas.Sarkanen Removed PhysX 3.3 and APEX 1.3 binaries Change 2982013 on 2016/05/18 by Thomas.Sarkanen Upgrade engine to PhysX 3.4 & APEX 1.4 Change 2983305 on 2016/05/19 by Thomas.Sarkanen Fixed BuildPhysX script to deploy missing libs Change 2983384 on 2016/05/19 by Thomas.Sarkanen Fix compiler and linker issues found when batch compiling all available platforms/configs PhysXCollision.cpp: Clang seems to have issues with inheriting from a templated base class & accessing base members, so qualified with "this->". Added missing libs to Win32 build. Change 2987027 on 2016/05/23 by Chad.Garyet Merging the main integration into dev-physics into dev-physics-upgrade per Ori. Change 2988274 on 2016/05/24 by Thomas.Sarkanen Fixup compilation issues post-merge from Main Change 3035770 on 2016/07/01 by Thomas.Sarkanen Updated cmake scripts Added GeomUtils include & missing files Specified PDB generation for all dlls. Removed VS2013 from default compilers list. Change 3036954 on 2016/07/04 by Thomas.Sarkanen Removing APEX and PhysX binaries Change 3037006 on 2016/07/04 by Thomas.Sarkanen Removing old PhysX source Change 3037400 on 2016/07/05 by Thomas.Sarkanen Make sure to set GW_DEPS_ROOT environment variable Otherwise CMake can pick up old files or fail to build projects. Change 3037763 on 2016/07/05 by Thomas.Sarkanen Make sure we default to older convex hull generation method. New method doesnt deal with degenerate cases as well as the old so if we want to use it we will need better fallback code. Change 3039192 on 2016/07/06 by Thomas.Sarkanen Fixed destructible & convex collision not generating correct hulls Reverted to older hull generaiton method as thinner meshes are not being generated correctly with the new eQUICK_HULL method. Also made sure to set cooking params correctly (previously params were only set the first time a deformable mesh was cooked). PCM is enabled now by default so hooked up the flag to correctly disbale it. Bumped the DDC GUID to force a re-cook of convex meshes. Change 3039236 on 2016/07/06 by Thomas.Sarkanen Prevented warning log spam from fetchResults() APEX does not call simulate() on the PhysX scene if there are no actors, so we duplicate the logic and dont call simulate() or fetchResults() if there are no actors present. #jira UE-31515 - NpScene.cpp 2304 eINVALID_OPERATION : PxScene::fetchResults: fetchResults() called illegally! - Error when playing in First Person template Change 3039244 on 2016/07/06 by Thomas.Sarkanen Bumped the landscape version DDC key to force a heightfield re-cook #jjira UE-31532 - Landscapes do not have collision Change 3040887 on 2016/07/07 by Thomas.Sarkanen Stopped onWake() callbacks being fired when objects are initially sleeping Objects start awake in the new PhysX, so we require an explicit putToSleep() call rather than relying on the wake timer timeout. #jira UE-31504 - Physics-enabled component is awake even with Start Awake disabled Change 3067119 on 2016/07/27 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3068266 on 2016/07/28 by Thomas.Sarkanen Fixed standalone building of solutions Also added CMake directories to deployment script Change 3073437 on 2016/08/02 by Ori.Cohen Added custom code for finding convex faces. This is to get the most opposing normal behavior. #JIRA UE-31512, UE-31533 Change 3075553 on 2016/08/03 by Ori.Cohen Fix deprecated SafeNormal vs GetSaveNormal Change 3077938 on 2016/08/04 by Ori.Cohen Fix bad constraint issue when waking up kinematic actors Change 3077939 on 2016/08/04 by Ori.Cohen Fix limits of size 0 going into physx constraints. Change 3080809 on 2016/08/08 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Resolved BodyInstance.cpp conflicts in UpdateInstanceSimulatePhysics Change 3085212 on 2016/08/11 by Thomas.Sarkanen Updated CMake command lines now that platforms are in seperate directories BuildPhysX script now works again Change 3090340 on 2016/08/16 by Benn.Gallagher Fixed usage of setRigidDynamicFlag after API change Change 3090892 on 2016/08/16 by Marc.Audy Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3093595 on 2016/08/18 by Benn.Gallagher Fixed new code coming down from main to new APIs Change 3099294 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees Merging //UE4/Dev-Physics-Upgrade/PhysX/... to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/... Change 3099296 on 2016/08/24 by Sheikh.Dawood.Abdul.Ajees -PhysX in-place build from Engine folder -Optional loading or NvToolsExt Change 3101628 on 2016/08/25 by Ori.Cohen Make cmake portable and fixup generated projects to use proper lib/dll output Change 3101634 on 2016/08/25 by Ori.Cohen Temp script to make it easy to generate projects using UAT Change 3101714 on 2016/08/25 by Ori.Cohen CMake distributed for building without install Change 3101719 on 2016/08/25 by Ori.Cohen Fix non-install cmake not working for ps4. Also update toolchain paths and compiler. Change 3101777 on 2016/08/25 by Ori.Cohen Fix accidently skipping generating solutions. Change 3101866 on 2016/08/25 by Ori.Cohen Fix second run of cmake not being able to delete readonly cmake files copied over Change 3102520 on 2016/08/26 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX & APEX libs. Change 3102531 on 2016/08/26 by Ori.Cohen Up DDC version for new physx libs Change 3102572 on 2016/08/26 by Ori.Cohen Fix lib to Lib and also remove dead code related to deploy which we no longer need Change 3102656 on 2016/08/26 by Sheikh.Dawood.Abdul.Ajees Add pdbs to static libs. Change 3102745 on 2016/08/26 by Ori.Cohen Fix physxbuild ignoring lib PDBs now that they are correctly generating. Change 3102750 on 2016/08/26 by Benn.Gallagher Fix for explosive fracture events due to changes in mesh inflation. Change 3102855 on 2016/08/26 by Ori.Cohen Added lib pdbs Change 3106690 on 2016/08/30 by Ori.Cohen Fix external physx cmake modules path being set incorrectly Change 3107042 on 2016/08/30 by Ori.Cohen Fix namespace typo and add ImmediateMode to cmake Change 3107304 on 2016/08/30 by Sheikh.Dawood.Abdul.Ajees Fix PhysX lib rename Change 3108078 on 2016/08/31 by Ori.Cohen Move ImmediateMode module inside physx. Change 3108276 on 2016/08/31 by Ori.Cohen Immediate mode is now compiled Change 3111534 on 2016/09/02 by Thomas.Sarkanen Fixup deprecated PhysX APIs "Active transforms" feature replaced with "active actors". Convex skinWidth and heightfield thickness removed as they were unused. Tolerance mass removed as it is ignored internally now. CreateShape now uses the PxPhysics version, with exclusivity respected via the passed-in flag. Note, we still use the following deprecated calls: - PxVec3::operator[]: This is used to iterate over dimensions and is still extremely useful so I've kept it for now. - Batched queries are still used by the vehicle system, so we still need to use them although they are deprecated. #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111636 on 2016/09/02 by Thomas.Sarkanen Removed deprecated use of PxVec3::operator[] After discussion on slack, apparently this was causing aliasing issues with certain compilers (XboxOne, for instance). #jira UE-17833 - Stop using deprecated PhysX API calls Change 3111793 on 2016/09/02 by Ales.Borovicka [From trunk] 21113605 - removed tolerances scale usage from normalized distance test p4rmerge of Change 21115034 by aborovicka from cl-21115034.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3111981 on 2016/09/02 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3111984 on 2016/09/02 by Ori.Cohen Debug config uses CHECKED by default Change 3112432 on 2016/09/02 by Ori.Cohen BuildPhysX.Automation: Deploying PhysX and APEX libs. Quickhull cleanup fix. Remove slow check for if actors are simulating. #JIRA UE-35231 Change 3114288 on 2016/09/06 by Ori.Cohen Fix compiler error Change 3115781 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21074422 - Improved speculative CCD behaviour (correct decision of when to retain bias - was incorrect before). Some code conformity changes recommended by Pierre. Fixed an assert that could fire when using sweep-based CCD with kinematics that didn't have CCD enabled. Improved some documentation. Reviewed by Michelle p4rmerge of Change 21125150 by sschirm from cl-21125150.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115788 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21078633 - PX-696 - Remove unused PoolListThreadSafe class p4rmerge of Change 21125151 by sschirm from cl-21125151.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115795 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21079886 - (1)[PX-702]wrong test case for PCM mesh edge-edge parallel edge rejection check [Reviewer: Kier] (2)check in new version of gauss map SAT implementation(disable by default as reference for GPU code) p4rmerge of Change 21125180 by sschirm from cl-21125180.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115809 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085278 - PX-601 - The eCOLLISION_PAIRS debug viz param is not used. p4rmerge of Change 21125190 by sschirm from cl-21125190.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115812 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21085367 - fixed release notes for negative mesh scale p4rmerge of Change 21125217 by sschirm from cl-21125217.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115817 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090281 - [PX-425]Improving heightfield documentaiton. No longer extruding bounds for heightfields if unified heightfield collisions are used. Reviewed by Michelle p4rmerge of Change 21125224 by sschirm from cl-21125224.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115820 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090512 - Updating error messages. This is causing a UT to fail that mustn't get run when using the combined VT/UT project. p4rmerge of Change 21125229 by sschirm from cl-21125229.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115823 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090881 - PX-701 sweep position fix [r Pierre] p4rmerge of Change 21125230 by sschirm from cl-21125230.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115831 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21090883 - PX-694 HF border miss [r Pierre] p4rmerge of Change 21125232 by sschirm from cl-21125232.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115835 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091870 - Michelle's fix for convex-mesh issue found in one of the CCD heightfield visual tests. Reviewed by Kier p4rmerge of Change 21125238 by sschirm from cl-21125238.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115840 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091979 - Some CCD optimizations. The intention of this is to bypass work if you have lots of bodies with CCD enabled but most are moving slowly. Reviewed by Michelle p4rmerge of Change 21125241 by sschirm from cl-21125241.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115841 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21091992 - Fix Linux warning recommending using parantheses p4rmerge of Change 21125242 by sschirm from cl-21125242.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115843 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21092009 - [PX-375] Removed/replaced "weird comments" in contact modification API file. p4rmerge of Change 21125245 by sschirm from cl-21125245.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115848 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094919 - Fix a compiler warning. Missed a copy n' paste error in the code. It compiles (with warnings on GCC), would produced the desired results but it's clearly wrong. p4rmerge of Change 21125247 by sschirm from cl-21125247.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115867 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21095517 - Fix metadata warning in debug builds. Reviewed by Michelle p4rmerge of Change 21125252 by sschirm from cl-21125252.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115876 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21101463 - Re-introduced 'isIdentity' function in Quat. This was originally part of a larger CL but this bit as been extracted for clarity. Review: Ales p4rmerge of Change 21125253 by sschirm from cl-21125253.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115881 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102045 - PX-507 fixed loading repX with kinematic actor and trimesh geometry [r Simon] p4rmerge of Change 21125255 by sschirm from cl-21125255.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115891 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102138 - PX-708 - Review p4 changes for missing docs [Pierre] Review: Simon p4rmerge of Change 21125256 by sschirm from cl-21125256.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115894 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21102219 - PX-709 updated release notes and migration guide p4rmerge of Change 21125258 by sschirm from cl-21125258.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115897 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105325 - PX-542: add comment to comment regarding spu in batched queries code. p4rmerge of Change 21125261 by sschirm from cl-21125261.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115904 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105351 - Back out changelist 21102045 p4rmerge of Change 21125262 by sschirm from cl-21125262.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115909 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105521 - PX-664 - PVD doesn't properly capture SQ flags PX-665 - PVD's sweep hit capture is probably broken Details: - removed QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_CLOSEST_OBJECT / QUERY_LINEAR_COMPOUND_GEOMETRY_SWEEP_ALL_OBJECTS since they are apparently not used anymore - refactored CapturePvdOnReturn: - removed useless struct QType (over-engineered) - identified / marked unused members. Might vanish later. - "compression oriented programming" of main code. - PvdSqHit: - added explicit PxOverlapHit ctor for overlaps (makes it clearer which ctor is called for each kind of hit) - captured hit flags in PxRaycastHit and PxSweepHit ctors. This is the part that fixes PX-664. - PvdSceneQueryCollector: - re-routed "any hit" functions to complete hit ctors instead of incomplete (PxQueryHit) one. This is the part that fixes PX-665. - unified names of class members. The previous PvdSceneQueryCollector right here is a good example of why our coding standard doesn't make any sense (the public members all have the "m" prefix as well, nobody ever bothers changing the members' names when they go from private to public). - "compression oriented programming" of main code. Review: Ales p4rmerge of Change 21125263 by sschirm from cl-21125263.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115915 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105695 - fix compile error p4rmerge of Change 21125264 by sschirm from cl-21125264.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115917 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105850 - Back out changelist 21105325 p4rmerge of Change 21125265 by sschirm from cl-21125265.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115923 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106057 - [PX-703] Removed comment promising documentation of how all the multi-client callbacks group events together. Interested parties can read the code but the decision over how events are grouped probably shouldn't influence their callback design decisions. Actually submitting (file was checked out but not saved in previous submit) p4rmerge of Change 21125267 by sschirm from cl-21125267.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115925 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21106460 - [PX-710] Missing documentation changes. p4rmerge of Change 21125268 by sschirm from cl-21125268.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115927 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21110787 - Some minor cloth cleanup, related to PX-711. (r mtamis) p4rmerge of Change 21125271 by sschirm from cl-21125271.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115934 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113806 - PX-707 remove cuda interop for d3d9 (r dduka, kstorey) p4rmerge of Change 21125273 by sschirm from cl-21125273.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115938 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21113869 - PxProfiler changes - Remove ?filename≈ and ?lineno≈: It is useless for profile zones. The name of the zone already uniquely describes a place in the SDK. The line numbers are useless when people have local changes in their files anyway (which happens quite a bit for Epic / Unity). This is also currently not used by PVD so it is unclear why we added it. Filenames are usually long strings that we do not want to transmit over a network. Review: Ales p4rmerge of Change 21125275 by sschirm from cl-21125275.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115941 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114295 - [PX-716] Fixed assert in broad phase in SampleParticles when using GPU. Reviewed by Michelle p4rmerge of Change 21125276 by sschirm from cl-21125276.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115942 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114587 - [PX-635] CUDA 8 support. Windows and Linux switched to use CUDA 8.0.27. Reviewed/contributed to by Cheng, Simon, Michelle. p4rmerge of Change 21125279 by sschirm from cl-21125279.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115945 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21114843 - Articulation helper code only does 1 internal/external solve pass if internal/external coefficients are the same and internal/external iterations are the same. Reviewed by Michelle p4rmerge of Change 21125282 by sschirm from cl-21125282.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115949 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21118231 - Profiler changes: Move CUDA-related parts to specific class. Long term goal is to drop them entirely. Review: Ales p4rmerge of Change 21125283 by sschirm from cl-21125283.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115952 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21119117 - PX-721 PxVolumeCache deprecated [r Pierre] p4rmerge of Change 21125287 by sschirm from cl-21125287.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115958 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124924 - PX-720 PxSpatialIndex deprecated [r Pierre] p4rmerge of Change 21125289 by sschirm from cl-21125289.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115964 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21124943 - PX-714 PxConstaintFlag::eDEPRECATED_32_COMPATIBILITY removed [r Simon] p4rmerge of Change 21125292 by sschirm from cl-21125292.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115969 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21094813 - start thread additional tests [r Simon] p4rmerge of Change 21125307 by sschirm from cl-21125307.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3115970 on 2016/09/07 by Luke.Thatcher [PLATFORM] [PS4] [!] Minor fix to PhysX 3.4/APEX 1.4 build for PS4 in //UE4/Dev-Physics-Upgrade. - Library output path does not need to contain the Visual Studio version. - Fixup library paths in PhysX.Build.cs Change 3115973 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21105837 - [PX-494] Disambiguating GPU PhysX APIs not used by GRB. p4rmerge of Change 21125320 by sschirm from cl-21125320.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116047 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] 21125154 - Merging APEX 1.4 trunk and Epic integration branches. p4rmerge of Change 21127359 by sschirm from cl-21127359.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116059 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From trunk] updated and added products - 21124943 p4rmerge of Change 21127711 by sabdulajees from cl-21127711.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116069 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Enable APEX_UE4 define for cmake p4rmerge of Change 21127770 by sabdulajees from cl-21127770.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116073 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees [From Epic] 3112432 - Quickhull cleanup fix. Remove slow check for if actors are simulating. p4rmerge of Change 21128334 by sabdulajees from cl-21128334.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3116081 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Add APEX_UE4 define Change 3116088 on 2016/09/07 by Sheikh.Dawood.Abdul.Ajees Missed conflicted change in CL 3116047 Change 3116415 on 2016/09/07 by Ori.Cohen Improve vehicle debug rendering stats to be more meaningful. Also fix lock semantic issue. Change 3117376 on 2016/09/08 by Luke.Thatcher [PLATFORM] [PS4] [~] Update PhysX/APEX compile warnings flags to minimal set needed for a successful build. Change 3118458 on 2016/09/08 by Dmitry.Rekman Linux: first iteration of automated cross-build. - Still relies on make being available on the system. Change 3118848 on 2016/09/08 by Chris.Babcock Added PxSharedDir + src/*/include directories for PhysX (not found if APEX not enabled for platform) Change 3119236 on 2016/09/09 by Keith.Judge PhysX 3.4 Automation Tool build for Xbox One. Change 3119788 on 2016/09/09 by Chris.Babcock Fix all the blank lines (messing up resolves) Change 3119801 on 2016/09/09 by Chris.Babcock Change filetype back to text Change 3119804 on 2016/09/09 by Ori.Cohen Remove areaTestEpsilon=0 which is no longer needed since we set skin width according to the relative extent of the mesh. #JIRA UE-35678 Change 3120210 on 2016/09/09 by Dmitry.Rekman Linux: PhysX libs + changes to make UE4Client built. Change 3120441 on 2016/09/09 by Chris.Babcock Android: PhysX libs + changes to make UE4Client build (ARMv7 only!) Change 3120857 on 2016/09/12 by Nick.Shin support tool: gnu win32 make #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3120876 on 2016/09/12 by Nick.Shin HTML5 platform -- PhysX automation tool support #jira UEPLAT-1324 - Update HTML5 PhysX to CMake Change 3120881 on 2016/09/12 by Nick.Shin APEX files for HTML5 builds NOTE: these are work in progress - SIMD erros still needs to be looked at Change 3121162 on 2016/09/12 by Ori.Cohen Remove unneeded glut and nv ext dll #JIRA UE-UE-35744 Change 3121209 on 2016/09/12 by Ales.Borovicka [From trunk] 21146632 - PX-743 fixed convex hull issue p4rmerge of Change 21146795 by aborovicka from cl-21146795.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3121707 on 2016/09/12 by Dmitry.Rekman PhysX: fix path to bundled make. Change 3122071 on 2016/09/12 by Chad.Garyet dev-physics upgrade build process Change 3122096 on 2016/09/12 by Ori.Cohen Add rb none to auto generated build script Change 3122098 on 2016/09/12 by Ori.Cohen Removing regex from json Change 3122108 on 2016/09/12 by Ori.Cohen Fixing json to include -- in command line Change 3122114 on 2016/09/12 by Chris.Babcock Android: allow speciifying architecture with TargetPlatforms (optional - after platform), ex. Android-arm64 Change 3122123 on 2016/09/12 by Chad.Garyet fixing typos Change 3122124 on 2016/09/12 by Chad.Garyet typo fix Change 3122128 on 2016/09/12 by Chad.Garyet typo fix Change 3122130 on 2016/09/12 by Chad.Garyet typo fix Change 3122177 on 2016/09/12 by Chris.Babcock Android: added libraries (ARMv7, ARM64, x86) Change 3122200 on 2016/09/12 by Chris.Babcock Fix bad escape character (\#) Change 3122739 on 2016/09/13 by Chad.Garyet Making these full workspaces instead of compiles, compiles cannot submit to p4 Change 3122827 on 2016/09/13 by Dmitry.Rekman PhysX: fix case sensitive build. Change 3122944 on 2016/09/13 by Nick.Shin support tool: gnu win32 make these are the source codes to the utility #jira UEFW-106 - Add HTML5 support to PhysX CMake & automation scripts #code.review dmitry.rekman Change 3123511 on 2016/09/13 by Dmitry.Rekman Linux: fix building when Cygwin is present. - Also: don't use Windows tools on non-Windows platforms. Change 3123529 on 2016/09/13 by Nick.Shin forgot to submit this in CL: 3120876 Change 3123713 on 2016/09/13 by Michael.Trepka Support for building PhysX 3.4 and APEX 1.4 with CMake for Mac Change 3123716 on 2016/09/13 by Michael.Trepka PhysX 3.4 and APEX 1.4 libraries for Mac Change 3123718 on 2016/09/13 by Chris.Babcock Android: added x86_64 (x64) PhysX libraries and cmake changes Change 3124033 on 2016/09/13 by Ori.Cohen Change physx auto build to use reconcile instead of mass edit all files. Needed to keep build machines from orphaning change lists on failure. Change 3124036 on 2016/09/13 by Dmitry.Rekman Fix compile error due to symbol collision. Change 3124198 on 2016/09/13 by Ori.Cohen Fix file search not using the right build suffix for release builds. Change 3124577 on 2016/09/14 by Ori.Cohen Fix environment PATH incorrectly dropping paths. Change 3124897 on 2016/09/14 by Ori.Cohen Added platforms to physx build machine Change 3124905 on 2016/09/14 by Chad.Garyet Swapping dev-physics stream to minimal vstream. Change 3124928 on 2016/09/14 by Ori.Cohen Fix android typo Change 3124940 on 2016/09/14 by Chad.Garyet adding email notifiers Change 3125065 on 2016/09/14 by Ori.Cohen Prevent unsupported platforms from trying to build APEX. Needed for batch processing of many platforms. Change 3125242 on 2016/09/14 by Ori.Cohen Remove DLL dependency on PhysXDevice64 Change 3125319 on 2016/09/14 by Dmitry.Rekman PhysXBuild: speed up make when building Linux. - Credits for the suggestion go to LukeT. - Can spawn more than 16 jobs because Win32 make reportedly cannot control its number, but this hasn't been a problem when building locally (might be due to individual jobs being quick). Change 3125324 on 2016/09/14 by Dmitry.Rekman Fixes to Linux PhysX. - Bring missing defines to some Apex libs. - Set to always include debug info in Linux. - Set to use response file (for some reason this fixed a build locally despite CMake not using it). Change 3125420 on 2016/09/14 by Ori.Cohen Remove caching of bodysetup cooking when there's a warning/error. Change 3125675 on 2016/09/14 by Dmitry.Rekman Linux: fix case-sensitive compilation. Change 3125718 on 2016/09/14 by Dmitry.Rekman Fix UAT building on Linux. Change 3125735 on 2016/09/14 by Dmitry.Rekman Linux: changes for building PhysX natively - Needed for debugging (proper debug info gets built). Change 3125868 on 2016/09/14 by Michael.Trepka iOS support for PhysX 3.4 Change 3125878 on 2016/09/14 by Michael.Trepka PhysX 3.4 libraries for iOS Change 3125927 on 2016/09/14 by Dmitry.Rekman Linux: (better) architecture support. - Also a fix for Apex not having APEX_UE4 set. Change 3125937 on 2016/09/14 by Dmitry.Rekman Linux: more fixes for Apex. - Minor changes after having APEX_UE4 defined properly. Change 3126282 on 2016/09/15 by Luke.Thatcher [PLATFORM] [PS4] [~] Use GNU makefiles for PhysX/APEX PS4 builds, as AutoSDK does not install the required file for MSBuild to work correctly. - Response files are enabled for PS4 and Linux builds, to fix long/truncated command line errors. The flags for this have been moved to the common.cmake files, and are enabled by the build tool via a command line define switch -DUSE_RESPONSE_FILES=1. - Simplified PS4 Android and Linux cases in SetupBuildForTargetLibAndPlatform, as they all do exactly the same thing. - Simplified -j 16 flag handling on Windows build hosts, and enabled for all makefile platforms (currently Linux, PS4 and Android) - Removed old PS4ToolChain.txt file which was unused. Change 3126540 on 2016/09/15 by Michael.Trepka tvOS support for PhysX 3.4 Change 3126541 on 2016/09/15 by Michael.Trepka PhysX 3.4 libs for tvOS Change 3126652 on 2016/09/15 by Simon.Schirm Remove PxShared src includes #rb Ori.Cohen Change 3126869 on 2016/09/15 by Ori.Cohen Add mac cmake binary Change 3126873 on 2016/09/15 by Ori.Cohen mac to use UE cmake bin Change 3126895 on 2016/09/15 by Michael.Trepka Added +x to Mac cmake binary Change 3126905 on 2016/09/15 by Michael.Trepka Fixed BuildPhysX.Automation.cs compile errors on Mono Change 3126910 on 2016/09/15 by Nick.Shin addendum to: CL: #3120881 APEX files for HTML5 builds - tested these changes for both PhysX and APEX builds Change 3126922 on 2016/09/15 by Ben.Marsh Put Dev-Physics-Upgrade onto the Shared_Compile and UE4_Compile_Mac pools. Change 3127072 on 2016/09/15 by Ori.Cohen Improve debug symbols for xbox and ps4 Change 3127194 on 2016/09/15 by Ori.Cohen Distinguish between cmake and cmake.exe Change 3127833 on 2016/09/16 by Ales.Borovicka [From trunk] 21162711 - increased tolerance for refused verts in quick hull p4rmerge of Change 21162990 by aborovicka from cl-21162990.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3127960 on 2016/09/16 by Benn.Gallagher Duplicated clothing holes fix from Dev-Framework Change 3127982 on 2016/09/16 by Ori.Cohen Merging //UE4/Dev-Physics to Dev-Physics-Upgrade (//UE4/Dev-Physics-Upgrade) Change 3128052 on 2016/09/16 by Ori.Cohen Fixed incorrect PxMat34Legacy legacy serialization (Owen bug). Change 3128113 on 2016/09/16 by Ales.Borovicka [From trunk] 21126371 - Profiler changes - Remove PxProfileTypes It looks like nobody understands how to use this: struct PxProfileTypes { enum Enum { eNORMAL = 0, //!< ordinary profile zone, starts and ends in same thread eSTALL = 1, //!< thread is busy but can't progress (example: spin-lock) eIDLE = 2, //!< thread is idle (example: waiting for event) eDETACHED = 3, //!< zone crosses thread boundary eLOCK = 4, //!< thread tries to acquire a lock, reports result on zoneEnd() eLOCK_SUCCESS = 5, //!< locking mutex succeded, to be passed to zoneEnd() eLOCK_FAILED = 6, //!< locking mutex failed, to be passed to zoneEnd() eLOCK_TIMEOUT = 7 //!< locking mutex timed out, to be passed to zoneEnd() }; }; It seems that only eNORMAL and eDETACHED are used in the SDK, and eDETACHED can be done automatically (see below). It is unclear how the users are supposed to use the other enums. ==> not done fully automatically yet, instead there is now just a bool for detached/regular events. The PVD implementation needs to know in the "start" event if the zone is "detached" or not, so the fully automatic version unfortunately would not work immediately with PVD (at least not without touching the PVD code). Maybe later. - Return a void pointer from zoneStart. Pass it to zoneEnd. Most profilers use a scoped object like our own PxProfileScoped class, which stores some data locally (on the stack) in the ?start≈ event, so that it is still available in the ?end≈ event. Unfortunately our virtual interface does not let users do the same in their implementation. We suffer from this ourselves, in our own PVD implementation. For example in the code below we do the expensive ?getEventIdForName≈ twice with the same event name: void PvdImpl::zoneStart(const char* eventName, PxProfileTypes::Enum type, uint64_t contextId, const char *filename, int lineno) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); void PvdImpl::zoneEnd(const char *eventName, PxProfileTypes::Enum type, uint64_t contextId) { if ( mProfileZone ) { uint16_t id = mProfileZone->getEventIdForName(eventName); But a regular profiler would not do that: it would store the id as a class member and reuse it in the ?end≈ event. We can allow this kind of optimizations to happen by simply returning a void pointer from ╡zoneStart? and passing it to the ╡zoneEnd? function. We would then return the id as a void pointer, and cast it back to an int16 in zoneEnd. This is not ideal because the amount of data is limited to the size of a pointer, but this opens the door for some optimizations at least. p4rmerge of Change 21162866 by aborovicka from cl-21162866.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128119 on 2016/09/16 by Ales.Borovicka [From trunk] 21126412 - fixed compile error p4rmerge of Change 21162870 by aborovicka from cl-21162870.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128122 on 2016/09/16 by Ales.Borovicka [From trunk] 21131564 - Remove PxBufferedProfilerCallback. Review: Ales p4rmerge of Change 21162874 by aborovicka from cl-21162874.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128129 on 2016/09/16 by Ales.Borovicka [From trunk] 21154319 - Remove the PxProfileContext enum. The rationale is that the default value should be implementation-specific, and thus left to users. "0" makes sense for our implementation (PVD) since we store a scene pointer as our context, but a different user-provided implementation might use for example a scene index instead, in which case 0 would be a completely legal value, and perhaps 0xffffffff would be a more appropriate value for indicating "no context". On top of that, the enum struct itself was questionable since it only defined a single value. Review: Ales p4rmerge of Change 21162877 by aborovicka from cl-21162877.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128134 on 2016/09/16 by Ales.Borovicka [From trunk] 21159702 - PX-637: Change CreateParticleShapes_Stage1 to launch as a single CTA p4rmerge of Change 21162880 by aborovicka from cl-21162880.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128139 on 2016/09/16 by Ales.Borovicka [From trunk] 21130683 - [PX-516] Joint lock flags. Working on both CPU and GPU. Reviewed by Michelle p4rmerge of Change 21162901 by aborovicka from cl-21162901.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128143 on 2016/09/16 by Ori.Cohen Fix for TryGetVSInstallDir Change 3128144 on 2016/09/16 by Ales.Borovicka [From trunk] 21130799 - PX-526 sweep geometry isValid [r Pierre] p4rmerge of Change 21162904 by aborovicka from cl-21162904.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128150 on 2016/09/16 by Ales.Borovicka [From trunk] 21135017 - fixed incorrect geometry sweep validation function p4rmerge of Change 21162909 by aborovicka from cl-21162909.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128154 on 2016/09/16 by Ales.Borovicka [From trunk] 21130972 - Fixed some build warnings produced on iOS. p4rmerge of Change 21162917 by aborovicka from cl-21162917.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128159 on 2016/09/16 by Ales.Borovicka [From trunk] 21131769 - Attempted fix for documentation build error. p4rmerge of Change 21162918 by aborovicka from cl-21162918.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128163 on 2016/09/16 by Ales.Borovicka [From trunk] 21134721 - Remove shadowed variable in constrainMotion in joint projection p4rmerge of Change 21162924 by aborovicka from cl-21162924.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128168 on 2016/09/16 by Ales.Borovicka [From trunk] 21135420 - Re-enabled adaptive force on both GPU and CPU pipelines. Required some semantic changes to the way stabilization works to allow both approaches to leverage "accelScale" to scale gravity. Reviewed by Michelle p4rmerge of Change 21162929 by aborovicka from cl-21162929.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128171 on 2016/09/16 by Ales.Borovicka [From trunk] 21135492 - Fix bug in immediate mode where a PxGeometry was dangerously cast to a Gu::GeometryUnion. It is not guaranteed (or even likely) that the application will be passing a Gu::GeometryUnion so this is likely to result in a crash if a convex hull, mesh or HF were used. Reviewed by Michelle p4rmerge of Change 21162930 by aborovicka from cl-21162930.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128173 on 2016/09/16 by Ales.Borovicka [From trunk] 21139402 - Improve PVD profiling for multiple scenes Review: Ales p4rmerge of Change 21162932 by aborovicka from cl-21162932.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128181 on 2016/09/16 by Ales.Borovicka [From trunk] 21145313 - Improved support for multi-scenes profiling in PVD (continued) p4rmerge of Change 21162936 by aborovicka from cl-21162936.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128184 on 2016/09/16 by Ales.Borovicka [From trunk] 21145467 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162941 by aborovicka from cl-21162941.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128188 on 2016/09/16 by Ales.Borovicka [From trunk] 21145584 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162943 by aborovicka from cl-21162943.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128189 on 2016/09/16 by Ales.Borovicka [From trunk] 21146617 - PX-712, PX-507 fixed load of RepX file with kinematic rigid bodies with mesh shapes [r Simon] p4rmerge of Change 21162947 by aborovicka from cl-21162947.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128190 on 2016/09/16 by Ben.Marsh Build PhysX targets in parallel. Change 3128193 on 2016/09/16 by Ales.Borovicka [From trunk] 21150008 - PX-722 - PxClientID deprecated [r Kier] p4rmerge of Change 21162949 by aborovicka from cl-21162949.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128198 on 2016/09/16 by Ales.Borovicka [From trunk] 21150053 - Improved support for multi-scene profiling in PVD (continued) p4rmerge of Change 21162952 by aborovicka from cl-21162952.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128201 on 2016/09/16 by Ales.Borovicka [From trunk] 21150234 - fix compile error p4rmerge of Change 21162956 by aborovicka from cl-21162956.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128205 on 2016/09/16 by Ales.Borovicka [From trunk] 21155265 - metadata updated p4rmerge of Change 21162962 by aborovicka from cl-21162962.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128211 on 2016/09/16 by Ales.Borovicka [From trunk] 21159411 - [PX-638] GRB cleanup items. Reviewed by Michelle p4rmerge of Change 21162982 by aborovicka from cl-21162982.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128213 on 2016/09/16 by Ales.Borovicka [From trunk] 21159818 - kinematic rigid repX fix for Android p4rmerge of Change 21162989 by aborovicka from cl-21162989.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128222 on 2016/09/16 by Ales.Borovicka [From trunk] 21150589 - fixes after PxShared and PhysX changes p4rmerge of Change 21162999 by aborovicka from cl-21162999.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128228 on 2016/09/16 by Ales.Borovicka [From trunk] 21159948 - doxygen comments and indents fixes in public interface p4rmerge of Change 21163009 by aborovicka from cl-21163009.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128229 on 2016/09/16 by Ales.Borovicka [From trunk] 21163740 - Fixed race condition in interaction framework. Simplified some code related to triggers/particles/clothing interactions, which does not get run in parallel. This previously shared its implementation with the parallel rigid body interactions but, as a result of some refactoring, it now doesn't. Reviewed by Michelle p4rmerge of Change 21163978 by aborovicka from cl-21163978.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128255 on 2016/09/16 by Ori.Cohen Include platform target in physx libs CL Change 3128259 on 2016/09/16 by Ori.Cohen Fix android reference Change 3128287 on 2016/09/16 by Ales.Borovicka [From trunk] 21127073 - PX-693 added define PX_EMSCRIPTEN [r Simon] p4rmerge of Change 21162846 by aborovicka from cl-21162846.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3128622 on 2016/09/16 by Ori.Cohen Fix stale cpp in the pvdsdk cmake file. Change 3128744 on 2016/09/16 by Ori.Cohen Fix force_inline preventing linker from finding symbols Change 3128770 on 2016/09/16 by Ben.Marsh Add a nightly build for Dev-Physics-Upgrade Change 3128792 on 2016/09/16 by Ori.Cohen Remove inline entirely as it won't work for some platforms when the definition is not in the same cpp Change 3128807 on 2016/09/16 by Ben.Marsh Really split PhysX nodes out onto different agents. Change 3128835 on 2016/09/16 by Dmitry.Rekman Linux: Add support for ARM architecture (without APEX). Change 3128951 on 2016/09/16 by Dmitry.Rekman Add Linux-ARM to the builder list. Change 3129006 on 2016/09/16 by Dmitry.Rekman Fix for adding Linux ARM build. Change 3129037 on 2016/09/16 by Ori.Cohen Fix DLL empty warning Change 3129426 on 2016/09/16 by Ori.Cohen Refresh DDC key for new physx cooking libs Change 3129428 on 2016/09/16 by Ori.Cohen Fix compiler error Change 3130638 on 2016/09/19 by Ori.Cohen Add debug symbols to APEX on PS4 Change 3130977 on 2016/09/19 by Ori.Cohen Undefine APEX_API and PHYSX_API before including physx and apex headers. Change 3131021 on 2016/09/19 by Ori.Cohen Add APEX_UE4 as a definition regardless of which module is being built. #JIRA UE-36044 Change 3131024 on 2016/09/19 by Ori.Cohen Make sure html5 gets apex ue4 flag Change 3131517 on 2016/09/19 by Jeff.Farris Support for speculative CCD. Change 3131935 on 2016/09/20 by Simon.Schirm [From trunk] 21163785 - Fixed incorrect PxMat34Legacy legacy serialization (Owen bug in UE4). Removed comment... #rb none p4rmerge of Change 21175004 by sschirm from cl-21175004.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3131942 on 2016/09/20 by Marijn.Tamis [APEX1.4]Async cloth Cooking issue workaround. Change 3132145 on 2016/09/20 by Simon.Schirm [From trunk] 21170876 - PX-745 - Remove custom kernel profiling functionality from PxShared, PhysX and APEX #rb none Review: Simon p4rmerge of Change 21175012 by sschirm from cl-21175012.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132289 on 2016/09/20 by Simon.Schirm [From trunk] 21175816 - Removed more references to unsupported GPU profiling. Complements 21170876 (r ibychkov) #rb none p4rmerge of Change 21175823 by sschirm from cl-21175823.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132316 on 2016/09/20 by Simon.Schirm [From trunk] updated and added products (only docs) #rb none p4rmerge of Change 21175900 by sschirm from cl-21175900.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3132614 on 2016/09/20 by Ori.Cohen Allow sweeps with 0 direction to still do an overlap check. #JIRA UE-35264 Change 3135155 on 2016/09/21 by Jeff.Campeau PhysX Xbox One Cmake fixes Change 3135733 on 2016/09/22 by Ales.Borovicka [From trunk] 21184354 - PX-662 fixed android issues with articulation [r Kier] p4rmerge of Change 21184355 by aborovicka from cl-21184355.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3136023 on 2016/09/22 by Sheikh.Dawood.Abdul.Ajees Remove APEX_UE4 flag for individual platforms Change 3136245 on 2016/09/22 by Simon.Schirm [From trunk] 21184998 - Fixed another source of non-determinism reported by FAKT. Reviewed by Michelle, #rb none p4rmerge of Change 21185183 by sschirm from cl-21185183.p4r moved from //sw/physx/Releases/distro_mirrors/PhysX_3.4_APEX_1.4_Epic/ to //UE4/Dev-Physics-Upgrade/Engine/Source/ThirdParty/PhysX/ Change 3137891 on 2016/09/23 by Benn.Gallagher Fix to clothing shutdown to correctly clear fabric factories Change 3138175 on 2016/09/23 by Ori.Cohen Fix unused variable warning #JIRA UE-36363 Change 3139645 on 2016/09/26 by Benn.Gallagher Fix CEF build failure from Merge Change 3139706 on 2016/09/26 by Benn.Gallagher Fixed another merge issue in mcp plugin Change 3139708 on 2016/09/26 by Ori.Cohen Remove unused variable in Apex.build.cs #JIRA UE-36363 Change 3139745 on 2016/09/26 by Ori.Cohen Fix xbox one not finding physx/apex libs. Change 3139910 on 2016/09/26 by mason.seay Removing collision to fix cook error (replicating fix that was made in Odin stream) UE-36372 Change 3140178 on 2016/09/26 by Jeff.Campeau Fix Xbox One lib generation warnings (add default language element) Change 3140179 on 2016/09/26 by Jeff.Campeau Fix Xbox One compile warning in PhysX source Change 3140180 on 2016/09/26 by Jeff.Campeau Fix PhysX build errors (don't dllimport and include all needed libs) Change 3140235 on 2016/09/26 by Jeff.Campeau Fix a couple more compile warnings from typos [CL 3140364 by Ori Cohen in Main branch]
2016-09-26 15:28:28 -04:00
FPlatformProcess::FreeDllHandle(PhysX3CommonHandle);
FPlatformProcess::FreeDllHandle(PxFoundationHandle);
#endif
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3555219) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3537750 by Ori.Cohen Added RootBone simulation space to RigidBody node. This is useful for cases where we rotate the skeletal mesh component and counter rotate the root bone and do not want to affect simulated bodies' velocities. Change 3537756 by Ori.Cohen Added ExternalForce to rigid body node for faking inertia while simulating in component space Change 3537758 by Ori.Cohen Made it so that linear and angular velocity are properly computed for kinematic targets in immediate physics and rigid body node. Change 3538308 by Ethan.Geller #jira UE-47169: fix for streaming sources not getting properly destroyed in AudioMixer Change 3538329 by Jon.Nabozny Fix ForEachBodyBelow to use the proper body index. Change 3538528 by Ori.Cohen Fix gravity not being converted into the right simulation space for the RigidBody node Change 3539741 by James.Golding Remove unused HACD library. We use V-HACD now. #jira UE-46618 Change 3539746 by James.Golding Enable research SoftBody plugin in QAGame Change 3540115 by Ori.Cohen Turn joint pre-processing on for immediate mode. This helps with some stability issues. #tests none Change 3543166 by Ori.Cohen Exposed an inertia scale for body instances Change 3544097 by Ori.Cohen Fix incorrect bone mapping for rigid body node. (Only matters when first call to init has a different number of bodies, for example a different skin) Change 3544221 by Ori.Cohen Fix CIS Change 3544289 by Ori.Cohen Fix CIS Change 3544581 by Ori.Cohen Fix CIS Change 3545415 by Ethan.Geller Changes to AudioMixer's Delay class: Addition of SetDelayInSamples method, fix for delay line not working when being set to maximum delay Change 3545426 by Ethan.Geller #jira UEAP-282 Add Flexiverb submix effect to Synthesis plugin. Change 3545570 by Ethan.Geller Add Blueprint function library to sound utilities plugin Change 3548160 by Martin.Wilson Clean up animation compression logging (change to compression category and downgraded from warning #Jira UE-47424 Change 3548368 by Danny.Bouimad Changing an audio test on TM-AnimPhys as it isn't supported on a large number of platforms (Yet) Change 3548630 by Aaron.McLeran Don't send or mix built-in reverb submix if there's a plugin reverb enabled. Change 3548631 by Aaron.McLeran Adding ability to define default device using macro vs assuming index 0. Change 3548782 by Aaron.McLeran SDL backend implementation for windows, linux, and HTML. - Still need to hook up SDL to HTML5, but should be workable in Linux. Change 3549034 by Aaron.McLeran Adding missed file for SDL2.lib Change 3549102 by Aaron.McLeran Adding missing include Change 3550388 by James.Golding Fix ApexDestructionLib project generation #jira UE-47637 Change 3550412 by James.Golding More fixes to ApexDestruction.Build.cs Change 3550856 by Ori.Cohen Fix analysis for shared headers. #jira UE-47593 Change 3551046 by Aaron.McLeran Fix CIS build Change 3551056 by Aaron.McLeran Fixing assert on launch of audio mixer, invalid assert. Change 3552685 by Thomas.Sarkanen Fixed Fortnite warnings on editor startup/cook APEX destruction plugin was accessing the thumbnail manager before UnrealEd (and more pertinently, FortniteGame module) was loaded. Defering registration of the thumbnail rendering until later in the startup sequence means the the appropriate classes can be found. #jira UE-47595 - //UE4/Dev-AnimPhys: Cook Fortnite Win64 completed with 16 Warnings Change 3552847 by Ori.Cohen Fix CIS Change 3552916 by James.Golding Fix Win64 SDL2 deployment (path was wrong) #jira UE-47679 Change 3552919 by James.Golding Add 'RemapDirectories' entry for SoftBody plugin in QAGame (avoids package error) Also fix warning to give correct syntax #jira UE-47682 Change 3553168 by Ori.Cohen Fix CIS [CL 3555263 by Thomas Sarkanen in Main branch]
2017-07-26 09:23:14 -04:00
}