Commit Graph

238 Commits

Author SHA1 Message Date
Aris Theophanidis
ae0bd8e9fa [Navmesh] In FPImplRecastNavMesh::GetNavMeshTilesIn(), use FRcTileBox to find min and max tile coordinates.
Note: At CL 21589037, FRcTileBox has been fixed to avoid including tiles that are just touching bounds borders so this applies the fix to GetNavMeshTilesIn() as well.
#rb Mieszko.Zielinski
#jira none
#preflight 634eec11864d9be23637affb

[CL 22607428 by Aris Theophanidis in ue5-main branch]
2022-10-18 14:45:15 -04:00
mikko mononen
b61e12b277 Nav Corridor: fix nav corridor or high cost neighbour polygons
- fixed DetourNavMeshQuery storeWallSegment() returning some segments in reverse
- fixed degenerate cases in polygon clipping
- change corridor expansion to take fixed area cost into account to not expand to hard to reach areas

#rb Mieszko.Zielinski
#preflight 6349200d3c37eed48151e71d

[CL 22539724 by mikko mononen in ue5-main branch]
2022-10-14 19:06:35 -04:00
aris theophanidis
515c53fba6 [WP Navmesh] For navmeshes supporting runtime generation, copy cache data when filling navigation data chunk actors.
#jira UE-166490
#rb Stephen.Holmes
#preflight 63402fb1b20780acc1f5c035
#lockdown Julien.Marchand

[CL 22404321 by aris theophanidis in ue5-main branch]
2022-10-07 13:38:43 -04:00
Aris Theophanidis
9386dee261 [WP Navmesh] Prevent creation of partitioned navmesh in non world-partitioned worlds
#jira UE-157334
#rb Mieszko.Zielinski
#preflight 63346e04e4106916067a3493

[CL 22225636 by Aris Theophanidis in ue5-main branch]
2022-09-28 13:07:40 -04:00
marc audy
311f7464bf Updated ../Engine/Source/Runtime/... to inline gen.cpp files
Before:
3648 unity files
Total CPU Time: 47886.140625 s
Total time in Parallel executor: 498.81 seconds

After:
3548 unity files
Total CPU Time: 46643.828125 s
Total time in Parallel executor: 486.06 seconds

#jira
#preflight

[CL 22173263 by marc audy in ue5-main branch]
2022-09-24 13:57:58 -04:00
Stephen Holmes
ef0154ac65 Upgraded a lot of the navigation code. to use FVector::FReal rather than floats. Areas of code where there was little to gain from doing this but would break existing code have been left as float.
#review-22090184
#jira UE-159397
#preflight 632af1846919ce3998bd2195

[CL 22111650 by Stephen Holmes in ue5-main branch]
2022-09-21 09:16:42 -04:00
Aris Theophanidis
3fe9ad80e1 [Navigation] Addition of a warning when exporting component with too many verticies.
With a custimizable warning threshold through the GeometryExportVertexCountWarningThreshold property.
#jira none
#rb Mieszko.Zielinski
#preflight 6324ca71121ffddebca1229b

[CL 22059323 by Aris Theophanidis in ue5-main branch]
2022-09-16 16:21:02 -04:00
Aris Theophanidis
c4652e5977 [WP Navmesh] Get the required overlap (to build world partitioned navmesh) from the navigation system instead of using a constant.
#jira UE-150793
#rb Mieszko.Zielinski
#rb Mikko.Mononen
#preflight 63238e295a44869a7d0c7804

[CL 22038349 by Aris Theophanidis in ue5-main branch]
2022-09-15 17:03:58 -04:00
stephen holmes
6489ad102b Remove FSerializeFloatAsDoubleHack. This was straight forward as we were not seriliazling any floats currently just FReals as doubles.
#preflight 631b5475a20b67673be95e8f
#jira UE-159397

[CL 21961617 by stephen holmes in ue5-main branch]
2022-09-12 05:16:38 -04:00
henrik karlsson
213a68824f * UnrealHeaderTool - Fixed so destructor is declared and defined for code gen classes
* UnrealTypeDefinitionInfo - Explicitly added destructor to make sure code gen is not adding.
* Niagra - Fixed bug where function was declared as non-inline virtual but implemented as inline.
* RecastNavmesh - Made sure destructor is outside #ifdef for UHT to more easily parse the header and generate proper code

#rb Tim.Smith
#preflight 630660a4c00af5e2946af6a6

[CL 21555810 by henrik karlsson in ue5-main branch]
2022-08-24 19:22:18 -04:00
Zak Middleton
80627edb67 #ue5 - Move ConvertArrayType and ConvertArrayTypeClampMax to UE::LWC namespace.
#jira none
#rb none
#preflight 62fc03232265303c4ba38780

[CL 21414621 by Zak Middleton in ue5-main branch]
2022-08-16 17:11:27 -04:00
guillaume guay
21dcd46188 Added GetPolyTileRef method to retrieve a FNavTileRef from a NavNodeRef
[REVIEW] [at]aris.theophanidis

#ROBOMERGE-AUTHOR: guillaume.guay
#ROBOMERGE-SOURCE: CL 21387545 via CL 21391189 via CL 21391883
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21394376 by guillaume guay in ue5-main branch]
2022-08-15 17:16:14 -04:00
Aris Theophanidis
940b9c12dd [Navmesh] Fix transformed convex collision generating wrong navmesh
#jira UE-150091
#rb Mikko.Mononen
#preflight 62fa4269153b17e7462e70ec

