Commit Graph

174 Commits

Author SHA1 Message Date
aris theophanidis
bd0e95100b Build fix for 'Resolution': unknown override specifier
#rb trivial
#rnx
#preflight skip

[CL 25018888 by aris theophanidis in ue5-main branch]
2023-04-12 19:26:46 -04:00
aris theophanidis
566bd24ce3 Addition of AgentMaxStepHeight into FNavMeshResolutionParam
#rb Yoan.StAmant
#preflight 6436d6740c19befb6c93d674

[CL 25018392 by aris theophanidis in ue5-main branch]
2023-04-12 19:07:51 -04:00
aris theophanidis
bdfd5ba63e Integrate CL 23032335 from UE5Main
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
#rb Mieszko.Zielinski
#preflight 636a92b7dc30a4ce96a8b738

[CL 24884451 by aris theophanidis in ue5-main branch]
2023-04-01 02:37:52 -04:00
aris theophanidis
4741e55aaa Fix navmesh resolution issue when using LazyModifiersGathering by reading the resolution after GatherNavigationDataGeometry.
Addition of logs when preparing and gathering geometry.
#rb Yoan.StAmant
#preflight 641db57ec42c7fd1cbb8f632

[CL 24783336 by aris theophanidis in ue5-main branch]
2023-03-24 14:04:43 -04:00
aris theophanidis
8609b7ea39 [Navmesh] CSV profiler: addition of task count and task wait time per layer
#rb Yoan.StAmant
#preflight 6410acfc290c6e5d7707ffa1

[CL 24643683 by aris theophanidis in ue5-main branch]
2023-03-14 16:39:38 -04:00
charles bloom
0a198a3d1f OodleDataCompression parallel encode and decode helpers
can be swapped in with existing OodleDataCompression calls
does not add any extra header

#preflight https://horde.devtools.epicgames.com/job/640b9be070639dfc94013653
#rb fabian.giesen

[CL 24601830 by charles bloom in ue5-main branch]
2023-03-10 20:20:03 -05:00
aris theophanidis
4d9d09c57e Fix crash when there is no navigation system.
#rb Mieszko.Zielinski
#preflight 6408b44d6c1b9295b9ab8084

[CL 24564492 by aris theophanidis in ue5-main branch]
2023-03-08 14:27:09 -05:00
aris theophanidis
19011a7a6c Fix memory corruption from FRecastTileGenerator::MarkDynamicAreas
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#preflight 63f7a96e9009dd70d73fe364

[CL 24387981 by aris theophanidis in ue5-main branch]
2023-02-23 15:27:49 -05:00
Aris Theophanidis
0549a6511d Rename navigation console commands prefix from n to ai.nav
#rn The prefix for AI navigation console commands has been changed from n to ai.nav.
#jira none
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#preflight 63dd110f2d4aef3dd1a89b6a

[CL 23989571 by Aris Theophanidis in ue5-main branch]
2023-02-03 09:06:53 -05:00
Aris Theophanidis
aca23ff8a0 [Navmesh] Fix crash occurring when NavigationRelevantData array is being modified during GC (when FRecastTileGenerator::AddReferencedObjects is called)
The change moves emptying NavigationRelevantData to the main thread so that it does not occur at any moment.
#jira none
#rb Maxime.Mercier
#rb Mieszko.Zielinski
#preflight 63d92768f626715201d8034c

[CL 23926631 by Aris Theophanidis in ue5-main branch]
2023-01-31 09:51:22 -05:00
frederic doll
44f31f2927 Remove Recast steep slope filtering when the agent radius is only 1 voxel
#rb aris.theophanidis, mieszko.zielinski
#preflight 63d2c25fd21dbe1d29b14627

[CL 23888570 by frederic doll in ue5-main branch]
2023-01-27 14:20:41 -05:00
Aris Theophanidis
e3b3e57159 [Navmesh] Support navmesh resolution when doing async navdata gathering.
#jira none
#rb Yoan.StAmant
#preflight 63d28059574ab9cae4295d47

