Files
UnrealEngineUWP/Engine/Source/Developer/PhysicsUtilities/Private/ConvexDecompTool.cpp

451 lines
14 KiB
C++
Raw Normal View History

// Copyright Epic Games, Inc. All Rights Reserved.
/*=============================================================================
ConvexDecompTool.cpp: Utility for turning graphics mesh into convex hulls.
=============================================================================*/
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 "ConvexDecompTool.h"
#include "Misc/FeedbackContext.h"
#include "PhysicsEngine/ConvexElem.h"
#include "ThirdParty/VHACD/public/VHACD.h"
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
#include "ThirdParty/VHACD/inc/btAlignedAllocator.h"
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
#include "PhysicsEngine/BodySetup.h"
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
#include "Async/Async.h"
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
DEFINE_LOG_CATEGORY_STATIC(LogConvexDecompTool, Log, All);
using namespace VHACD;
class FVHACDProgressCallback : public IVHACD::IUserCallback
{
public:
FVHACDProgressCallback(void) {}
~FVHACDProgressCallback() {};
void Update(const double overallProgress, const double stageProgress, const double operationProgress, const char * const stage, const char * const operation)
{
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
if (IsInGameThread())
{
FString StatusString = FString::Printf(TEXT("Processing [%s]..."), ANSI_TO_TCHAR(stage));
GWarn->StatusUpdate(stageProgress*10.f, 1000, FText::FromString(StatusString));
}
};
};
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
//#define DEBUG_VHACD
#ifdef DEBUG_VHACD
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
class FVHACDLogger : public IVHACD::IUserLogger
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
{
public:
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
virtual ~FVHACDLogger() {};
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
virtual void Log(const char * const msg) override
{
UE_LOG(LogConvexDecompTool, Log, TEXT("VHACD: %s"), ANSI_TO_TCHAR(msg));
}
};
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
static FVHACDLogger VHACDLogger;
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
#endif // DEBUG_VHACD
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
#if CPUPROFILERTRACE_ENABLED
class FVHACDProfiler : public IVHACD::IUserProfiler
{
public:
virtual ~FVHACDProfiler() {};
virtual unsigned int AllocTagId(const char* const tagName) override
{
return FCpuProfilerTrace::OutputEventType(tagName);
}
virtual void EnterTag(unsigned int tagId) override
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
{
FCpuProfilerTrace::OutputBeginEvent(tagId);
}
virtual void ExitTag() override
{
FCpuProfilerTrace::OutputEndEvent();
}
virtual void Bookmark(const char* text) override
{
TRACE_BOOKMARK(TEXT("%s"), ANSI_TO_TCHAR(text));
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
}
};
static FVHACDProfiler VHACDProfiler;
#endif
class FVHACDTaskRunner : public IVHACD::IUserTaskRunner
{
public:
virtual ~FVHACDTaskRunner() {};
virtual void* StartTask(std::function<void()> func)
{
return new TFuture<void>(Async(EAsyncExecution::ThreadPool, [func](){func();}));
}
virtual void JoinTask(void* Task)
{
TFuture<void>* Future = (TFuture<void>*)Task;
Future->Wait();
delete Future;
}
};
static FVHACDTaskRunner VHACDTaskRunner;
static void* btAlignedAllocImpl(size_t size, int32_t alignment)
{
return GMalloc->Malloc(size, alignment);
}
static void btAlignedFreeImpl(void* memblock)
{
GMalloc->Free(memblock);
}
static void* btAllocImpl(size_t size)
{
return GMalloc->Malloc(size);
}
static void btFreeImpl(void* memblock)
{
GMalloc->Free(memblock);
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
static void InitParameters(IVHACD::Parameters &VHACD_Params, uint32 InHullCount, uint32 InMaxHullVerts,uint32 InResolution)
{
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
// Override VHACD allocator with ours
btAlignedAllocSetCustom(btAllocImpl, btFreeImpl);
btAlignedAllocSetCustomAligned(btAlignedAllocImpl, btAlignedFreeImpl);
#ifdef DEBUG_VHACD
VHACD_Params.m_logger = &VHACDLogger;
#endif //DEBUG_VHACD
#if CPUPROFILERTRACE_ENABLED
VHACD_Params.m_profiler = &VHACDProfiler;
#endif
VHACD_Params.m_taskRunner = &VHACDTaskRunner; // any async tasks will be run on existing UE thread pools.
VHACD_Params.m_resolution = FMath::Max(InResolution, (uint32)10000); // Maximum number of voxels generated during the voxelization stage (default=100,000, range=10,000-16,000,000)
VHACD_Params.m_maxNumVerticesPerCH = FMath::Max(InMaxHullVerts, (uint32)4); // Controls the maximum number of triangles per convex-hull (default=64, range=4-1024)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
VHACD_Params.m_concavity = 0; // Concavity is set to zero so that we consider any concave shape as a potential hull. The number of output hulls is better controlled by recursion depth and the max convex hulls parameter
VHACD_Params.m_maxConvexHulls = InHullCount; // The number of convex hulls requested by the artists/designer
VHACD_Params.m_oclAcceleration = false;
VHACD_Params.m_minVolumePerCH = 0.003f; // this should be around 1 / (3 * m_resolution ^ (1/3))
VHACD_Params.m_projectHullVertices = true; // Project the approximate hull vertices onto the original source mesh and use highest precision results opssible.
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
VHACD_Params.m_pca = 1; // align mesh for more optimal processing of long diagonal meshes
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
}
void DecomposeMeshToHulls(UBodySetup* InBodySetup, const TArray<FVector3f>& InVertices, const TArray<uint32>& InIndices, uint32 InHullCount, int32 InMaxHullVerts,uint32 InResolution)
{
check(InBodySetup != NULL);
bool bSuccess = false;
Copying //UE4/Dev-Framework to //UE4/Main @ 2830052 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2807479 on 2015/12/17 by Zak.Middleton #ue4 - Optimize allocations in FFinalPostProcessSettings. Fix bug skipping an element when updating the ContributingCubemaps array if one is removed during an iteration. #rb Aaron.Mcleran #codereview Martin.Mittring #jira UE-24485 Change 2807695 on 2015/12/17 by Aaron.McLeran Changing the VolumeScale sound concurrency implementation to be a volume scalar on older sounds in a concurrency group rather than scale new sounds. #rb zak.middleton Change 2808628 on 2015/12/18 by Thomas.Sarkanen Minor optimization: Dont call GetWorld() 3 times in a row in USceneComponent::ShouldRender() #rb Martin.Wilson Change 2810090 on 2015/12/21 by Ori.Cohen Allow collision and trail particles to run off the game thread. Clean up missing marshelled AsyncComponentToWorld Change 2814518 on 2016/01/04 by Marc.Audy Use Reset instead of Empty Change 2814530 on 2016/01/04 by James.Golding UE-2689 Hook up lots of new icons for component classes #rb thomas.sarkanen Change 2814665 on 2016/01/04 by Marc.Audy PR #1860:Fix ChildActorComponent linking issue when extended from game (Contributed by lion03) Change 2814686 on 2016/01/04 by Benn.Gallagher Fix for radial force components applying impulses multiple times to destructible components #rb Ori.Cohen Change 2815221 on 2016/01/04 by Aaron.McLeran UE-24528 Fixing focus-distance scaling and focus priority scaling working with concurrency settings. USoundAttenuation: - Added methods to SoundAttenuation to get focus, attenuation, and distance scale based on focus factor. - Added NonFocusDistanceScale parameter to attenuation settings customization so its setable by users USoundBase: - Added function on USoundBase which checks IsLooping, which checks the duration - Removed functions IsAudible and IsAudibleSimple from USoundBase since that functionality is accomplished differently and takes into account focus-distance scaling now. FActiveSound: - Caching values of FocusPriorityScale and FocusDistanceScale to Active sound so that can be used for audibility checks - Included FocusDistanceScale when computing bIsAudible in Active sound - Moved GetAttenuationListenerData and the accompanying private struct FAttenuationListenerData to FAudioDevice since the audio device and moved code which computes focus factor and geometry into FAudioDevice::GetFocusFactor since it needs to be computed before an active sound exist FAudioDevice: - Added SoundIsAudible function which queries a particular sound if its audible based on attenuation settings, focus factor, etc. Will optionally return computed MaxDistance to avoid recomputing it in certain cases. - Added a few helper functions: FindClosestListenerIndex, GetAttenuationListenerData - Added GetFocusFactor, which performs the vector math to determine focus factor (0.0 is in-focus, 1.0 is out of focus) for a given sound and listener and attenuation focus settings. - Updated CreateComponent and PlaySoundAtLocation functions to use the new SoundIsAudible function rather than the old IsAudibleSimple #rb zak.middleton Change 2815694 on 2016/01/05 by thomas.sarkanen Added test texture Change 2815695 on 2016/01/05 by thomas.sarkanen Modified test texture Change 2815709 on 2016/01/05 by James.Golding PR #1778 : New BP-callablle function AActor::WasRecentlyRendered, with optional tolerance in seconds https://github.com/EpicGames/UnrealEngine/pull/1778 #github 1778 #jira UE-23674 #rb jurre.debaare Change 2815711 on 2016/01/05 by James.Golding PR #1534 : Add missing default tolerance value for FVector2D::Equal https://github.com/EpicGames/UnrealEngine/pull/1534 #github 1534 #jira UE-20838 #rb jurre.debaare Change 2815714 on 2016/01/05 by James.Golding PR #1887 : Added 'Thickness' Parameter to all valid options in Draw Debug Helper https://github.com/EpicGames/UnrealEngine/pull/1887 #github 1887 #jira UE-24802 #rb jurre.debaare Change 2815725 on 2016/01/05 by James.Golding Added comment that USkeletalMeshComponent::bEnablePhysicsOnDedicatedServer cannot be changed at runtime #jira UE-20439 Change 2815813 on 2016/01/05 by Marc.Audy Move dispatch of transition functions to new OnMatchStateSet virtual which is called from SetMatchState allowing subclasses to insert their own handling between the set of the variable and dispatch to GameState and Blueprints rather than having to override the entire function. #codereview Peter.Knepley Change 2815884 on 2016/01/05 by James.Golding - Avoid PSC iterating over all particle emitters each tick to check for changes in DetailMode. Now remember global DetailMode when we last checked, and only iterate again if that has changed. - Add 'WarmupTime' and 'CPUCollision' to Asset Registry Tags for Particle Systems #rb simon.tovey #codereview gil.gribb Change 2816306 on 2016/01/05 by Marc.Audy (4.11) Pass boolean to OnComponentDestroyed that indicates if the entire Actor's hierarchy is being destroyed. If so we can avoid doing a lot of expensive tear down, particularly detaching each component one at a time from the hierarchy and causing massive position/bounds updates. #rb Zak.Middleton, James.Golding
2016-01-15 13:01:30 -05:00
// Validate input by checking bounding box
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
FBox VertBox(ForceInit);
for (const FVector3f& Vert : InVertices)
Copying //UE4/Dev-Framework to //UE4/Main @ 2830052 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2807479 on 2015/12/17 by Zak.Middleton #ue4 - Optimize allocations in FFinalPostProcessSettings. Fix bug skipping an element when updating the ContributingCubemaps array if one is removed during an iteration. #rb Aaron.Mcleran #codereview Martin.Mittring #jira UE-24485 Change 2807695 on 2015/12/17 by Aaron.McLeran Changing the VolumeScale sound concurrency implementation to be a volume scalar on older sounds in a concurrency group rather than scale new sounds. #rb zak.middleton Change 2808628 on 2015/12/18 by Thomas.Sarkanen Minor optimization: Dont call GetWorld() 3 times in a row in USceneComponent::ShouldRender() #rb Martin.Wilson Change 2810090 on 2015/12/21 by Ori.Cohen Allow collision and trail particles to run off the game thread. Clean up missing marshelled AsyncComponentToWorld Change 2814518 on 2016/01/04 by Marc.Audy Use Reset instead of Empty Change 2814530 on 2016/01/04 by James.Golding UE-2689 Hook up lots of new icons for component classes #rb thomas.sarkanen Change 2814665 on 2016/01/04 by Marc.Audy PR #1860:Fix ChildActorComponent linking issue when extended from game (Contributed by lion03) Change 2814686 on 2016/01/04 by Benn.Gallagher Fix for radial force components applying impulses multiple times to destructible components #rb Ori.Cohen Change 2815221 on 2016/01/04 by Aaron.McLeran UE-24528 Fixing focus-distance scaling and focus priority scaling working with concurrency settings. USoundAttenuation: - Added methods to SoundAttenuation to get focus, attenuation, and distance scale based on focus factor. - Added NonFocusDistanceScale parameter to attenuation settings customization so its setable by users USoundBase: - Added function on USoundBase which checks IsLooping, which checks the duration - Removed functions IsAudible and IsAudibleSimple from USoundBase since that functionality is accomplished differently and takes into account focus-distance scaling now. FActiveSound: - Caching values of FocusPriorityScale and FocusDistanceScale to Active sound so that can be used for audibility checks - Included FocusDistanceScale when computing bIsAudible in Active sound - Moved GetAttenuationListenerData and the accompanying private struct FAttenuationListenerData to FAudioDevice since the audio device and moved code which computes focus factor and geometry into FAudioDevice::GetFocusFactor since it needs to be computed before an active sound exist FAudioDevice: - Added SoundIsAudible function which queries a particular sound if its audible based on attenuation settings, focus factor, etc. Will optionally return computed MaxDistance to avoid recomputing it in certain cases. - Added a few helper functions: FindClosestListenerIndex, GetAttenuationListenerData - Added GetFocusFactor, which performs the vector math to determine focus factor (0.0 is in-focus, 1.0 is out of focus) for a given sound and listener and attenuation focus settings. - Updated CreateComponent and PlaySoundAtLocation functions to use the new SoundIsAudible function rather than the old IsAudibleSimple #rb zak.middleton Change 2815694 on 2016/01/05 by thomas.sarkanen Added test texture Change 2815695 on 2016/01/05 by thomas.sarkanen Modified test texture Change 2815709 on 2016/01/05 by James.Golding PR #1778 : New BP-callablle function AActor::WasRecentlyRendered, with optional tolerance in seconds https://github.com/EpicGames/UnrealEngine/pull/1778 #github 1778 #jira UE-23674 #rb jurre.debaare Change 2815711 on 2016/01/05 by James.Golding PR #1534 : Add missing default tolerance value for FVector2D::Equal https://github.com/EpicGames/UnrealEngine/pull/1534 #github 1534 #jira UE-20838 #rb jurre.debaare Change 2815714 on 2016/01/05 by James.Golding PR #1887 : Added 'Thickness' Parameter to all valid options in Draw Debug Helper https://github.com/EpicGames/UnrealEngine/pull/1887 #github 1887 #jira UE-24802 #rb jurre.debaare Change 2815725 on 2016/01/05 by James.Golding Added comment that USkeletalMeshComponent::bEnablePhysicsOnDedicatedServer cannot be changed at runtime #jira UE-20439 Change 2815813 on 2016/01/05 by Marc.Audy Move dispatch of transition functions to new OnMatchStateSet virtual which is called from SetMatchState allowing subclasses to insert their own handling between the set of the variable and dispatch to GameState and Blueprints rather than having to override the entire function. #codereview Peter.Knepley Change 2815884 on 2016/01/05 by James.Golding - Avoid PSC iterating over all particle emitters each tick to check for changes in DetailMode. Now remember global DetailMode when we last checked, and only iterate again if that has changed. - Add 'WarmupTime' and 'CPUCollision' to Asset Registry Tags for Particle Systems #rb simon.tovey #codereview gil.gribb Change 2816306 on 2016/01/05 by Marc.Audy (4.11) Pass boolean to OnComponentDestroyed that indicates if the entire Actor's hierarchy is being destroyed. If so we can avoid doing a lot of expensive tear down, particularly detaching each component one at a time from the hierarchy and causing massive position/bounds updates. #rb Zak.Middleton, James.Golding
2016-01-15 13:01:30 -05:00
{
VertBox += (FVector)Vert;
Copying //UE4/Dev-Framework to //UE4/Main @ 2830052 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2807479 on 2015/12/17 by Zak.Middleton #ue4 - Optimize allocations in FFinalPostProcessSettings. Fix bug skipping an element when updating the ContributingCubemaps array if one is removed during an iteration. #rb Aaron.Mcleran #codereview Martin.Mittring #jira UE-24485 Change 2807695 on 2015/12/17 by Aaron.McLeran Changing the VolumeScale sound concurrency implementation to be a volume scalar on older sounds in a concurrency group rather than scale new sounds. #rb zak.middleton Change 2808628 on 2015/12/18 by Thomas.Sarkanen Minor optimization: Dont call GetWorld() 3 times in a row in USceneComponent::ShouldRender() #rb Martin.Wilson Change 2810090 on 2015/12/21 by Ori.Cohen Allow collision and trail particles to run off the game thread. Clean up missing marshelled AsyncComponentToWorld Change 2814518 on 2016/01/04 by Marc.Audy Use Reset instead of Empty Change 2814530 on 2016/01/04 by James.Golding UE-2689 Hook up lots of new icons for component classes #rb thomas.sarkanen Change 2814665 on 2016/01/04 by Marc.Audy PR #1860:Fix ChildActorComponent linking issue when extended from game (Contributed by lion03) Change 2814686 on 2016/01/04 by Benn.Gallagher Fix for radial force components applying impulses multiple times to destructible components #rb Ori.Cohen Change 2815221 on 2016/01/04 by Aaron.McLeran UE-24528 Fixing focus-distance scaling and focus priority scaling working with concurrency settings. USoundAttenuation: - Added methods to SoundAttenuation to get focus, attenuation, and distance scale based on focus factor. - Added NonFocusDistanceScale parameter to attenuation settings customization so its setable by users USoundBase: - Added function on USoundBase which checks IsLooping, which checks the duration - Removed functions IsAudible and IsAudibleSimple from USoundBase since that functionality is accomplished differently and takes into account focus-distance scaling now. FActiveSound: - Caching values of FocusPriorityScale and FocusDistanceScale to Active sound so that can be used for audibility checks - Included FocusDistanceScale when computing bIsAudible in Active sound - Moved GetAttenuationListenerData and the accompanying private struct FAttenuationListenerData to FAudioDevice since the audio device and moved code which computes focus factor and geometry into FAudioDevice::GetFocusFactor since it needs to be computed before an active sound exist FAudioDevice: - Added SoundIsAudible function which queries a particular sound if its audible based on attenuation settings, focus factor, etc. Will optionally return computed MaxDistance to avoid recomputing it in certain cases. - Added a few helper functions: FindClosestListenerIndex, GetAttenuationListenerData - Added GetFocusFactor, which performs the vector math to determine focus factor (0.0 is in-focus, 1.0 is out of focus) for a given sound and listener and attenuation focus settings. - Updated CreateComponent and PlaySoundAtLocation functions to use the new SoundIsAudible function rather than the old IsAudibleSimple #rb zak.middleton Change 2815694 on 2016/01/05 by thomas.sarkanen Added test texture Change 2815695 on 2016/01/05 by thomas.sarkanen Modified test texture Change 2815709 on 2016/01/05 by James.Golding PR #1778 : New BP-callablle function AActor::WasRecentlyRendered, with optional tolerance in seconds https://github.com/EpicGames/UnrealEngine/pull/1778 #github 1778 #jira UE-23674 #rb jurre.debaare Change 2815711 on 2016/01/05 by James.Golding PR #1534 : Add missing default tolerance value for FVector2D::Equal https://github.com/EpicGames/UnrealEngine/pull/1534 #github 1534 #jira UE-20838 #rb jurre.debaare Change 2815714 on 2016/01/05 by James.Golding PR #1887 : Added 'Thickness' Parameter to all valid options in Draw Debug Helper https://github.com/EpicGames/UnrealEngine/pull/1887 #github 1887 #jira UE-24802 #rb jurre.debaare Change 2815725 on 2016/01/05 by James.Golding Added comment that USkeletalMeshComponent::bEnablePhysicsOnDedicatedServer cannot be changed at runtime #jira UE-20439 Change 2815813 on 2016/01/05 by Marc.Audy Move dispatch of transition functions to new OnMatchStateSet virtual which is called from SetMatchState allowing subclasses to insert their own handling between the set of the variable and dispatch to GameState and Blueprints rather than having to override the entire function. #codereview Peter.Knepley Change 2815884 on 2016/01/05 by James.Golding - Avoid PSC iterating over all particle emitters each tick to check for changes in DetailMode. Now remember global DetailMode when we last checked, and only iterate again if that has changed. - Add 'WarmupTime' and 'CPUCollision' to Asset Registry Tags for Particle Systems #rb simon.tovey #codereview gil.gribb Change 2816306 on 2016/01/05 by Marc.Audy (4.11) Pass boolean to OnComponentDestroyed that indicates if the entire Actor's hierarchy is being destroyed. If so we can avoid doing a lot of expensive tear down, particularly detaching each component one at a time from the hierarchy and causing massive position/bounds updates. #rb Zak.Middleton, James.Golding
2016-01-15 13:01:30 -05:00
}
Merging //UE4/Release-4.11 to //UE4/Main (up to CL#2852902) ========================== MAJOR FEATURES + CHANGES ========================== Change 2835191 on 2016/01/19 by Nick.Whiting Invert the y-axis on the SteamVR controllers to match the convention of the engine and the rest of the gamepads #jira UE-22705 Change 2835686 on 2016/01/20 by Gareth.Martin Fixed landscape material instances not being updated if holes are painted on a landscape that doesn't have the landscape visibility mask node in the material and then the visibility mask node is added to the material later. #jira UE-18187 Change 2835767 on 2016/01/20 by Richard.Hinckley #jira UE-25499 Added a cursor to TopDown template (C++ version) to match the BP version. Change 2835772 on 2016/01/20 by Richard.Hinckley #jira UE-25499 Adding the material asset for the C++ TopDown template's cursor. Change 2835811 on 2016/01/20 by Taizyd.Korambayil #jira UE-25699 Added Validity Checks in BP logic, unchecked CDO for Pixel Ship, to Fix Log Warnings #jira UE-25704 Adjusted Matinee to happen at Box Location #jira UE-25688 Adjusted Player Starts #jira UE-25693 Adjusted Player Starts Change 2835863 on 2016/01/20 by Gareth.Martin Fixed crash in the landscape ramp and mirror tools if the streaming level containing the landscape is hidden (or possibly if the landscape actor is deleted) #jira UE-24883 Change 2835889 on 2016/01/20 by Taizyd.Korambayil #jira UE-25698 Enabled V-sync, also fixed up player Respawn Issue Change 2835995 on 2016/01/20 by Jamie.Dale The output log now hard-wraps lines to prevent long lines causing performance issues #jira UE-24187 Change 2836052 on 2016/01/20 by Taizyd.Korambayil #jira UE-25675 Added Blocking Volume to prevent Player from Falling off map #jira UE-25676 Added Blocking Volumes so that the Player doesn't get stucl at awkward corners under the Bridge Change 2836137 on 2016/01/20 by Chad.Taylor Vehicle and VehicleAdv template content fixes for new VR camera #jira UE-25507 Change 2836166 on 2016/01/20 by Gareth.Martin Fixed hiding a streaming level containing a landscape causing the landscape editor to switch to the "New Landscape" tool instead of exiting #jira UE-25093 Change 2836174 on 2016/01/20 by Chad.Taylor IHeadMountedDisplay crash fix associated with accessing a dangling pointer. #jira UE-25272 Change 2836179 on 2016/01/20 by Jamie.Dale Optimized FShapedGlyphSequence reverse look-up There's now a reverse look-up map of cluster indices to their glyph data in order to avoid brute force looping #jira UE-24187 Change 2836286 on 2016/01/20 by Chris.Babcock Update Qualcomm TextureConverter for OSX #jira UE-22092 #ue4 #android Change 2836328 on 2016/01/20 by Nick.Darnell Fixing a problem with widget components crashing on destruction with the render commands to pre/post render for window render commands needing access to the policy, but it potentially being deleted. Inserting a NoOp command that keeps the shared ptr alive through the RHI render process. #jira UE-25752 Change 2836342 on 2016/01/20 by Nick.Darnell Depending on shutdown order, the Slate Renderer may go away, and then render data handles may not be collected correctly because they are trying to reference a pointer that's no longer valid and cause a crash on exit. The correct approach would be to have render handles actually have a pointer back to who owns them, in this case the RHI Resource Manager, which is still alive and well at this point in the pipeline. Then if the resource manager is collected, it forces all handles to get cleaned up correctly, or if the handles are collected first, they can be sure they've got a valid pointer back to the resource manager. #jira UE-25753 Change 2836358 on 2016/01/20 by Taizyd.Korambayil #jira UE-25710 Replaced Deprecated Nodes Change 2836510 on 2016/01/20 by Taizyd.Korambayil #jira UE-25718 Adjsuted BP to make pointer decal rotate in the direction of surface Change 2836564 on 2016/01/20 by Taizyd.Korambayil #jira UE-25716 Added bool to store last Moved Direction Change 2836697 on 2016/01/20 by Taizyd.Korambayil #jira UE-25740 Removed unused VR Nodes to remove Log errors on Mac Change 2836725 on 2016/01/20 by Peter.Sauerbrei workaround for thread race when trying to release the TargetDeviceService endpoint after an unclaim message is sent #jira UE-25123 Change 2836782 on 2016/01/20 by Jamie.Dale Added FTextLayout::AddLines This is similar to AddLine, however it allows you to add multiple lines in a single call, thus avoiding the re-justification cost associated with each call to AddLine. AddLine has also been changed to take the same structure type as AddLines (which takes an array of these structures), and the existing version of AddLine has been deprecated. #jira UE-24187 Change 2836801 on 2016/01/20 by Jeff.Campeau [CL 2857187 by Matthew Griffin in Main branch]
2016-02-05 11:54:00 -05:00
// If box is invalid, or the largest dimension is less than 1 unit, or smallest is less than 0.1, skip trying to generate collision (V-HACD often crashes...)
if (VertBox.IsValid == 0 || VertBox.GetSize().GetMax() < 1.f || VertBox.GetSize().GetMin() < 0.1f)
Copying //UE4/Dev-Framework to //UE4/Main @ 2830052 #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 2807479 on 2015/12/17 by Zak.Middleton #ue4 - Optimize allocations in FFinalPostProcessSettings. Fix bug skipping an element when updating the ContributingCubemaps array if one is removed during an iteration. #rb Aaron.Mcleran #codereview Martin.Mittring #jira UE-24485 Change 2807695 on 2015/12/17 by Aaron.McLeran Changing the VolumeScale sound concurrency implementation to be a volume scalar on older sounds in a concurrency group rather than scale new sounds. #rb zak.middleton Change 2808628 on 2015/12/18 by Thomas.Sarkanen Minor optimization: Dont call GetWorld() 3 times in a row in USceneComponent::ShouldRender() #rb Martin.Wilson Change 2810090 on 2015/12/21 by Ori.Cohen Allow collision and trail particles to run off the game thread. Clean up missing marshelled AsyncComponentToWorld Change 2814518 on 2016/01/04 by Marc.Audy Use Reset instead of Empty Change 2814530 on 2016/01/04 by James.Golding UE-2689 Hook up lots of new icons for component classes #rb thomas.sarkanen Change 2814665 on 2016/01/04 by Marc.Audy PR #1860:Fix ChildActorComponent linking issue when extended from game (Contributed by lion03) Change 2814686 on 2016/01/04 by Benn.Gallagher Fix for radial force components applying impulses multiple times to destructible components #rb Ori.Cohen Change 2815221 on 2016/01/04 by Aaron.McLeran UE-24528 Fixing focus-distance scaling and focus priority scaling working with concurrency settings. USoundAttenuation: - Added methods to SoundAttenuation to get focus, attenuation, and distance scale based on focus factor. - Added NonFocusDistanceScale parameter to attenuation settings customization so its setable by users USoundBase: - Added function on USoundBase which checks IsLooping, which checks the duration - Removed functions IsAudible and IsAudibleSimple from USoundBase since that functionality is accomplished differently and takes into account focus-distance scaling now. FActiveSound: - Caching values of FocusPriorityScale and FocusDistanceScale to Active sound so that can be used for audibility checks - Included FocusDistanceScale when computing bIsAudible in Active sound - Moved GetAttenuationListenerData and the accompanying private struct FAttenuationListenerData to FAudioDevice since the audio device and moved code which computes focus factor and geometry into FAudioDevice::GetFocusFactor since it needs to be computed before an active sound exist FAudioDevice: - Added SoundIsAudible function which queries a particular sound if its audible based on attenuation settings, focus factor, etc. Will optionally return computed MaxDistance to avoid recomputing it in certain cases. - Added a few helper functions: FindClosestListenerIndex, GetAttenuationListenerData - Added GetFocusFactor, which performs the vector math to determine focus factor (0.0 is in-focus, 1.0 is out of focus) for a given sound and listener and attenuation focus settings. - Updated CreateComponent and PlaySoundAtLocation functions to use the new SoundIsAudible function rather than the old IsAudibleSimple #rb zak.middleton Change 2815694 on 2016/01/05 by thomas.sarkanen Added test texture Change 2815695 on 2016/01/05 by thomas.sarkanen Modified test texture Change 2815709 on 2016/01/05 by James.Golding PR #1778 : New BP-callablle function AActor::WasRecentlyRendered, with optional tolerance in seconds https://github.com/EpicGames/UnrealEngine/pull/1778 #github 1778 #jira UE-23674 #rb jurre.debaare Change 2815711 on 2016/01/05 by James.Golding PR #1534 : Add missing default tolerance value for FVector2D::Equal https://github.com/EpicGames/UnrealEngine/pull/1534 #github 1534 #jira UE-20838 #rb jurre.debaare Change 2815714 on 2016/01/05 by James.Golding PR #1887 : Added 'Thickness' Parameter to all valid options in Draw Debug Helper https://github.com/EpicGames/UnrealEngine/pull/1887 #github 1887 #jira UE-24802 #rb jurre.debaare Change 2815725 on 2016/01/05 by James.Golding Added comment that USkeletalMeshComponent::bEnablePhysicsOnDedicatedServer cannot be changed at runtime #jira UE-20439 Change 2815813 on 2016/01/05 by Marc.Audy Move dispatch of transition functions to new OnMatchStateSet virtual which is called from SetMatchState allowing subclasses to insert their own handling between the set of the variable and dispatch to GameState and Blueprints rather than having to override the entire function. #codereview Peter.Knepley Change 2815884 on 2016/01/05 by James.Golding - Avoid PSC iterating over all particle emitters each tick to check for changes in DetailMode. Now remember global DetailMode when we last checked, and only iterate again if that has changed. - Add 'WarmupTime' and 'CPUCollision' to Asset Registry Tags for Particle Systems #rb simon.tovey #codereview gil.gribb Change 2816306 on 2016/01/05 by Marc.Audy (4.11) Pass boolean to OnComponentDestroyed that indicates if the entire Actor's hierarchy is being destroyed. If so we can avoid doing a lot of expensive tear down, particularly detaching each component one at a time from the hierarchy and causing massive position/bounds updates. #rb Zak.Middleton, James.Golding
2016-01-15 13:01:30 -05:00
{
return;
}
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
TRACE_CPUPROFILER_EVENT_SCOPE(DecomposeMeshToHulls)
btAlignedAllocSetCustom(btAllocImpl, btFreeImpl);
btAlignedAllocSetCustomAligned(btAlignedAllocImpl, btAlignedFreeImpl);
FVHACDProgressCallback VHACD_Callback;
IVHACD::Parameters VHACD_Params;
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
InitParameters(VHACD_Params, InHullCount, InMaxHullVerts,InResolution);
VHACD_Params.m_callback = &VHACD_Callback; // callback interface for message/status updates
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3293188) #rb none #lockdown Nick.Penwarden ========================== MAJOR FEATURES + CHANGES ========================== Change 3203880 on 2016/11/18 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3207429 on 2016/11/22 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3207285 Change 3252627 on 2017/01/10 by Lukasz.Furman removed duplicated entries from visual logger shape rendering #ue4 Change 3252675 on 2017/01/10 by Ori.Cohen Add support for tagged memory regions (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252686 on 2017/01/10 by Ori.Cohen Refactor BodySetup to make it easier to reuse shape creation (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252833 on 2017/01/10 by Ori.Cohen Refactor constraint so that it can be used for external solvers. (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3252887 on 2017/01/10 by Dan.Reynolds Increased modes to include: Harmonic minor Melodic minor (going up) Pentatonic (Major) Pentatonic (minor) Whole Tone Diminished (WH) and Blues Change 3252895 on 2017/01/10 by Aaron.McLeran update to music utilities. Change 3253060 on 2017/01/10 by Aaron.McLeran Updates to synthesis plugin and some new features to DSP objects Change 3253061 on 2017/01/10 by Aaron.McLeran Updates to music maps Change 3253078 on 2017/01/10 by Aaron.McLeran Removing pragma optimization code accidentally checked in Change 3253110 on 2017/01/10 by Ori.Cohen First iteration of immediate mode ragdoll node (Copying //Tasks/UE4/Dev-ImmediateModePhysics to Dev-Framework (//UE4/Dev-Framework)) Change 3253315 on 2017/01/10 by Aaron.McLeran Fixing a few bugs in DSP objects - Added a new types file EpicSynth1 and EpicSynth1 component can share enums Change 3253577 on 2017/01/11 by Aaron.McLeran Checking in updates to assets for music -- celestial manager for rotating objects like planets, new ambient map Change 3254052 on 2017/01/11 by Ori.Cohen Fix build. Change 3254059 on 2017/01/11 by Ori.Cohen Turn off html5 trying to build apex. Change 3254095 on 2017/01/11 by Ori.Cohen Fix build Change 3254200 on 2017/01/11 by Jon.Nabozny Make vectorized FTransform Accumulate (with blend) and AccumulateWithAdditive (with blend) consistent with the non-vectorized version and comments. #JIRA UE-40469 Change 3254334 on 2017/01/11 by Marc.Audy Put in missing virtual Change 3254397 on 2017/01/11 by dan.reynolds Updates to OtonOkeMap Change 3254410 on 2017/01/11 by Marc.Audy Cleanup autos Change 3254420 on 2017/01/11 by Marc.Audy PR #3110: Add missing IsInAudioThread check (Contributed by projectgheist) Modified somewhat, but based on what PR indicated as a problem. #jira UE-40369 Change 3254423 on 2017/01/11 by Marc.Audy Optimize GetDefaultSubobjectByName and GetDefaultSubobjects Remove autos Change 3254826 on 2017/01/11 by Aaron.McLeran Bringing optimizations to dev-framework Change 3254831 on 2017/01/11 by dan.reynolds Modified MidiSynthTestBP to use Program Change events to pull a Preset from a Preset Bank--added a Data Blueprint Object ES1Bank_Default (containing Preset arrays) with children classes for different classifications of Presets. Change 3254833 on 2017/01/11 by dan.reynolds Updating MidiSynthTestBP's default SynthPreset pan value. Change 3254851 on 2017/01/11 by dan.reynolds Updating ES1Bank_Bass Updating OtonOkeMap Change 3254854 on 2017/01/11 by Aaron.McLeran Some fixups for pan modulation Change 3255682 on 2017/01/12 by aaron.mcleran Turning the bass down a bit on OtonOkeMap Change 3255721 on 2017/01/12 by Marc.Audy Fix spelling error Change 3255790 on 2017/01/12 by Marc.Audy Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3256263 on 2017/01/12 by Ori.Cohen Refactor immediate mode api to take PxD6Joint and PxRigidActor instead. Change 3256288 on 2017/01/12 by Ori.Cohen Undo constraint refactor as we found a way around it and it made the code much harder to read/debug Change 3256360 on 2017/01/12 by Ori.Cohen Make sure physx actors passed into immediate mode are done so with proper locks (can probably improve this in the case where the actor is not even in the scene) Change 3256846 on 2017/01/13 by Marc.Audy Deprecate FBox/FBox2D int32 constructor because it makes no sense if you pass in a non 0 value. Use ForceInit instead. Change 3256954 on 2017/01/13 by Marc.Audy Fix missed fixup of deprecated constructor use Change 3257167 on 2017/01/13 by Jon.Nabozny Fix check in FBodyInstance::SetCollisionEnabled. Create convenience methods for HasPhysics and HasQuery. #jira UE-39633 Change 3257181 on 2017/01/13 by Zak.Parrish Adding input map and some testing content to Xenakis Change 3257183 on 2017/01/13 by Mieszko.Zielinski Implemented an improved navigation projection BP function that retrieves both projected locaiton as well as a boolean indicating if the projection succeeded #UE4 Also, did similar changes to GetRandomReachablePointInRadius and GetRandomPointInNavigableRadius #jira UE-40368 Change 3257211 on 2017/01/13 by Jon.Nabozny Fix CIS issue caused by 3257167. Change 3257220 on 2017/01/13 by Marc.Audy Additional FBox constructor deprecation fixups Change 3257236 on 2017/01/13 by zak.parrish Fixed error on Xenakis input pawn Change 3257242 on 2017/01/13 by zak.parrish Update to InputListener Change 3257273 on 2017/01/13 by Marc.Audy No reason to pass simple types by reference Change 3257418 on 2017/01/13 by Ori.Cohen Attempt to turn android physx libs back to static libs. Change 3257445 on 2017/01/13 by Ori.Cohen Turn android libs back to OBJ and removed unreal side linking as it seems we are now just merging into a single physx lib Change 3257903 on 2017/01/14 by Aaron.McLeran Additions to synth module and updates to dsp objects - Adding ability to create arbitrary modular patches from modulating sources to modulation destinations - DSP objects define their default depths but patches can override - Creating new SynthesisEditor module for synthesis plugin so we can create synthesis preset assets - Adding a preset bank type so we can store a bank of presets (aka factory presets) Change 3258179 on 2017/01/15 by Seth.Weedin Duplicating input test map for some FX work Change 3258181 on 2017/01/15 by Seth.Weedin Modify skybox in test map to be dark and spooky Change 3258183 on 2017/01/15 by aaron.johnson substituted classes, changed wind speed and adjusted level lighting Change 3258190 on 2017/01/15 by aaron.johnson substituted triplet pawn and motion controller classes, enabled grabbing animations Change 3258191 on 2017/01/15 by Aaron.McLeran Getting source effects working for GDC demo - Added new synthesis editor module to create instances of user-created source effects - Added code to do source effects - Modified old design to a newer, more simpler design for calling into client code to set parameters. No longer using the complex struct reflection design and instead just pass in the uobject preset the user created. They'll then cast it to the type that has the actual settings. - Tweaks and fixes to existing dsp objects to get source effects working - Modified existing engine code to allow for playing out source effect tails - Only supporting mono and stereo assets for source effect processing. Multi-channel effect processing is overly complex for this feature though we may extend the capabilities in the future. - Fixed issue of pitching with stereo delay effect on setting first interpolated param - Moving synth/dsp stuff in synthesis plugins into appropriate public/private folders in plugin/module - Deleting some cruft files no longer needed Change 3258201 on 2017/01/15 by Seth.Weedin C++ and BP classes for managing grid cells. Initial grid mapping tests. #rb none Change 3258206 on 2017/01/15 by aaron.johnson map push, triplets interface created, debug widget placed in level Change 3258222 on 2017/01/15 by Aaron.McLeran Fixing crash when there's a null entry in the source effect chain Fixed some zippering introduced by applying volume twice. Change 3258225 on 2017/01/15 by aaron.johnson Interface changes, pawn output values wip Change 3258228 on 2017/01/15 by aaron.johnson Pawn should be outputting all correct values for Tripletsinterface Change 3258242 on 2017/01/15 by Stanley.Hayes Edge lights and Spherical Density Materials Change 3258251 on 2017/01/16 by Seth.Weedin More progress on grid FX. Add curve strength modifiers, begin hooking up interaction. #rb none Change 3258284 on 2017/01/16 by Aaron.McLeran Fixing CIS build error Surprised that MSVC allows that... Change 3258525 on 2017/01/16 by Mieszko.Zielinski Made UGameplayTask::ResourceOverlapPolicy configurable via ini files #UE4 Change 3258537 on 2017/01/16 by Lukasz.Furman fixed duplicated & undo operations not updating navigation area in nav link proxy and nav link component #ue4 Change 3258595 on 2017/01/16 by Marc.Audy Fix static analysis warning Change 3259364 on 2017/01/16 by Mieszko.Zielinski BTTask_RotateToFaceBBEntry comment spelling fix #UE4 #jira UE-40669 Change 3259683 on 2017/01/16 by dan.reynolds Updated Preset Bank System implemented in MidiSynthTestBP and 4 Preset Banks have been started Change 3260244 on 2017/01/17 by Lina.Halper #anim - optimize layer blend node to not create mask weights in run-time but in compile time. #code review: Martin.Wilson Change 3260617 on 2017/01/17 by Ori.Cohen Immediate mode spawns its own actors. Change 3260701 on 2017/01/17 by Ori.Cohen Don't bother blending physics with animation when physics is QueryOnly Change 3260796 on 2017/01/17 by Ori.Cohen EndPhysics tick will no longer be scheduled if QueryOnly is used on a ragdoll. Change 3261207 on 2017/01/17 by Ori.Cohen First iteration of contact enabling/disabling for immediate mode. Change 3262010 on 2017/01/18 by Marc.Audy Remove some autos Change 3262525 on 2017/01/18 by Lina.Halper Fix crash with required bones index not using property indexing #jira: UE-40786 Change 3263658 on 2017/01/19 by Martin.Wilson Add AnimTechDemo to dev-framework (base third person + feng mao) Change 3263684 on 2017/01/19 by Lina.Halper #anim : layer node - fix allocation change I made by mistake Change 3264523 on 2017/01/19 by Ori.Cohen Immediate mode can now add static geometry it finds in the world. Also improve contact gen by caching iteration order Change 3264701 on 2017/01/19 by Ori.Cohen Make it so that immediate mode ragdolls collide with the ground in persona.This is a bit of an editor only hack which allows immediate mode to find non-static actors Change 3264980 on 2017/01/19 by Ori.Cohen Make sure physics asset collision disabled works in immediate mode. Change 3265011 on 2017/01/19 by Ori.Cohen Added the ability to override physics asset for immediate mode Change 3265030 on 2017/01/19 by Ori.Cohen Added override gravity for immediate mode. Change 3265650 on 2017/01/20 by Benn.Gallagher NvCloth Source Change 3265652 on 2017/01/20 by Benn.Gallagher NvCloth Lib #rnx Change 3265653 on 2017/01/20 by Benn.Gallagher NvCloth Bin #rnx Change 3266195 on 2017/01/20 by Danny.Bouimad Initial ClothTest Assets for NCloth Before and after comparison TM-MultiClothTest (Under Maps>Framework>Cloth) Change 3266377 on 2017/01/20 by Marc.Audy Ensure that OrphanedDataOnly and TrashClass blueprint generated classes are correctly considered a blueprint class for disregard for GC purposes. Change 3267873 on 2017/01/23 by Jon.Nabozny Fix SceneProxy shadowing in UGeometryCacheComponent. Change 3268025 on 2017/01/23 by Benn.Gallagher IWYU change, platform PCH generation seemed to hide this one. Change 3268026 on 2017/01/23 by Benn.Gallagher Fixed LOCTEXT_NAMESPACE being inconsistently scoped in an #if block #rnx Change 3268630 on 2017/01/23 by Zak.Parrish Updating to add MIGS shooter content, as well as audio interaction Blueprints Change 3268663 on 2017/01/23 by Ori.Cohen Ragdoll animnode uses raw physics asset pointer to ensure it makes a hard reference. Change 3268811 on 2017/01/23 by Ori.Cohen Added component space sim for immediate mode Change 3269369 on 2017/01/24 by Benn.Gallagher Copying //Tasks/UE4/Dev-UEFW-11-NewClothingPipeline to Dev-Framework (//UE4/Dev-Framework) Replaced clothing with new simulation framework Change 3269417 on 2017/01/24 by danny.bouimad Minor Update to cloth map for test Change 3269420 on 2017/01/24 by Benn.Gallagher Removed APEX simulation from clothing framework (used in testing, not fully complete) Change 3269421 on 2017/01/24 by danny.bouimad Small tweaks Change 3269515 on 2017/01/24 by Lukasz.Furman enabled gameplay debugger's OnSelectionChanged event support for both PIE and SIE modes fixed GameplayAbility debugger's category not using IAbilitySystemInterface #ue4 Change 3269595 on 2017/01/24 by mason.seay Break apart physics asset for crash bug Change 3269819 on 2017/01/24 by Ori.Cohen Make the possibly kinematic actor the first actor in the immediate mode joint. This is consistent with physx vanilla solver. Change 3270364 on 2017/01/24 by Josh.Stoddard upgrade to the latest version of v-HACD: https://github.com/kmammou/v-hacd/tree/master/src/VHACD_Lib commit: 7a09f9d NOTE: only updated windows binaries mac and linux still using old binaries until they can be tested #jira UE-40124 #rb josh.stoddard Change 3271188 on 2017/01/25 by Jurre.deBaare Post-import script support #jira UEFW-80 Change 3271249 on 2017/01/25 by Thomas.Sarkanen Move soundwave-internal curve tables to advanced display Exposing it was confusing to audio people Change 3271586 on 2017/01/25 by Marc.Audy Don't rerun construction scripts twice on a level that has been hidden and reshown #jira UE-40306 Change 3272048 on 2017/01/25 by Ori.Cohen Fix for immediate mode sim when root body is the same as the root bone. Change 3272083 on 2017/01/25 by Ori.Cohen Make sure to warn when component space sim and collision are used together. Also handle it gracefully. Change 3272300 on 2017/01/25 by Ori.Cohen Fix incorrect collision generation when a shape's local pose is not identity. Change 3273195 on 2017/01/26 by Jurre.deBaare Fix for Anim import script crash in GetBonePosesForTime Change 3273204 on 2017/01/26 by Ben.Marsh Ignore PRAGMA_DISABLE_SHADOW_VARIABLE_WARNINGS and PRAGMA_ENABLE_SHADOW_VARIABLE_WARNINGS macros between include directives. Fixes CIS warning with IncludeTool. Change 3273378 on 2017/01/26 by James.Golding In AnimBP editor, call CopyNodeDataToPreviewNode when properties are edited, not just pin defaults changed Change 3273381 on 2017/01/26 by James.Golding Big refactor to PoseDriver - RBF logic now moved into its own class/file - Allow editing of transform and radial scaling per-target - Add support for different falloff functions (not just Gaussian) - Allow driving curves directly, rather than always poses - Add details customization for pose driver node - Edits to PoseDriver settings now take immediate effect, don't need to recompile Change 3273826 on 2017/01/26 by Josh.Stoddard modify VHACD to improve quality of hulls generated by convex decomposition NOTE: mac libs not included - mac editor will use legacy libs for now Change 3273902 on 2017/01/26 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3273433 Change 3274018 on 2017/01/26 by Ori.Cohen Added immediate physics preview in phat. Change 3274165 on 2017/01/26 by Ori.Cohen PhAT now depends on immediate mode plugin. Fix build #JIRA UE-41179 Change 3275001 on 2017/01/27 by Jurre.deBaare Fix for crash in Persona with Anim Modifiers Change 3275297 on 2017/01/27 by Ori.Cohen Big refactor to iterate over shapes instead of bodies (allows multiple shape per body collision) Change 3275340 on 2017/01/27 by Benn.Gallagher Fixed Paragon clothing crashes during clothing upgrade step, fixed bone mapping not getting updated on reimport with different hierarchy #jira UE-41025 #jira UE-41039 Change 3275383 on 2017/01/27 by Benn.Gallagher Blacklisted double promotion warning on ps4 NvCloth build #rnx Change 3275426 on 2017/01/27 by Benn.Gallagher Removed CUDA dependencies from NvCloth cmake files Change 3275670 on 2017/01/27 by Ori.Cohen Fix phat ragdoll in immediate mode updating sketal mesh component transform Change 3275673 on 2017/01/27 by Ori.Cohen Add position/velocity iteration to immediate mode Change 3276001 on 2017/01/27 by Alan.Noon Migrated Immediate Mode Minion Ragdoll Content to GDC AnimTech Project. Updated DefaultInput.ini none Change 3276596 on 2017/01/28 by Aaron.McLeran Removing unused #ifdef Change 3276597 on 2017/01/28 by Aaron.McLeran Getting rid of static analysis warning Change 3277354 on 2017/01/30 by Lukasz.Furman fixed custom navlink Id collisions #ue4 Change 3277356 on 2017/01/30 by Lukasz.Furman fixed comments in GameplayDebugger.h #jira UE-41103 Change 3277371 on 2017/01/30 by mason.seay Test map for spawn sound/force feedback bug. Change 3277445 on 2017/01/30 by Lukasz.Furman fixed compilation warning #ue4 Change 3277560 on 2017/01/30 by Danny.Bouimad Made checkin to Fix Crash that occured due to bad content. Change 3277567 on 2017/01/30 by Ori.Cohen Fix immediate mode crashing when joint is empty. #JIRA UE-41026 Change 3277928 on 2017/01/30 by Ori.Cohen Turn on immediate mode plugin by default Change 3278433 on 2017/01/30 by Ori.Cohen Immediate mode supports heightfield collision. Change 3278449 on 2017/01/30 by Ori.Cohen Fix immediate mode cache not being initialized properly. Change 3278787 on 2017/01/31 by James.Golding Fix CIS error in ImmediatePhysicsSimulation.cpp Change 3279303 on 2017/01/31 by mason.seay Assets for RigidBody node bug Change 3279352 on 2017/01/31 by Benn.Gallagher Fixed inertia blends on self collision cloth assets as we now only have local space simulation and these values weren't used before Change 3279377 on 2017/01/31 by Alan.Noon GDC AnimTech Demo: adjusted minion physics assets none Change 3279425 on 2017/01/31 by james.cobbett Updating QA-Physics map. Made one of the simulated physics objects more user-friendly, able to enable/disable physics on key-press now. Change 3279436 on 2017/01/31 by Benn.Gallagher Fixed inertia scales on Owen mesh Change 3279480 on 2017/01/31 by Benn.Gallagher Fixes for clothing behavior changes #jira UE-41092 Change 3279495 on 2017/01/31 by Ori.Cohen Remove unneeded cache clearing when contact pairs are not skipped, but there is no collision. Change 3279579 on 2017/01/31 by james.cobbett Added new scenario to QA-Physics map. Moving platforms (up/down, left/right) with physics objects on them. Change 3279695 on 2017/01/31 by mason.seay RigidBody node test asset Change 3280105 on 2017/01/31 by Ori.Cohen Prevent query only ragdolls from simulating if their bodysetup is marked as simulated. Also remove slow check in term body for owning components. This is not true for destructibles or immediate mode Change 3280148 on 2017/01/31 by mason.seay First round of assets for force feedback testing Change 3280860 on 2017/02/01 by James.Golding Merge CL 3280853 to Dev-Framework Fix crash with null CurrentSkeleton on AnimInstance when using Re-import button in SkelMesh Editor Change 3281172 on 2017/02/01 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3281156 Change 3281210 on 2017/02/01 by james.cobbett Updated QA-Physics map Added cube that starts off with physics enabled, then disables. Made physics toggleable on that and another cube. Change 3281211 on 2017/02/01 by James.Golding Details customization for editing PoseDriver targets list Change 3281332 on 2017/02/01 by Marc.Audy Fix bad merge Fix file types Change 3281388 on 2017/02/01 by mason.seay Updated Force Feedback asset Change 3281396 on 2017/02/01 by mason.seay moving asset Change 3281987 on 2017/02/01 by Benn.Gallagher Fixed project generation failing after main merge Change 3282047 on 2017/02/01 by Marc.Audy Fix up Target and build cs files after changes from Dev-Build Change 3282214 on 2017/02/01 by Ori.Cohen Expose radial forces to immediate mode Change 3282221 on 2017/02/01 by Alan.Noon Immediate Mode GDC demo content: development on minion anim B, refined Orbital Laser Pawn controls, tweaked laser parameters none Change 3282273 on 2017/02/01 by Ori.Cohen Fix crash when recompiling animbp of immediate mode due to null pointer. Change 3282368 on 2017/02/01 by Ori.Cohen Quick iteration on minion demo Change 3282824 on 2017/02/02 by James.Golding Fix for CIS in RBFSolver.h Change 3282829 on 2017/02/02 by James.Golding Fix CIS in PoseDriverDetails.cpp Fix list UI not refreshing after copying targets from PoseAsset Change 3282834 on 2017/02/02 by Danny.Bouimad Adding Pose driver additive assets Change 3282863 on 2017/02/02 by James.Golding Add Mambo mesh and Skeleton Change 3282892 on 2017/02/02 by James.Golding Copy Aurora (Ice) and Mambo meshes/materials/some anims from Dev-General to AnimTechDemo project in Dev-Framework Change 3283157 on 2017/02/02 by Mieszko.Zielinski Cook Orion Win64 fix #UE4 Had to change the Extent param of K2_ProjectPointToNavigation. Updated the error causing Orion BP Change 3283159 on 2017/02/02 by Marc.Audy Additional CIS fixes Change 3283179 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283197 on 2017/02/02 by Jurre.deBaare Fix for issues importing Fornite geometry cache assets #fix Use actual import number of frames instead of total number of frames in the Alembic Cache Change 3283201 on 2017/02/02 by Marc.Audy Keep fixing CIS Change 3283270 on 2017/02/02 by James.Golding Merging CL 3276013 to Dev-Framework - fix issue with additive pose preview applying twice Change 3283499 on 2017/02/02 by Marc.Audy More CIS fixes Change 3283543 on 2017/02/02 by Jon.Nabozny Update comment on AActor::GetActorBounds to properly reflect ChildActorComponents aren't included in the calculation. Change 3283663 on 2017/02/02 by Ori.Cohen Fix potential null dereference in ragdoll node Change 3283757 on 2017/02/02 by Marc.Audy May fix remaining CIS issues Change 3283984 on 2017/02/02 by Marc.Audy Fix linux CIS Change 3284039 on 2017/02/02 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3283913 Change 3284067 on 2017/02/02 by Marc.Audy Fixup mistakes in converting redirects Change 3284187 on 2017/02/02 by Ori.Cohen Immediate mode works with radial force (not just radial impulse) Change 3284358 on 2017/02/02 by Ori.Cohen Update arcblade phys asset for immediate mode Change 3284667 on 2017/02/02 by Marc.Audy Arguments is an array not a string now. Fixing commented out code. Change 3284684 on 2017/02/02 by Marc.Audy Move AVIWriter out in to its own module to avoid any possible unity build issues where xwindows.h got indirectly included through the DirectShow third party library and caused FGenericWindow::IsMaximized and IsMinimized to conflict with a macro. Change 3284707 on 2017/02/02 by Marc.Audy Fix AVIWriter module compilation on Mac Change 3285012 on 2017/02/03 by Benn.Gallagher Fixes for Dx NvCloth shader warnings Change 3285016 on 2017/02/03 by Marc.Audy Fix missing include Change 3285048 on 2017/02/03 by Benn.Gallagher Fixed Persona needing a restart when changing number of clothing assets (import/delete) #jira UE-41323 Change 3285325 on 2017/02/03 by Marc.Audy Properly implement AVIWriter module Change 3285538 on 2017/02/03 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3285499 Change 3285735 on 2017/02/03 by Jon.Nabozny Add IsInAir method to UVehicleWheel. #jira UE-38369 Change 3285862 on 2017/02/03 by Aaron.McLeran UE-41435 Fixing PIE audio - Fixing PIE audio. Recent change to editor preferences from Dev-Editor branch (CL 3234495) caused all audio to be muted in PIE. Change 3285914 on 2017/02/03 by danny.bouimad RecomputeTangents Test Assets Change 3286246 on 2017/02/03 by Mieszko.Zielinski Changes to game-specific BPs containing calls to deprecated NavigationSystem functions #UE4 #jira UE-41527 #jira UE-41518 Change 3286308 on 2017/02/03 by Ori.Cohen Make sure physx trimesh scale is never too small. Fix box clamping being ignored. Fixes cook warnings for Odin. #JIRA UE-41529 Change 3286396 on 2017/02/03 by Ori.Cohen Fix CIS Change 3286479 on 2017/02/03 by Ori.Cohen Copying //UE4/Dev-Physics-Upgrade to Dev-Framework (//UE4/Dev-Framework) Change 3287421 on 2017/02/06 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3286819 Change 3287427 on 2017/02/06 by James.Golding Fix PoseBlendNode to 'pass through' if no poses are activated Change 3287430 on 2017/02/06 by James.Golding - Add support to PoseDriver for evaluating source bone in the space of a different bone - Fix driven bone adding a scale of 1 - Fix posedriver values 'sticking' (reset all weights to zero each frame) - Move CopyTargetsFromPoseAsset and AutoSetTargetScales from FAnimNode_PoseDriver to UAnimGraphNode_PoseDriver (not required outside editor) - Tranlsation targets now draw larger when selected - 'Copy from pose asset' now also auto-sets radius for you - Remove spammy warnings for missing poses/curves - Add UPoseAsset::GetNumTracks and ::GetFullPose - Remove unused ExtractionContext from UPoseAsset::GetBaseAnimationPose - Remove bIncludeRefPoseAsNeutralPose option (not really useful since we no longer always normalize weights to 1.0) Change 3287496 on 2017/02/06 by Chad.Garyet fixing busted quotes around defaultvalues Change 3287569 on 2017/02/06 by Mieszko.Zielinski Orion BP fixed after deprecating NavigationSystem's BP API #Orion Change 3287595 on 2017/02/06 by Benn.Gallagher BuildPhysX.Automation: Deploying PhysX & NvCloth Win64 Win32 PS4 libs. Built for new NvCloth upgrade Change 3287598 on 2017/02/06 by Benn.Gallagher NvCloth Upgrade to 21604115 Added Linux+Mac support Change 3287710 on 2017/02/06 by Lukasz.Furman added option to disable navlink polys at the end of generated paths #ue4 Change 3287857 on 2017/02/06 by Benn.Gallagher Fixed NvCloth module files to correctly set up linux and mac hopefully Change 3287894 on 2017/02/06 by Benn.Gallagher Another fix to NvCloth build files, didn't get picked up in VS for some reason. Change 3287917 on 2017/02/06 by Lina.Halper Copy from CharacterRigging to Dev-Framework #code review:Thomas.Sarkanen, Martin.Wilson, James.Golding, Andrew.Rodham Change 3287938 on 2017/02/06 by Thomas.Sarkanen Fix crash opening a media sound wave #jira UE-41582 - Editor crashes when running Automation test Change 3287942 on 2017/02/06 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3287682 Change 3288035 on 2017/02/06 by James.Golding Remove C++ GameMode and pawn classes (replace with floating BP instead) Resave anims to remove Orion refs Add simple AnimBP and map for Mambo testing Change 3288036 on 2017/02/06 by Benn.Gallagher Fix to BuildPhysX task to trigger Mac and Linux builds properly Change 3288125 on 2017/02/06 by Ori.Cohen Change PhysXCommon back to dylib Change 3288127 on 2017/02/06 by Benn.Gallagher Fixed project file identification not working for NvCloth under XCode Change 3288156 on 2017/02/06 by Benn.Gallagher Disable "expansion-to-defined" warning in Linux NvCloth builds Change 3288159 on 2017/02/06 by Lina.Halper potential compile fix for Ocean Editor #code review:Thomas.Sarkanen Change 3288190 on 2017/02/06 by Ori.Cohen Link against static PhysXCommon for mac Change 3288200 on 2017/02/06 by Marc.Audy Fix CIS Change 3288270 on 2017/02/06 by Lina.Halper fix compile error #code review:Thomas.Sarkanen, Marc.Audy Change 3288302 on 2017/02/06 by Thomas.Sarkanen Fixed ensure when deselecting bones in anim BP editor #jira UE-41274 - Ensure when clicking in the viewport of an animation blueprint Change 3288348 on 2017/02/06 by Lina.Halper - Enabled control rig - Changed plugin name to be Control Rig Change 3288490 on 2017/02/06 by Benn.Gallagher Fixes for Mac attempting static links against NvCloth and failing to load dynamic libraries. Worked with MasonS to get Mac editor up and running. Change 3288511 on 2017/02/06 by Lina.Halper compile fix Change 3288513 on 2017/02/06 by Lina.Halper Check in content to work with Change 3288615 on 2017/02/06 by Ori.Cohen Fix skeletal mesh not simulating when using an aggregate. #JIRA UE-41593 Change 3288791 on 2017/02/06 by thomas.sarkanen Exposed transforms to cinematics so they can be animated Change 3288795 on 2017/02/06 by Ori.Cohen Fix lock warnings for physx #JIRA UE-41591 Change 3288817 on 2017/02/06 by Charles.Anderson GDC Arcblade setup tests. Change 3288825 on 2017/02/06 by Lina.Halper Fix build issue of shadow variable Change 3289058 on 2017/02/06 by Ori.Cohen Fix crash when immediate mode constraint generates 0 rows. This is a potentially temporary fix until NVIDIA replies with a better solution. #JIRA UE-41026 Change 3289348 on 2017/02/06 by Lina.Halper fix compile issue Change 3289369 on 2017/02/06 by Lina.Halper Renamed leg control to limb control and will be used for arm/feet. - changed vars. - has unused variables that will be used soon but want to check in so that i don't block content change on BaseHuman. #code review:Thomas.Sakanen Change 3289422 on 2017/02/06 by Lina.Halper Fixed IK sinking issue - or moving #code review:Thomas.Sarkanen Change 3289433 on 2017/02/06 by Lina.Halper Fixed real shadow error Change 3289485 on 2017/02/06 by Lina.Halper fixed build issue Change 3289657 on 2017/02/07 by thomas.sarkanen Added rig bone mapping to Ice's skeletal mesh Change 3289658 on 2017/02/07 by thomas.sarkanen Added ControlRig map with Ice setup to pose Change 3289662 on 2017/02/07 by Thomas.Sarkanen Fixed up static analysis warning Change 3289663 on 2017/02/07 by Thomas.Sarkanen Fixed crash when attempting to bind to skeletal mesh with already-set anim BP Anim instance may not have actually been created when binding, so dont dereference it Change 3289717 on 2017/02/07 by Benn.Gallagher Switch Linux NvCloth to static for Linux builds. Adjust lib directory to match actual directory Change 3289718 on 2017/02/07 by Benn.Gallagher BuildPhysX.Automation: Deploying NvCloth Linux_x86_64-unknown-linux-gnu libs. Change 3289744 on 2017/02/07 by Benn.Gallagher Fixed missing masses causing crash initialising clothing actors #jira UE-41599 Change 3289746 on 2017/02/07 by Danny.Bouimad Adding Some Content for JamesG he wanted some nicer looking Pose driver test files. Change 3289756 on 2017/02/07 by danny.bouimad Changing the asset for JamesG. Change 3289785 on 2017/02/07 by James.Golding Replace old PoseDrive test with Danny's new one Change 3289858 on 2017/02/07 by Lina.Halper fixed issue with undo transaction buffer Change 3289860 on 2017/02/07 by Benn.Gallagher Fixed crash after reimporting a clothing asset with the clothing config open and then changing the confg #jira UE-41655 Change 3289912 on 2017/02/07 by Thomas.Sarkanen Merging using Raven_To_Dev-Framework Originally from CLs 3249471, 3258522, 3260271, 3273791: Sequencer: More work supporting array properties more generically + fixes Change 3289962 on 2017/02/07 by James.Golding Add thickness option to DrawWireDiamond Change 3289963 on 2017/02/07 by James.Golding Add spin option to VectorInputBox Change 3289966 on 2017/02/07 by James.Golding Add weight bar chart to PoseDriver details Stop drawing pose weight text in viewport Fix position targets not drawing larger when selected Change 3290094 on 2017/02/07 by Thomas.Sarkanen Fixed typo in filename (fallout from search and replace) Change 3290119 on 2017/02/07 by Thomas.Sarkanen Manipulators can now have their IK/FK space set on them They are not drawn when the space for the chain that they control is not the same as their setting Also fixed a crash with invalid objects when reloading maps. Change 3290145 on 2017/02/07 by Thomas.Sarkanen CIS fix for fallout from Raven changes #jira UE-41670 - Mac editor fails to compile with PropertyTrackEditor errors Change 3290319 on 2017/02/07 by Marc.Audy Make sound player nodes hard reference the assets unless they are in a chain below a quality node. Change 3290484 on 2017/02/07 by Richard.Hinckley Fixing grammar in popup messages. Change 3290533 on 2017/02/07 by Marc.Audy Make GetAIController BlueprintPure #jira UE-41654 Change 3290624 on 2017/02/07 by Marc.Audy Reorder header to avoid include tool warnings Change 3290697 on 2017/02/07 by Lina.Halper - support FK manipulator being in local space - fixed FK key spamming issue for making blend weight to be not keyable - this creates conflicts with enum #code review: Thomas.Sarkanen Change 3290748 on 2017/02/07 by Ori.Cohen Touch immediate mode file to force physx re-link Change 3290807 on 2017/02/07 by Richard.Hinckley #jira UE-39891 Updates to assist in automatic documentation generation. Change 3290946 on 2017/02/07 by Lina.Halper Fix issue of notify looping. #jira: UE-31463 #Code review:Martin.Wilson Change 3291553 on 2017/02/07 by Lina.Halper Rename/move file(s) - modified mesh mapping controller window to be Control Rig Change 3291571 on 2017/02/07 by Lina.Halper added set up spine option #code review:Thomas.Sarkanen Change 3291581 on 2017/02/07 by Ori.Cohen Temporarily turn off phat immediate mode preview which crashes. Change 3291949 on 2017/02/08 by James.Golding Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3291819 Change 3291966 on 2017/02/08 by Lina.Halper Fix issue with notify looping bug #jira: UE-31463 Change 3292247 on 2017/02/08 by Marc.Audy Clean up bad merge caused by Fortnite integration to main Change 3292326 on 2017/02/08 by Marc.Audy Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3292313 Change 3292409 on 2017/02/08 by Marc.Audy Resubmit FortPawn.cpp with proper code even though perforce doesn't think there is a difference since when you sync it, the contents are wrong. Change 3292481 on 2017/02/08 by Ori.Cohen Fix for convex hull cooking (from Josh.S) #JIRA UE-41656 Change 3292492 on 2017/02/08 by Mieszko.Zielinski Redone replacement of deprecated navigation system's BP functions in Fortnite BPs #Fortnite Change 3292778 on 2017/02/08 by Ori.Cohen Touch physx DDC key for new cooking. #JIRA UE-41656 [CL 3293329 by Marc Audy in Main branch]
2017-02-08 17:53:41 -05:00
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
if (IsInGameThread())
{
GWarn->BeginSlowTask(NSLOCTEXT("ConvexDecompTool", "BeginCreatingCollisionTask", "Creating Collision"), true, false);
}
IVHACD* InterfaceVHACD = CreateVHACD();
const float* const Verts = (float*)InVertices.GetData();
const unsigned int NumVerts = InVertices.Num();
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
const uint32_t* const Tris = (uint32_t*)InIndices.GetData();
const unsigned int NumTris = InIndices.Num() / 3;
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
bSuccess = InterfaceVHACD->Compute(Verts, NumVerts, Tris, NumTris, VHACD_Params);
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
if (IsInGameThread())
{
GWarn->EndSlowTask();
}
if(bSuccess)
{
// Clean out old hulls
InBodySetup->RemoveSimpleCollision();
// Iterate over each result hull
int32 NumHulls = InterfaceVHACD->GetNConvexHulls();
for(int32 HullIdx=0; HullIdx<NumHulls; HullIdx++)
{
// Create a new hull in the aggregate geometry
FKConvexElem ConvexElem;
IVHACD::ConvexHull Hull;
InterfaceVHACD->GetConvexHull(HullIdx, Hull);
for (uint32 VertIdx = 0; VertIdx < Hull.m_nPoints; VertIdx++)
{
FVector V;
V.X = (float)(Hull.m_points[(VertIdx * 3) + 0]);
V.Y = (float)(Hull.m_points[(VertIdx * 3) + 1]);
V.Z = (float)(Hull.m_points[(VertIdx * 3) + 2]);
ConvexElem.VertexData.Add(V);
Optimize convex hull computation - Fix a comparison bug in VHACD Volume::Voxelize causing the number of voxels to explode when x == y and z < x. - Activate axis alignment in VHACD to fix huge voxels being created due to an elongated part being placed diagonally in the voxel space causing precision problems. - Make the data ordering in vhacdVolume GetVoxel more cache friendly toward loops iterating over (i,j,k) in that order. - Parallelize bulk convex hull computation and make it available in blueprint. - Replace standard allocator with our own (TBB) so that the parallel code actually runs faster instead of locking on allocs. - Add an overridable task runner interface in VHACD to reuse our task pool instead of spawning threads for each async task. - Add an overridable profiler interface in VHACD so we can add Insights tags inside VHACD. - Fix convex hull computation progress not being shown when run inside a dataprep operation. - Rewrite voxel flood fill algorithm toward cache friendliness and get rid of extra data structure causing high memory usage on large voxels. - Recompile VHACD using clang/llvm Results for running a generic convex hull dataprep operation on all meshes - 305m [at] 20GB RAM -> 2m25s [at] 6GB RAM on 7628 meshes (DATASET-0019a) - 486m [at] 49GB RAM -> 3m33s [at] 9GB RAM on 5506 meshes (DATASET-0008a) Tested on Windows/Mac/Linux From dev-enterprise[at]11497987 #jira UEENT-3026 #rb Benn.Gallagher, Julien.St-Jean #ROBOMERGE-SOURCE: CL 11499409 in //UE4/Release-4.25/... #ROBOMERGE-BOT: RELEASE (Release-4.25 -> Release-4.25Plus) (v654-11333218) [CL 11499434 by danny couture in 4.25-Plus branch]
2020-02-18 10:21:00 -05:00
}
ConvexElem.UpdateElemBox();
InBodySetup->AggGeom.ConvexElems.Add(ConvexElem);
}
InBodySetup->InvalidatePhysicsData(); // update GUID
}
InterfaceVHACD->Clean();
InterfaceVHACD->Release();
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
class FDecomposeMeshToHullsAsyncImpl : public IDecomposeMeshToHullsAsync, public IVHACD::IUserCallback
{
public:
// VHACDJob : Is a small class used to represent one V-HACD operation request. These are put in a queue and processed in sequential order
class VHACDJob
{
public:
VHACDJob(UBodySetup* _InBodySetup,
TArray<FVector3f>&& InVertices,
TArray<uint32>&& InIndices,
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
uint32 InHullCount,
int32 InMaxHullVerts,
uint32 InResolution = DEFAULT_HACD_VOXEL_RESOLUTION)
: Vertices(MoveTemp(InVertices)), // Take ownership of the buffer of vertex positions
Triangles(MoveTemp(InIndices)), // Take ownership of the buffer of triangle indices
InBodySetup(_InBodySetup), // Cache the UBodySetup the convex hull results are to be stored in.
HullCount(InHullCount), // Save the number of convex hulls requested count
MaxHullVerts(uint32(InMaxHullVerts)), // Save the maximum number of vertices per convex hull allowed
Resolution(InResolution) // Save the voxel resolution
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
{
}
// Start the V-HACD operation
bool StartJob(IVHACD *InVHACD,IVHACD::IUserCallback *InCallback)
{
IVHACD::Parameters VHACD_Params;
InitParameters(VHACD_Params, HullCount, MaxHullVerts, Resolution);
VHACD_Params.m_callback = InCallback;
bool ret = InVHACD->Compute(&Vertices[0].X, Vertices.Num(), Triangles.GetData(), Triangles.Num() / 3, VHACD_Params);
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
return ret;
}
// Get the results and copy them into the UBodySetup specified by the caller
void GetResults(IVHACD *InVHACD)
{
int32 NumHulls = InVHACD->GetNConvexHulls();
if (NumHulls)
{
// Clean out old hulls
InBodySetup->RemoveSimpleCollision();
// Iterate over each result hull
for (int32 HullIdx = 0; HullIdx < NumHulls; HullIdx++)
{
// Create a new hull in the aggregate geometry
FKConvexElem ConvexElem;
IVHACD::ConvexHull Hull;
InVHACD->GetConvexHull(HullIdx, Hull);
for (uint32 VertIdx = 0; VertIdx < Hull.m_nPoints; VertIdx++)
{
FVector V;
V.X = (float)(Hull.m_points[(VertIdx * 3) + 0]);
V.Y = (float)(Hull.m_points[(VertIdx * 3) + 1]);
V.Z = (float)(Hull.m_points[(VertIdx * 3) + 2]);
ConvexElem.VertexData.Add(V);
}
const uint32 NumIndexEntries = Hull.m_nTriangles * 3;
ConvexElem.IndexData.Reset(Hull.m_nTriangles * 3);
for(uint32 Index = 0; Index < NumIndexEntries; ++Index)
{
ConvexElem.IndexData.Add(Hull.m_triangles[Index]);
}
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
ConvexElem.UpdateElemBox();
InBodySetup->AggGeom.ConvexElems.Add(ConvexElem);
}
InBodySetup->InvalidatePhysicsData(); // update GUID
}
}
VHACDJob *mNext{ nullptr }; // Next job to perform
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
private:
TArray<FVector3f> Vertices;
TArray<uint32> Triangles;
UBodySetup* InBodySetup; // The body we are going to store the results in
uint32 HullCount; // The maximum number of convex hulls requested
uint32 MaxHullVerts; // The maximum number of vertices per convex hull requested
uint32 Resolution; // The voxel resolution to use for the V-HACD operation
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
};
FDecomposeMeshToHullsAsyncImpl(void)
{
InterfaceVHACD = VHACD::CreateVHACD_ASYNC(); // create the asynchronous V-HACD instance
}
virtual ~FDecomposeMeshToHullsAsyncImpl(void)
{
ReleaseVHACD(); // Release any pending jobs
// Shut down the V-HACD interface
if (InterfaceVHACD)
{
InterfaceVHACD->Clean();
InterfaceVHACD->Release();
}
}
/**
* Utility for turning arbitrary mesh into convex hulls.
* @output InBodySetup BodySetup that will have its existing hulls removed and replaced with results of decomposition.
* @param InVertices Array of vertex positions of input mesh
* @param InIndices Array of triangle indices for input mesh
* @param InAccuracy Value between 0 and 1, controls how accurate hull generation is
* @param InMaxHullVerts Number of verts allowed in a hull
*/
virtual bool DecomposeMeshToHullsAsyncBegin(UBodySetup* _InBodySetup, TArray<FVector3f>&& InVertices, TArray<uint32>&& InIndices, uint32 InHullCount, int32 InMaxHullVerts, uint32 InResolution = DEFAULT_HACD_VOXEL_RESOLUTION) final
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
{
check(_InBodySetup != NULL);
bool bSuccess = false;
// Validate input by checking bounding box
FBox VertBox(ForceInit);
for (const FVector3f& Vert : InVertices)
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
{
VertBox += (FVector)Vert;
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
}
// If box is invalid, or the largest dimension is less than 1 unit, or smallest is less than 0.1, skip trying to generate collision (V-HACD often crashes...)
if (VertBox.IsValid == 0 || VertBox.GetSize().GetMax() < 1.f || VertBox.GetSize().GetMin() < 0.1f)
{
return false;
}
// Create a VHACD Job instance and add it to the end of the linked list of pending jobs
VHACDJob *job = new VHACDJob(_InBodySetup, MoveTemp(InVertices), MoveTemp(InIndices), InHullCount, InMaxHullVerts, InResolution);
Copying //UE4/Dev-AnimPhys to //UE4/Dev-Main (Source: //UE4/Dev-AnimPhys @ 3683440) #lockdown Nick.Penwarden #rb none ============================ MAJOR FEATURES & CHANGES ============================ Change 3624599 by Thomas.Sarkanen Added the ability to rename shapes in the Physics Asset Editor Added "CanRenameItem" to skeleton tree item API so we are not limited to hard-coded bones/sockets Tweaked physics shape item widget to use editable text in the same vein as virtual bones etc. #jira UEAP-341 - Ability to name collision shapes Change 3624765 by Benn.Gallagher Fixed bad blend profile references #jira UE-46227 Change 3624773 by Danny.Bouimad Content fix for #Jira UE-49191 Change 3625007 by Thomas.Sarkanen Fixed monolithinc game builds Moved new Name member to WITH_EDITORONLY_DATA, as the generated code still picks it up using WITH_EDITOR Change 3625659 by Ori.Cohen Make sure that components being unwelded are always unwelded even if they are about to be deleted. This is needed for fixing dangling pointers. Change 3625850 by Thomas.Sarkanen Fix for crash in physics asset editor after garbage collection Move bone proxies from rooting to FGCObject Change 3625966 by Lina.Halper Instead of PinShownByDefault, changed to PinHiddenByDefault https://github.com/EpicGames/UnrealEngine/pull/3964 #3964 #jira: UE-49168 Change 3626020 by Martin.Wilson Protect against checkSlow when using post process instance without a main instance #jira UE-49275 Change 3627178 by Aaron.McLeran #jira UE-49322 Fixing background muting and preview sound Change 3627179 by Aaron.McLeran Optimizing active sound by not processing active sounds if they are out of range. Allowing virtualized sounds to be exempt. Licensee says they saw a 6x improvement on active sound calculations in audio thread with this change. Change 3627187 by Aaron.McLeran Allowing overriding the sample rate of synth components in C++. Useful for cases where synth component is being used to output media auido or VOIP. Change 3627563 by Thomas.Sarkanen Tweaked tooltip so it isnt the same as other menus #jira UE-47817 - Two Viewport tooltips are the same in Physics Asset Editor Change 3627580 by James.Golding PR #3974: UE-49200: Fixed typo in Physics Handle (Contributed by carloshellin) #jira UE-49264 Change 3627581 by James.Golding Reduce output verbosity during cooking #jira UE-47126 Change 3627584 by James.Golding PR #3954: Upgrade to V-HACD version 2.3 (Contributed by jratcliff63367) Auto-convex generation now exposes more useful 'max hulls' instead of 'accuracy' Auto-generation of convex collision is now done async in StaticMesh Editor #jira UE-49027 Change 3627599 by Martin.Wilson Make sure raw data debug bone rendering in the animation editors actually shows raw data in the case of additive track layers (used to show source instead) Change 3627605 by James.Golding Forgot to remove Box2D from TargetRules.cs (see CL 3555437) Change 3627627 by Martin.Wilson Change raw data evaluation so that virtual bone positions are built before interpolation is carried out #jira UE-42659 Change 3627663 by Martin.Wilson Fix typo Change 3627730 by Martin.Wilson Allow notifies to be trigger on follower animations in a sync group #jira UE-46770 Change 3627852 by Thomas.Sarkanen Add warning to "Use Async Scene" property when shown in the physics asset editor, if the project doesn't currently use an async scene. #jira UE-47964 User is not told to Enable Async Scene in Project Settings when enabling it on a physics asset Change 3627864 by Lina.Halper Fix issue where "reset to default" on search box for bone doesn't work #jira: UE-48874 Change 3627946 by Thomas.Sarkanen Prevent undo/redo breaking when moving both a constraint and a body at the same time #jira UE-49344 - Physics Asset Editor: Moving both a body and a constraint causes undo.redo to break for the whole editor Change 3628091 by Thomas.Sarkanen Fix dangling lines, poor search focus and graph not refreshing when making new constraints Found by Nick D in Main. #jira UE-47812 - Physics Asset Graph wires sometimes get stuck to the window not attached to a node Change 3628107 by Lina.Halper Fixed issue where Blendspace 1D can't scale due to the property not exposed https://udn.unrealengine.com/questions/389958/input-interpolationaxis-to-scale-in-1d-blendspace.html Change 3628108 by Arciel.Rekman Update Linux VHACD. - Also removed arm 32-bit version (the library is editor-only). Change 3628437 by Michael.Trepka Updated Mac VHACD libraries and Xcode project Change 3628667 by Lina.Halper - Fixed issue of showing combo box multiple times - Fixed issue of inconsistent combo box width - Fixed text of pick bone to "select" for more general instruction - Fixed issue with struct displaying children when pin is enabled #jira: UE-49295, UE-46496, UE-47427 Change 3629744 by Aaron.McLeran #jira UE-49383 Fix for source bus loading in sound waves and playing without audio mixer Change 3629846 by Aaron.McLeran #jira UE-49390 Required API change to spatialization interface for google Change 3630322 by Thomas.Sarkanen Fix right-click not displaying context menu for constraints correctly Selection logic was lightly broken #jira UE-49399 - Physics Asset Editor: Right-clicking constraints in the viewport does not bring up the context menu Change 3630463 by Martin.Wilson Remove accidently submitted debug code Change 3630523 by Jurre.deBaare Paint threshold and fill value and can be set to negative numbers #fix Added metadata and default values for cloth fill tool #jira UE-48352 Change 3632009 by Aaron.McLeran #jira UE-49470 Fix for iOS master volume not getting set Recent changes to master volume resulted in platforms which don't have a headroom value defined will not get their master volume updated. IOS doesn't have a headroom value set so the master volume is never set and the fade in is never triggered. Change 3632699 by Thomas.Sarkanen Fix crash undo-ing primitive regeneration while simullation is in progress & stopping simulation #jira UE-49283 - Editor crashes if you regenerate and manipulate a phys body, simulate, undo and then exit simulation Change 3633336 by James.Golding PR #3978: effect is the noun. affect is the verb (Contributed by cdietschrun) #jira UE-49324 Change 3634665 by Aaron.McLeran #jira UE-49538 Fixing param interpolation Change 3634922 by James.Golding Static analysis fix (PhysXCookHelper.cpp) Change 3634926 by James.Golding Fix HTML5 build (which builds with PhysX, but without APEX) Change 3636005 by Thomas.Sarkanen Constraint setup shortcuts are now undo-able Also fixed body-body collision as you couldnt undo this either. Added transaction and calls to Modify(). #jira UE-49484 - Shortcut for Swing1Motion (2, and 3) do not change physics asset state dirty. Change 3636018 by Thomas.Sarkanen Added back constraint shortcut to PhAT toolbar #jira UE-48859 - Constraint quick set buttons are missing in the new Physics Asset tool Change 3636086 by Martin.Wilson Fix for enabling Live Link plugin in Orion Change 3638367 by Thomas.Sarkanen Connection reporting is now more user-freindly in the physics asset editor graph view Expanded UEdGraphSchema API to allow for more specific feedback when dragging over a graph. Implemented node & pin feedback for physics asset graphs. Also fixed alignment of icon for drag feedback as it stretches with multi-line text. #jira UE-47984 - No node created when dragging off of Constraint node in Physics Asset Graph Change 3640144 by Aaron.McLeran #jira UE-49409 Attenuation focus audio tests on TM-AnimPhys on Cooked mac doesn't play any audio Fixing the recent optimization to not play active sounds in range. Code attempts to check if there's any possibility for a sound to have it's distance affected before trying to prune by max distance. Change 3640276 by Aaron.McLeran #jira UE-49606 Project does not cook with actors containing ModularSynth component Change 3640313 by Aaron.McLeran #jira UE-49675 Fixing shutdown of audio mixer - Final queued commands aren't getting pumped during audio mixer shutdown, added a new interface to get a final shutdown callback back to audio mixer device. We can do any cleanup or final shutdown tasks in this callback. Added a call to pump the source manager one last time. For cases of audio mixer running without audio plugins, this won't have much of an effect, but is a good thing to do anyway. For the case of audio plugins, who are depending on paired init and release calls, this is valueable to avoid memory leaks between subsequent PIE sessions. Change 3640941 by Martin.Wilson Add editor only animation loading debug data in the hope of diagnosing rare loading crash #jira UE-49335 Change 3641976 by Ethan.Geller #jira UE-49675 ensure that we pump both command queues Change 3642613 by James.Golding Add NoPhysX sample, for CIS testing compilation without PhysX Change 3644001 by Aaron.McLeran #jira UE-49805 looping sounds are, in rare cases, extremely loud Change 3644124 by Aaron.McLeran #jira UE-49787 [CrashReport] Mac crash - UE4Editor-AudioEditor.dylib!FSoundCueEditor::DeleteInput() Adding ensure on returned ptr to avoid crash but keep getting some logging. Change 3644157 by Aaron.McLeran Fixing build error Change 3644163 by Aaron.McLeran Fixing build error (for real) Change 3650331 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Making sure we properly set passive mix modifier states. Change 3652648 by Aaron.McLeran #jira UE-49994 SoundMix Fade Time not fading audio properly Change 3652995 by Aaron.McLeran #jira UE-50053 Reduce log level of audio mixer debug category Turning down the log spam level of the underrun category by switching to debug category and reducing level of the debug category. Change 3653461 by James.Golding V-HACD updates from JohnR @ NVIDIA (adding new functions for future use) Change 3654056 by Aaron.McLeran Fixing an issue with caching node states for editor builds and adding optimization to cache if we should apply interior volumes. Change 3654579 by Aaron.McLeran Allow sound submixes and sound classes to be a blueprint type Made all properties of sound classes BlueprintReadOnly. Change 3662519 by James.Golding Merge CL 3575543 from //Fortnite/Main to Dev-AnimPhys Don't call into UpdateKinematicBones if there are no physx bodies Change 3664976 by Aaron.McLeran #jira UE-50175 New Tap Delay Submix Pan parameter does not work in Surround Sound Change 3665751 by Aaron.McLeran Adding a simple panner effect Change 3665851 by Aaron.McLeran Fixing naming convention for new panner source effect Change 3666894 by Thomas.Sarkanen Bone modifications via transform type-in can now be undone Added RF_Transactional & called Modify() #jira UE-47862 - Undoing Bone transformations in Physics Asset Editor does not work Change 3666919 by Lina.Halper Fixed equal operator for bonereference to work when not initialized Change 3668850 by Thomas.Sarkanen Skeleton tree now no longer allows selection of filtered items This fixes an issue where filtered-out constraints were being deselected after a select all operation because the tree thought it had no selection (all constraints were filtered). #jira UE-50200 - Constraint Details do not populate in the Details Panel if the Skeleton tree does not include Constraints Change 3669028 by James.Golding Fix CIS error after merge-down Change 3669053 by James.Golding Fix bad merge in SynthComponent.cpp Change 3669273 by Lina.Halper - delete all tracks option - allow to opt out on bone track importing - fixed pose preview for fullbody to select weights that has pose from asset. Change 3671396 by James.Golding Fix FSkelMeshComponentLODInfo cleaning up all override resources when it should only have been cleaning up one of them Change 3671701 by Martin.Wilson Maya Live Link plugin - Added UI to Maya - Display currently streamed subjects - Allow add and removal of streamed subjects - Display connection status to editor - Stream active camera as EditorActiveCamera - Refactored entire plugin so that streaming has a manager and streaming objects / interfaces - Reworked editor update hook so that streaming is more robust and facial rigs / leaf bones now correctly update. Change 3672170 by Lina.Halper Remove track support for Animation Blueprint Library Change 3675921 by Ethan.Geller Rollback invalidated check from copy down Change 3677606 by Martin.Wilson Add live link driven component - allows an actor to take its rotation and translation from a live link subject Change 3678594 by Lina.Halper Changed API name for clarification Change 3680913 by Ethan.Geller #jira UE-50750 fix stuttering on AudioMixer on MacOS Change 3681127 by Ethan.Geller #jira UE-50720 Fix invalidated audio clock time when audio device is unplugged on legacy audio engine Change 3682729 by Ethan.Geller #jira UE-50832 Fix for null concurrency settings when removing active sounds from a concurrency group. [Dev-AnimPhys] Change 3633185 by James.Golding Fix engine not compiling when WITH_PHYSX == 0 PR #3691: 4.16_WITH_PHYSX_optional (Contributed by JacobNelsonGames) PR #3695: 4.16_PhysXVehicles_WITH_PHYSX_optional (Contributed by JacobNelsonGames) Change 3637031 by Ethan.Geller #jira UE-49605 Platform Headroom fix for non-float devices. Change 3642598 by James.Golding Change bCompileNvCloth to use same pattern as bCompileAPEX (on by default, disabled on some platforms). This allows game projects to disable it. Change 3645224 by Martin.Wilson Fix for rare notify crash. For speed purposes Notify Queue caches a pointer to the notify, this is memory that is owned by the animation and if it gets garbage collected we have a pointer to invalid memory. This change caches a pointer to the owner of the notify memory to so we can track its validity. #jira UE-44869 Change 3668926 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3668712 Change 3674824 by James.Golding Merging //UE4/Dev-Main to Dev-AnimPhys (//UE4/Dev-AnimPhys) @ 3674368 [CL 3683447 by Thomas Sarkanen in Main branch]
2017-10-06 04:43:18 -04:00
// If we already have an active job, add this job to the end of the list
if (CurrentJob)
{
// Add this new job to the end of the linked list
VHACDJob *scan = CurrentJob;
while (scan->mNext )
{
scan = scan->mNext;
}
scan->mNext = job;
bSuccess = true;
}
else
{
bSuccess = job->StartJob(InterfaceVHACD, this); // start the first job!
CurrentJob = job;
}
return bSuccess;
}
void ReleaseVHACD(void)
{
CurrentStatus = "";
// Release all pending async jobs
VHACDJob *job = CurrentJob;
while (job)
{
VHACDJob *next = job->mNext;
delete job;
job = next;
}
CurrentJob = nullptr;
}
virtual bool IsComplete(void) final
{
bool ret = true;
if (CurrentJob)
{
if (InterfaceVHACD->IsReady()) // If the last job is finished
{
CurrentJob->GetResults(InterfaceVHACD); // Get the results of that previous V-HACD operation
VHACDJob *next = CurrentJob->mNext; // Get the next job pointer
delete CurrentJob; // Delete the last job now that it is completed
CurrentJob = next; // Assign the new current job pointer and begin work if there is more work to do.
if (CurrentJob)
{
CurrentJob->StartJob(InterfaceVHACD, this); // kick off the next job in sequential order
}
}
ret = CurrentJob ? false : true; // If there is still a CurrentJob then we are not complete; set return code to false
}
return ret;
}
virtual void Release(void) final
{
delete this;
}
void Update(const double overallProgress, const double stageProgress, const double operationProgress, const char * const stage, const char * const operation)
{
CurrentStatus = FString::Printf(TEXT("Progress[%0.2f] [%s:%0.2f] [%s:%0.2f]"),
overallProgress,
ANSI_TO_TCHAR(stage),
stageProgress,
ANSI_TO_TCHAR(operation), operationProgress);
}
virtual const FString &GetCurrentStatus(void) const final
{
return CurrentStatus;
}
private:
VHACDJob *CurrentJob{ nullptr };
FString CurrentStatus;
IVHACD *InterfaceVHACD{ nullptr }; // pointer to current asynchronous V-HACD interface
};
/**
* Utility for turning arbitrary mesh into convex hulls.
* @output InBodySetup BodySetup that will have its existing hulls removed and replaced with results of decomposition.
* @param InVertices Array of vertex positions of input mesh
* @param InIndices Array of triangle indices for input mesh
* @param InAccuracy Value between 0 and 1, controls how accurate hull generation is
* @param InMaxHullVerts Number of verts allowed in a hull
*/
IDecomposeMeshToHullsAsync *CreateIDecomposeMeshToHullAsync(void)
{
FDecomposeMeshToHullsAsyncImpl *d = new FDecomposeMeshToHullsAsyncImpl;
return static_cast<IDecomposeMeshToHullsAsync *>(d);
}