Commit Graph

65 Commits

Author SHA1 Message Date
danny couture
7119f1a0d3 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
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
JeanMichel Dignard
84facd6d15 Copy from dev-enterprise cl 11097196
#rb none
#rnx

[CL 11099277 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-23 16:28:59 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
jeanmichel dignard
2ce7666d2d Copying //UE4/Dev-Core [at] 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

#ROBOMERGE-OWNER: jeanmichel.dignard
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 10708666 in //UE4/Main/...
#ROBOMERGE-BOT: TOOLS (Main -> Dev-Tools-Staging) (v626-10872990)

[CL 10898071 by jeanmichel dignard in Dev-Tools-Staging branch]
2020-01-07 15:54:23 -05:00
Ryan Durand
28d3d740dd (Integrating from Dev-EngineMerge to Main)
Second batch of remaining Engine copyright updates.

#rnx
#rb none
#jira none

[CL 10871196 by Ryan Durand in Main branch]
2019-12-27 07:44:07 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
Robert Manuszewski
7b6f840f7f Copying //UE4/Dev-Core @ 10708550 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 10708666 by Robert Manuszewski in Main branch]
2019-12-13 11:07:03 -05:00
Cody Albert
299cedc789 Updated actor selection blueprint nodes to call modify on the selection state, allowing them to be picked up by active transactions
#rb none

[CL 10419697 by Cody Albert in Dev-Editor branch]
2019-11-25 12:35:58 -05:00
Ryan Schmidt
d53c4df497 Merging //UE4/Dev-Tools-Staging down to //UE4/Dev-Editor at CL 10372033 (part 1 of 2)
#rb none
#rnx

[CL 10384788 by Ryan Schmidt in Dev-Editor branch]
2019-11-23 00:35:50 -05:00
marc audy
dbcf07a558 Use new inline versions of substring functions
Fix up nearby cases where ESearchCase::CaseSensitive should have been used
#jira
#rnx
#rb

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10309793 via CL 10309818
#ROBOMERGE-BOT: (v593-10286020)

[CL 10309932 by marc audy in Main branch]
2019-11-19 13:27:07 -05:00
Gines Hidalgo
7e5c105006 #jira none
Some displayed error messages about paths being too long are more informatives and include full path and current/maximum length allowed.

#rb none

[CL 10119068 by Gines Hidalgo in Dev-Editor branch]
2019-11-12 18:03:37 -05:00
Gines Hidalgo
63be50f106 #jira none
Some warning/error messages about using very long paths include the full path (which is a very long path) in the message itself, making the message too long to be displayed when used e.g., in dialog windows (e.g., in File --> Save Current As). Updated the messages from something like "Can't convert the path %s because it is too long" into something like "Can't convert the path because it is too long (%d characters). [...] Full path: %s". This preserves the file path value, but only at the end of the message, so the UI dialogs can display everything (but the file path itself) and at the same time console warnings can display the whole information.

#rb none

[CL 10095760 by Gines Hidalgo in Dev-Editor branch]
2019-11-11 11:00:19 -05:00
Matt Hoffman
925ce9590f Significantly refactored PIE startup and consolidated a fair bit of the existing code into structures that better reflect the lifespan that they are valid for. This refactoring will make it easier for systems that are requesting PIE startup to have better control over the instance that is started up. This refactoring also changes network testing to focus on the role you want to test (standalone, client, listen server) and the number of clients you want to test instead of of trying to determine this information based on other variables.
#rb None
#fyi Michael.Noland

[CL 9754486 by Matt Hoffman in Dev-Editor branch]
2019-10-22 22:03:49 -04:00
JeanMichel Dignard
d4f0f4d3f2 Copying //UE4/Dev-Enterprise @ cl 9420543 to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 9420574 by JeanMichel Dignard in Main branch]
2019-10-04 13:11:45 -04:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
brandon schaefer
a715ea4f14 Deprecate GIsRequestingExit
Get GIsRequestingExit now by IsEngineRequestingExit()

Set GIsRequestingExit now by RequestEngineExit(const TCHAR* Reason) or RequestEngineExit(const FString& Reason)
NOTE If Reason is 4 or less chars it will generate an ensure to force a reason to exit

The reason behind this change is right now setting GIsRequestingExit to true can cause many things to break mainly early on and with out any sort of log warning we have entered this state. We should wrap this behind a function to allow for proper handling

#rb Chris.Babcock, Michael.Trepka, Michael.Noland
#jira UE-79933
[FYI] Michael.Noland


#ROBOMERGE-SOURCE: CL 8649683 via CL 8653683
#ROBOMERGE-BOT: (v417-8656536)

[CL 8658680 by brandon schaefer in Main branch]
2019-09-12 14:21:26 -04:00
Chris Gagnon
2e87118a18 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) Interim 4.24.
#rb none

[CL 8614014 by Chris Gagnon in Main branch]
2019-09-10 11:35:20 -04:00
richard talbotwatkin
c0ef3053d2 Deprecated direct access to UStaticMesh::SourceModels, SectionInfoMap and OriginalSectionInfoMap.
Added new accessors for getting individual SourceModels, or the entire array.
#rb none
#jira none

#ROBOMERGE-SOURCE: CL 7668562 in //UE4/Release-4.23/...
#ROBOMERGE-BOT: RELEASE (Release-4.23 -> Main) (v372-7473910)

[CL 7668565 by richard talbotwatkin in Main branch]
2019-07-31 03:40:45 -04:00
helge mathee
63b6bb2b95 RenameSocket: Scriptable function
#rb lina.halper



#ROBOMERGE-SOURCE: CL 7280546 via CL 7286555
#ROBOMERGE-BOT: (v369-7254125)

[CL 7286732 by helge mathee in Main branch]
2019-07-12 00:42:06 -04:00
lauren ridge
b189ad36bb Removing unused editor utility UI
#rnx
#rb Chris.Gagnon


#ROBOMERGE-SOURCE: CL 6914920 via CL 6919064
#ROBOMERGE-BOT: (v366-6836689)

[CL 6919155 by lauren ridge in Main branch]
2019-06-10 18:07:11 -04:00
Jeff Fisher
bcc5bcf128 Copying //UE4/Dev-VR to Main (//UE4/Main)
-Copy up for 4.23
#rb none

[CL 6911980 by Jeff Fisher in Main branch]
2019-06-10 12:22:13 -04:00
Michael Lentine
f9b3324b32 Copying //UE4/Dev-Physics to Dev-Main (//UE4/Dev-Main) @ 6903150
#rb none
#rnx

[CL 6903163 by Michael Lentine in Main branch]
2019-06-08 17:15:34 -04:00
JeanMichel Dignard
0f9ad96858 Copying //UE4/Dev-Enterprise @ cl 6890376 to Dev-Main (//UE4/Dev-Main)
#lockdown nick.penwarden
#rb none

[CL 6890764 by JeanMichel Dignard in Main branch]
2019-06-07 11:22:52 -04:00
lauren ridge
0bf7f28cc7 Blutility updates to add more generic base classes and libraries for editor scripting
#rb Chris.Gagnon
#rnx


#ROBOMERGE-SOURCE: CL 5808467 via CL 5811585

[CL 5811826 by lauren ridge in Main branch]
2019-04-09 16:17:53 -04:00