[CL 21385823 by Aris Theophanidis in ue5-main branch]
2022-08-15 09:08:19 -04:00
aris theophanidis
fa28636eff Fix crash in PIE on navmesh RebuildAll() using normal navmesh in a WP world
#rb Yoan.StAmant
#preflight none
#rnx

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21202572 via CL 21202595 via CL 21202604
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21204064 by aris theophanidis in ue5-main branch]
2022-07-21 13:31:44 -04:00
aris theophanidis
50bc74b4f8 [Navmesh] Add log tracking FRecastNavMeshGenerator RebuildAll() time (independently of the loading time)
Change OnNavigationGenerationFinished() to display actor label and full name instead of package name.
#rb Yoan.StAmant
#preflight 62d6d896dc4397d3840d7b30

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21165279 via CL 21171402 via CL 21171752
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183781 by aris theophanidis in ue5-main branch]
2022-07-20 12:57:26 -04:00
Stephen Holmes
3e0260876d Proper fix for Server Assert at FNavRegenTimeSlicer::TestTimeSliceFinished upon initializing a session. Previous fix @21062810 did not fix the actual issue.
#Jira UE-159228
#review-21071307
#preflight 62d191337e1c26dcd71e1619

[CL 21112498 by Stephen Holmes in ue5-main branch]
2022-07-15 12:42:42 -04:00
aris theophanidis
1cfe7b5e40 [Navmesh] When building a standard navmesh in a partitioned world, make sure the navigable world is loaded before building.
#rb Yoan.StAmant
#rb Patrick.Enfedaque
#preflight 62cede61b90bf53969727331

#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 21071925 via CL 21072005 via CL 21072034
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21079721 by aris theophanidis in ue5-main branch]
2022-07-13 16:27:55 -04:00
Stephen Holmes
6dd0507189 Check that navigable areas have recast tiles indices that can fit in to an int32. An error log is output if this occurs.
#jira UE-158251
#review-21008880
#rb @Aris.Theophanidis

#preflight 62cd16656a67c3717a6a529b

[CL 21053829 by Stephen Holmes in ue5-main branch]
2022-07-12 04:27:28 -04:00
Aris Theophanidis
b9c3260a83 Allow ANavigationData to support external packaging
Prevent discard of sublevel navdata when using OFPA
Avoid Build Paths to dirty the Level package when Level uses OFPA
Beautify NavData actor labels when using OFPA
#jira FORT-492382
#rb Stephen.Holmes
#rb Richard.Malo
#robomerge[FN_EngineMerge] Dev-EngineMerge
#preflight 62c315595751c961937e79d8

[CL 20935889 by Aris Theophanidis in ue5-main branch]
2022-07-04 12:43:36 -04:00
zach bethel
34623f0321 Replaced thread-local MemStack with ConcurrentLinearAllocator across the renderer.
- Removed scene render mem-mark among others. MemStack usage is now restricted to local scopes with known marks.
 - Render resources with destructors are allocated using the FSceneRenderingBulkObjectAllocator on FSceneRenderer, which is deleted when the scene render is.

#preflight 62b266e20d4d6228de97babe
#rb mihnea.balta, yuriy.odonnell

[CL 20907647 by zach bethel in ue5-main branch]
2022-06-30 19:55:24 -04:00
Aris Theophanidis
922c0de02b [WP navmesh] Allow navmesh tile pool to be resizable when built through the UWorldPartitionNavigationDataBuilder (ignoring bFixedTilePoolSize)
#rb Yoan.StAmant
#jira none
#preflight 62bddb663f0d6beee296d52b

[CL 20899730 by Aris Theophanidis in ue5-main branch]
2022-06-30 13:55:48 -04:00
Aris Theophanidis
c6a3f6fc3c [Navmesh] Rename debug display property bHeightfieldSolidPostRadiusFiltering to bHeightfieldSolidPostInclusionBoundsFiltering and add some property descriptions.
#rb Mieszko.Zielinski
#jira none
#preflight 62bb09351813601bbec82327

[CL 20857404 by Aris Theophanidis in ue5-main branch]
2022-06-28 10:10:55 -04:00
Stephen Holmes
d92f4e1e00 Time slicing recast ledge span filtering.
#review-20774616
#rb Aris.Theophanidis
#preflight 62b42e4f1463893419c1a6cb
#jira FORT-426667

[CL 20792905 by Stephen Holmes in ue5-main branch]
2022-06-23 08:13:10 -04:00
Aris Theophanidis
737c1a42e5 [Navmesh] Add warnings when tiles could not be added because the tile limit has been reached
#preflight 62b36c75c603be61480dad27

[CL 20779709 by Aris Theophanidis in ue5-main branch]
2022-06-22 15:36:07 -04:00
Stephen Holmes
93eab593e0 Added debugging code to better track down slow time sliced sections of code.
#review-20593115
#rb Aris.Theophanidis
#preflight 62b1e968827ccccb2ce32cbc
#jira none

[CL 20759306 by Stephen Holmes in ue5-main branch]
2022-06-21 12:13:45 -04:00