Commit Graph

205 Commits

Author SHA1 Message Date
jonathan bard
85278e1fb3 Visual logger improvements :
* Added sphere visual logs
* Added "wire" variant of various visual logs (box, OO box, cone, cylinder, capsule, sphere)
* Added blueprint versions of most visual logs (box, OO box, cone, cylinder, capsule, sphere, arrow, circle)
* Take into account the log's color's alpha value when drawing visual logs (multiplied by the scene proxy's own alpha), except for text, as is tends to become unreadable
* Fixed oriented box debug renders, which didn't support rotations appropriately (they wouldn't match the wireframe version)
* Fixed cylinder debug renders which were always vertical (!)
* Skip visual logs with empty text in the visual logger window's tooltip

Misc :
* Deprecated the awful overload-based FVisualLogger::GeometryShapeLogf / FVisualLogEntry::AddElement API
#rb Yoan.StAmant
#tests editor

[CL 30047522 by jonathan bard in ue5-main branch]
2023-12-01 13:48:31 -05:00
aris theophanidis
0cbb215c7d [Navmesh] Tile generation debug improvements:
- addition of an options to skip contour simplification and display raw contours;
- addition of text labels to FRecastInternalDebugData;
- addition of indexes and coordinates to contour debug edges, allowing to identify them individually.
#rb mikko.mononen

[CL 29994972 by aris theophanidis in ue5-main branch]
2023-11-29 14:14:09 -05:00
aris theophanidis
4e60ce6adb Rollback recently added ensures, they get triggered by preexisting conditions that needs investigation.
#rb Yoan.StAmant

[CL 29753951 by aris theophanidis in ue5-main branch]
2023-11-15 13:59:05 -05:00
aris theophanidis
877551e4d3 Navmesh resolution from modifiers is now correctly read when used with in async tile generation combined with lazy modifier gathering.
#rb Yoan.StAmant
#tests Tested in PIE and cook

[CL 29752057 by aris theophanidis in ue5-main branch]
2023-11-15 13:10:16 -05:00
aris theophanidis
dccd3d541d CIS fix
#rb trivial

[CL 29255245 by aris theophanidis in ue5-main branch]
2023-10-30 18:35:25 -04:00
aris theophanidis
84e7e976c1 [Navigation] Optimization to RemoveTiles and addition of profile tags to UpdateActiveTiles()
#rb Yoan.StAmant

[CL 29252623 by aris theophanidis in ue5-main branch]
2023-10-30 17:51:48 -04:00
aris theophanidis
b9841144b8 [Navigation] Using VeryVerbose verbosity, LogNavigationDirtyArea now logs purple boxes showing dirty areas that will dirty tiles.
#rb Yoan.StAmant

[CL 29151709 by aris theophanidis in ue5-main branch]
2023-10-26 17:40:07 -04:00
ryan gerleve
b4d090d05d Improve memory debugging with additional LLM tags.
#rb Aris.Theophanidis, jonathan.bard, julien.lheureux, matt.harris

[CL 29102830 by ryan gerleve in ue5-main branch]
2023-10-25 17:03:12 -04:00
aris theophanidis
3d14457d2e [Navmesh] Addition of a MaxVerticalMergeError and a SimplificationElevationRatio to ARecastNavMesh to allow navmesh to adapt more precisely to vertical collision variances.
Fix navmesh sinking too far below surfaces causing navigation issues.
#rb Mikko.Mononen

[CL 29018856 by aris theophanidis in ue5-main branch]
2023-10-23 11:53:06 -04:00
aris theophanidis
44491348be Fix navmesh being generated a locations too steep and above the step height threshold.
Addition of LedgeFilterMode on RecastNavMesh to select the desired ledge slope filter mode.
Addition of a new filter mode that takes into acount the maximum walkable slope when filtering voxels.
#rb Robert.Seiver
#rb Frederic.Doll

[CL 28514590 by aris theophanidis in ue5-main branch]
2023-10-05 16:19:31 -04:00
stephen holmes
ff47299444 Follow up to [at]27912040 . Designed to help track down issues that are being caused by invalid bounds being passed in to FRcTileBox.
[REVIEW]

[CL 27965574 by stephen holmes in ue5-main branch]
2023-09-18 13:37:01 -04:00
yoan stamant
9d4992961c [Navigation] Added bounds to NavCollision since geometry can differ from StaticMesh
- Bumped the DDC version of the NavCollision
- Updated StaticMeshComponent to return bounds from the NavCollision when possible
- Fixed InstancedStaticMeshComponent not using the additional geometry of the NavCollision when exporting the custom navigable geomerty
- Updated InstancedStaticMeshComponent to compute bounds using the NavCollision for GetNavigationBounds, PartialNavigationUpdate and when gathering per instance transforms for navigation
- Updated UHierarchicalInstancedStaticMeshComponent to use bounds from the NavCollision for PartialNavigationUpdate
#jira UE-186525
#rb aris.theophanidis

