Commit Graph

152 Commits

Author SHA1 Message Date
Aris Theophanidis
a173b410ad [Navmesh] Optimization: remove unnecessary extra agent radius tile expansion when computing tile bounds.
This avoids unnecessary collision gathering as well a preventing unnecessary tile dirtiness.
Also resolves issue in Z where an NavModifierVolume would incorrectly dirty a tile below itself if within agent radius.
Addition of n.UseTightBoundExpansion console command to revert back to previous behavior as a fallback precaution.
#jira UE-127165
#rb Mikko.Mononen
#fyi Frederic.Doll
#fyi Guillaume.Guay
#preflight 6377b9d3f514e1ded9ba198b

[CL 23197691 by Aris Theophanidis in ue5-main branch]
2022-11-18 12:23:09 -05:00
frederic doll
b751da2b37 Avoid bounds fully included in the Max tile computation for navmesh generation
#rb aris.theophanidis
#preflight 6376aedd815e4b9b750f3739

[CL 23190993 by frederic doll in ue5-main branch]
2022-11-18 03:12:23 -05:00
aris theophanidis
bd8479f298 Fix misleading local variable name.
#jira none
#rb trivial
#preflight 63726f90bf76990b710a4e80

[CL 23119646 by aris theophanidis in ue5-main branch]
2022-11-14 11:46:30 -05:00
Aris Theophanidis
69748e483d [Navmesh] Keep the same Oodle compression in editor as in game to (avoid being slower in PIE)
#jira none
#rb Mieszko.Zielinski
#preflight 63726d07ee4d25f90acb13d2

[CL 23119391 by Aris Theophanidis in ue5-main branch]
2022-11-14 11:36:55 -05:00
Stephen Holmes
be96784816 More conversion warnings fixes
#jira UE-166285
#preflight 636d16603852f8738a1d4775
#review-23055159

[CL 23079248 by Stephen Holmes in ue5-main branch]
2022-11-10 10:40:09 -05:00
Aris Theophanidis
3b720bc803 Navigation display improvements
Addition of tile building statistics
Addition of partitioning type, navdata count and triangle count
Addition of profile tags in the tile generation
#jira none
#rb Mieszko.Zielinski
#preflight 636a92b7dc30a4ce96a8b738

[CL 23032335 by Aris Theophanidis in ue5-main branch]
2022-11-08 13:00:51 -05:00
Aris Theophanidis
7ca89a4180 Add navmesh and navsystem informations on screen when navigation display is enabled
Add bDrawTileBuildTimes property to display last tile build time
Add bDrawTileBuildTimesHeatMap property to display the navmesh as a colored heat map of tile build time
Fix UNavMeshRenderingComponent not clearing labels when they where turned off
Allow DebugLabels to be displayed in 2D on screen
Add draw distance clipping for navmesh label rendering
Addition of profile tags in NavMeshRenderingComponent
#jira none
#rb Mieszko.Zielinski
#preflight 63640460d308b70e6607fc77
#preflight 6364089cf233f06a1266b061

[CL 22960500 by Aris Theophanidis in ue5-main branch]
2022-11-03 14:49:40 -04:00
henrik karlsson
fa90b399a4 Added includes for future change. This changelist only contains added #include and a couple of empty placeholder files
Tested compiling fortnite, unrealeditor, lyra, qagame with non-unity/pch

#preflight 63635997876630122adeab9f
#rb none

[CL 22958990 by henrik karlsson in ue5-main branch]
2022-11-03 14:18:47 -04:00
frederic doll
8a000d660b Improve navmesh generation debugging :
- add ways to see the heightfield bound (and max height)
- improve logging for components added to the NavOctree

#rb aris.theophanidis

[CL 22792849 by frederic doll in ue5-main branch]
2022-10-26 17:27:00 -04:00
henrik karlsson
b5b86c796c This change is a strategical submit for a coming change that removes lots of includes in headers that are included by many files. This change contains adding of includes in files that previously got those includes transitively from other inclkudes
#preflight 6355d4940313c24974b2107b
#rb none

[CL 22783162 by henrik karlsson in ue5-main branch]
2022-10-26 12:57:32 -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
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
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
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
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
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
Aris Theophanidis
70b13eab0d [WP Dynamic Navmesh] Fix missing tile in base navmesh when building WP navmesh from editor
#preflight 62b1dc6f405a18a061f26075

[CL 20758217 by Aris Theophanidis in ue5-main branch]
2022-06-21 11:16:14 -04:00
frederic doll
4c91d49a74 Manually integrate CL20702203 from FN_Main
#ROBOMERGE-AUTHOR: frederic.doll
#ROBOMERGE-SOURCE: CL 20702610 via CL 20702708
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v968-20684695)

[CL 20704652 by frederic doll in ue5-main branch]
2022-06-17 12:14:04 -04:00
Aris Theophanidis
fc29e3dad9 Build fix for 'GetTileIdsFromNavTileRefs': is not a member of 'FNavTileRef'
#jira UE-156146
#rb trivial
#preflight skip
#rnx

[CL 20562200 by Aris Theophanidis in ue5-main branch]
2022-06-08 15:11:29 -04:00
Aris Theophanidis
2e4408b29b [Navmesh] Use FNavTileRef instead if int32 for updated tiles to fix issue where a tile would be reuse from the tile pool while it would still be referenced in the updated tile list (causing unpredictable results).
Also includes improved tile logging.
#rb Mieszko.Zielinski
#jira none
#preflight 62a0c659232daff7b3f10b18

[CL 20558326 by Aris Theophanidis in ue5-main branch]
2022-06-08 12:29:58 -04:00