[CL 23866612 by Aris Theophanidis in ue5-main branch]
2023-01-26 08:37:17 -05:00
frederic doll
684e951c95 Expose option to display Solid and Walkable heightfield in navmesh generation
#preflight 63caff0b8421864a9ca91fa8
#rb aris.theophanidis

[CL 23815894 by frederic doll in ue5-main branch]
2023-01-23 12:49:07 -05:00
frederic doll
4c4ac0557b Add more info about geometry gathering in RecastNavMeshGenerator
#rb aris.theophanidis
#preflight 63c815f9b0652247509d167b

[CL 23761060 by frederic doll in ue5-main branch]
2023-01-18 14:08:52 -05:00
Aris Theophanidis
45994379a5 [Navmesh] Addition of CellHeight in FNavMeshResolutionParam
#jira none
#rb Mieszko.Zielinski
#preflight 63c8054102024f93d8c56415

[CL 23755472 by Aris Theophanidis in ue5-main branch]
2023-01-18 09:53:42 -05:00
jeanmichel dignard
8d07a7338f Exec commands changes:
- Port some development only exec commands to Exec_Dev.

#rb none
#preflight 63c5c97f02024f93d822d678

[CL 23734254 by jeanmichel dignard in ue5-main branch]
2023-01-16 19:28:53 -05:00
Stephen Holmes
fb04b63f62 Ensure that no reload is needed for NavArea Registration to take effect
#Jira UE-113659
#preflight 63c1144a1a06fc6105bcd9e0
#review-23662782

[CL 23675153 by Stephen Holmes in ue5-main branch]
2023-01-13 03:31:19 -05:00
Aris Theophanidis
ebb04f691c Change navigation geometry export warning to be based on triangle count and avoid repeating the warning.
#jira none
#rb Mieszko.Zielinski
#preflight 63c02e9e9b13f8369bfd4222

[CL 23664010 by Aris Theophanidis in ue5-main branch]
2023-01-12 11:13:02 -05:00
Aris Theophanidis
c8bfa7a2c7 Fix navigation bounds not being updated on load when "Update Navigation Automatically" is disabled.
This fixes world partitioned navmesh data chunks not being generated for areas covered by NavMeshBoundsVolume that are placed inside data layers.
#jira UE-172683
#rb Yoan.StAmant
#rb Mieszko.Zielinski
#preflight 63bee2676729b05ec9541300

[CL 23646407 by Aris Theophanidis in ue5-main branch]
2023-01-11 11:32:53 -05:00
Aris Theophanidis
03a838da84 First pass at allowing a mix of low, default and high resolution tiles on the navmesh.
CellSize is now deprecated and CellSizes for the various resolutions are stored in the NavMeshResolutionParams array of ARecastNavMesh.
Added NavMeshResolution property to ANavModifierVolume.
Remove duplicated data in dtNavMesh (m_walkableHeight, etc. already in dtNavMeshParams).
Addition of a resolution index to dtMeshHeader.
Increase navmesh version for addition of tile resolutions.
#jira none
#rb Mieszko.Zielinski
#preflight 639106341776b8c21c370f73

[CL 23434938 by Aris Theophanidis in ue5-main branch]
2022-12-07 16:42:43 -05:00
Stephen Holmes
2f18773caa Addressing the remaining AI numeric conversion issues.
#jira UE-166285
#review
#preflight 638a031b35192facc1c0fd77

[CL 23372606 by Stephen Holmes in ue5-main branch]
2022-12-02 10:07:29 -05:00
frederic doll
25437b9cdc Recast debug improvement :
- add way to generate only the debug tile
- add way to visualize the geometry received for navmesh generation

#rb aris.theophanidis
#preflight 63876314766a2aeed27a9fc7

[CL 23333278 by frederic doll in ue5-main branch]
2022-11-30 12:06:44 -05:00
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