[CL 27753562 by yoan stamant in ue5-main branch]
2023-09-11 10:47:11 -04:00
aris theophanidis
2992b8d39c Fix usage of SHOW_NAV_EXPORT_PREVIEW define.
#rb Yoan.StAmant

[CL 27457956 by aris theophanidis in ue5-main branch]
2023-08-29 14:35:11 -04:00
aris theophanidis
a4ed8604ca Improve FRecastNavMeshGenerator::MarkDirtyTiles speed by prefiltering dirty area bounds using the bounds of invokers seeds.
Also added some profile tags in MarkDirtyTiles.
#rb Yoan.StAmant

[CL 27049453 by aris theophanidis in ue5-main branch]
2023-08-11 18:04:18 -04:00
aris theophanidis
dfa8f060e7 Fixed navmesh dirty area logs to display bound sizes as indicated and Improved log readability.
#rb Yoan.StAmant

[CL 27002262 by aris theophanidis in ue5-main branch]
2023-08-10 14:41:17 -04:00
yoan stamant
b6f974cc30 [NavigationSystem] replaced requirement of PrimitiveComponent by INavRelevantInterface + UObject.
Added dedicated delegates for UObject based registration and update.
#rb maxime.mercier
#rb aris.theophanidis
#jira UE-186525

[CL 26981216 by yoan stamant in ue5-main branch]
2023-08-09 20:35:21 -04:00
Brice Criswell
8b12100fca Fix no-Recast builds [Github Pull Request: 9579]
#jira UE-164492
#rb Maxime.Mercier, Aris.Theophanidis

[CL 26783940 by Brice Criswell in ue5-main branch]
2023-08-02 15:20:28 -04:00
michael forot
6e4094da3e Chaos implicit object ref counted ptr + union simple shapes (WIP)
#rb chris.caulfield

[CL 26722951 by michael forot in ue5-main branch]
2023-07-31 17:46:47 -04:00
aris theophanidis
4501f70a0d [Navmesh] Validating AgentMaxStepHeight in relation to AgentMaxSlope and CellSize
#rb Mikko.Mononen
#rb Mieszko.Zielinski

[CL 26408076 by aris theophanidis in ue5-main branch]
2023-07-17 11:16:57 -04:00
james keeling
0eac10ee3f [Navmesh] Cancel async building tasks when navmesh generator is destroyed to prevent leaking any build tasks.
#jira UE-189969
#rb mieszko.zielinski

[CL 26347050 by james keeling in ue5-main branch]
2023-06-30 12:39:09 -04:00
aris theophanidis
2d7a4adee9 [Navmesh] Fix voxel filtering issue when using high AgentMaxSlope values in combination with high CellSize values.
#rb Mieszko.Zielinski

[CL 26263218 by aris theophanidis in ue5-main branch]
2023-06-27 13:37:19 -04:00
aris theophanidis
ccff6bbade [Navmesh] Addition of tile generation history and stats when LogNavigationHistory is set to Log.
#rb Mieszko.Zielinski

[CL 26012395 by aris theophanidis in ue5-main branch]
2023-06-15 09:37:15 -04:00
aris theophanidis
25ec0fe467 [Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Changed rcCompactSpan to use rcSpanUInt for y
#jira UE-170917
#rb Mikko.Mononen
#preflight 6479f9d8e83bf655eec1bf78

[CL 25762526 by aris theophanidis in ue5-main branch]
2023-06-02 11:24:51 -04:00
edwin maynard
ad7dff1c8b [Backout] - CL25685905 (backed out due to cis issues)
[FYI] Aris.Theophanidis
Original CL Desc
-----------------------------------------------------------------
[Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Removed unused hmin and hmax from dtTileCacheLayerHeader.
Increased navmesh version to 27.
#jira UE-170917
#rb Mikko.Mononen
#preflight 64764387d8097b4382ebda24

[CL 25690551 by edwin maynard in ue5-main branch]
2023-05-30 17:37:39 -04:00
aris theophanidis
44f7f8b892 [Navmesh] Increase the height where the navmesh can generate (now using 29 bits instead of 15, allowing 26000 km of altitude when using 5 cm CellHeight).
Removed unused hmin and hmax from dtTileCacheLayerHeader.
Increased navmesh version to 27.
#jira UE-170917
#rb Mikko.Mononen
#preflight 64764387d8097b4382ebda24

[CL 25685952 by aris theophanidis in ue5-main branch]
2023-05-30 15:51:51 -04:00