Commit Graph

604 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
frederic doll
e5ec641dc9 Add a way to register a Navigation Invoker based on UObject with a INavigationInvokerInterface instead of an AActor.
#rb Aris.Theophanidis

[CL 29887626 by frederic doll in ue5-main branch]
2023-11-22 09:29:32 -05:00
marc audy
763a611985 Fix C4072 warnings
#rnx

[CL 29852844 by marc audy in ue5-main branch]
2023-11-20 17:26:53 -05:00
aris theophanidis
22020b2574 [Navigation] Prevent addition of objects with empty bounds to the navigation octree.
#rb Yoan.StAmant

[CL 29754038 by aris theophanidis in ue5-main branch]
2023-11-15 14:00:55 -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
yoan stamant
dd97a4653c NavTestRenderingComponent defines cleanup
#rb Aris.Theophanidis

[CL 29746255 by yoan stamant in ue5-main branch]
2023-11-15 10:24:28 -05:00
aris theophanidis
50aed692b7 [Navmesh] Apply AgentStepHeight from FNavDataConfig only if there is an override (restoring behavior before change in CL 29416144).
#rb Yoan.StAmant

[CL 29496731 by aris theophanidis in ue5-main branch]
2023-11-06 14:58:42 -05:00
aris theophanidis
b804c74a54 Addition of NavigationBuildDetailed CSV profile tags in the NavigationSystem tick.
#rb Yoan.StAmant

[CL 29496678 by aris theophanidis in ue5-main branch]
2023-11-06 14:57:31 -05:00
aris theophanidis
cf4bc8f18e [Navmesh] Fix AgentStepHeight not set in NavDataConfig
#rb Mikko.Mononen
#rb Yoan.StAmant

[CL 29426642 by aris theophanidis in ue5-main branch]
2023-11-03 18:32:05 -04: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
yoan stamant
7a102e17b3 [Navigation]
- Added flag in FNavigationRelevantData to indicates elements that want to skip dirty areas when added/removed from the NavigationOctree.
- Method ShouldSkipDirtyAreaOnAddOrRemove has been added to INavRelevantInterface to control the flag.
- UpdateNavOctreeElementBounds now takes a list of dirty areas instead of a single area to allow batched modifications.

UInstancedStaticMeshComponent updates:
- Added a cache for navigation bounds
- Implements ShouldSkipDirtyAreaOnAddOrRemove so we don't dirty the whole area covered by the instances on registration but only a list of explicit areas using the instances.
- Added PartialNavigationUpdates for batched modifications
- Fixed partial update not sending the right area for the original position
#rb aris.theophanidis
#rb mikko.mononen
#rb mieszko.zielinski
#jira UE-195210#preflight 653bd451cc4d2d32203134e5

[CL 29185555 by yoan stamant in ue5-main branch]
2023-10-27 12:18:00 -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
14c8876b52 [Navigation] When updating invokers, use 3D invoker seed locations to compare against the maximum seed distance.
Update InvokersSeedBounds with the vertical limits as well.
#rb Mikko.Mononen

[CL 29067434 by aris theophanidis in ue5-main branch]
2023-10-25 00:57:52 -04:00
aris theophanidis
c4aa198bfe [Navmesh] Fix navmesh not updating below 0 when using invoker's seeds
#rb Julien.Marchand

[CL 29036377 by aris theophanidis in ue5-main branch]
2023-10-24 03:45:00 -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
9e77aefb3d Fix CIS: Non-void function should return a value.
#rb trivial

[CL 28948446 by aris theophanidis in ue5-main branch]
2023-10-19 21:20:04 -04:00
yoan stamant
6f83a84ba3 [StaticMeshComponent] No longer relevant to navigation until compilation of the associated mesh is completed. This approach replaces the previous one consisting in returning either the render bounds or invalid bounds which could produce log spam when loading level and compiling multiple meshes.
#jira UE-195584
#rb maxime.mercier

[CL 28840290 by yoan stamant in ue5-main branch]
2023-10-17 11:24:47 -04:00
nicolas bonnelly
3b57ef47c7 Added extra logs when Navigation DirtyAreas are being reset.
[REVIEW] [at]Aris.Theophanidis

[CL 28756802 by nicolas bonnelly in ue5-main branch]
2023-10-13 12:23:19 -04:00
aris theophanidis
21338c8d1d Fix "Looking for NavData using invalid FNavAgentProperties." warning spam.
#rb Yoan.StAmant

[CL 28554625 by aris theophanidis in ue5-main branch]
2023-10-06 15:59:20 -04:00
yoan stamant
98671ebf2b Fixed uninitialized property warning by removing obsolete property
#rnx
#jira UE-197318
#rb aris.theophanidis

[CL 28541397 by yoan stamant in ue5-main branch]
2023-10-06 11:16:57 -04:00
yoan stamant
f7f736dc10 [NavModifierVolume] Modifier volume actors getting their position updated via their parent Instanced Level Actor in the Editor now update their navigation data.
#jira UE-197023
#rb mieszko.zielinski

[CL 28536935 by yoan stamant in ue5-main branch]
2023-10-06 08:38:54 -04:00