Commit Graph

59 Commits

Author SHA1 Message Date
Marc Audy
bc88b73a29 Merge Release-Engine-Staging to Main @ CL# 15151250
Represents UE4/Main @ 15133763

[CL 15158774 by Marc Audy in ue5-main branch]
2021-01-21 16:22:06 -04:00
Mieszko Zielinski
648a30c0e5 Relaxed radius condition in RecastNavMesh::GetRandomReachablePointInRadius so that 'radius == 0' can produce a relevant result.
#review-14887392 @Aris.Theophanidis, @Mikko.Mononen, @Yoan.StAmant

[CL 14896861 by Mieszko Zielinski in ue5-main branch]
2020-12-10 04:58:28 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Aris Theophanidis
761fe05bad [Navigation WP] Properly using the vertical bounds of the collected tiles as the NavigationDataChunkActor bounds
#review @Yoan.StAmant
#rb Yoan.StAmant
#fyi Richard.Malo, JeanFrancois.Dube
#jira none

[CL 14641645 by Aris Theophanidis in ue5-main branch]
2020-11-03 10:20:13 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Aris Theophanidis
a21499c9a0 [Navigation WP] First pass to generate per cell navigation data and allow navmesh streaming using world partitioning
Addition of ANavigationDataChunkActor, external actors used to hold navdata chunks
Addition of UWorldPartitionBuildNavigationDataCommandlet, commandlet to generate world partition navigation data
At the moment steps to generate a partitioned world with navmesh per cell are:
1) convert world to WP (WorldPartitionConvertCommandlet)
2) generate navigation data chunk actors (WorldPartitionBuildNavigationDataCommandlet)
3) pre cook (WorldPartitionPreCookCommandlet)
4) cook
#review @Yoan.StAmant
#rb Yoan.StAmant

[CL 14396364 by Aris Theophanidis in ue5-main branch]
2020-09-25 11:19:08 -04:00
Arciel Rekman
3107db8c5f Remove unused fields - AI
#rb Mieszko.Zielinski, Mikko.Mononen
#review-14242486 @Mieszko.Zielinski
#jira none

[CL 14244678 by Arciel Rekman in ue5-main branch]
2020-09-02 10:46:19 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
guillaume guay
5005c5b2c3 Adding FindMoveAlongSurface to find a nearby position on navmesh relative to another (faster than doing nav raycast)
[REVIEW] [at]maxime.mercier, [at]mikko.mononen
#rnx

#ROBOMERGE-SOURCE: CL 13114611 via CL 13114615 via CL 13114624 via CL 13114631
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13114637 by guillaume guay in Main branch]
2020-04-30 09:48:28 -04:00
aris theophanidis
c72074af71 RecastNavMesh -> Remove deprecated AgentMaxHeight
[REVIEW] [at]Yoan.StAmant
#rb Yoan.StAmant
#jira UE-92637
#rnx

#ROBOMERGE-SOURCE: CL 13114548 via CL 13114550 via CL 13114552 via CL 13114556
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v686-13045012)

[CL 13114559 by aris theophanidis in Main branch]
2020-04-30 09:37:54 -04:00
maxime mercier
50843beca6 Support lazy gathering on child of octree nodes
[at]yoan.stamant [at]stephen.holmes
#rnx

#ROBOMERGE-SOURCE: CL 12486785 via CL 12486790 via CL 12486791 via CL 12486793
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12487596 by maxime mercier in Main branch]
2020-03-30 12:13:52 -04:00
maxime mercier
b41adb0f6f Remove duplicated code and implemented the timesliced version of the geometry gathering
[at]yoan.stamant [at]stephen.holmes
#rnx

#ROBOMERGE-SOURCE: CL 12473663 via CL 12473676 via CL 12473690 via CL 12473707
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12473730 by maxime mercier in Main branch]
2020-03-27 15:16:33 -04:00
mikko mononen
7ae32ffba5 Fixed holes in NavMesh caused by single voxel areas near area boundary.
- implemented median filter which is applied after areas are marked for tile cache
- implemented debug draw functionality for tile cache build steps
- fixed DetourDebugDraw.h API export

#jira UE-90332
#rb Aris.Theophanidis Yoan.StAmant Mieszko.Zielinski


#ROBOMERGE-SOURCE: CL 12401446 via CL 12401447
#ROBOMERGE-BOT: (v671-12333473)

[CL 12402286 by mikko mononen in Release-Engine-Staging branch]
2020-03-25 08:22:04 -04:00
stephen holmes
647e7b9a39 Fix for XBox compiler only warning in deprecating IsBuildInProgress()
Runtime\NavigationSystem\Public\NavMesh/RecastNavMeshGenerator.h(612): warning C4996: 'FNavDataGenerator::IsBuildInProgress': This function is deprecated. Please use IsBuildInProgressCheckDirty Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.
  Runtime\Engine\Public\AI/NavDataGenerator.h(36): note: see declaration of 'FNavDataGenerator::IsBuildInProgress'

[at]Yoan.StAmant


#ROBOMERGE-SOURCE: CL 12193107 via CL 12197076
#ROBOMERGE-BOT: (v662-12191386)

[CL 12197627 by stephen holmes in Main branch]
2020-03-16 09:22:57 -04:00
bob tellez
5bc7d054c2 #UE4 Disable deprecation temporarily
[FYI] Stephen.Holmes


#ROBOMERGE-SOURCE: CL 12146946 via CL 12149229
#ROBOMERGE-BOT: (v659-12123632)

[CL 12149308 by bob tellez in Main branch]
2020-03-12 13:25:26 -04:00
stephen holmes
d46374bce0 Work to Deprecate IsNavigationBuildInProgress(bool) and IsBuildInProgress(bool). These functions behave inconsistently between different navmesh build types and were causing issues. Not only that but their default params were set opposite ways (true / false).
[at]Yoan.StAmant [at]Mieszko.Zielinski [at]Maxime.Mercier [at]David.Hamm


#ROBOMERGE-SOURCE: CL 12126550 via CL 12132795
#ROBOMERGE-BOT: (v659-12123632)

[CL 12132919 by stephen holmes in Main branch]
2020-03-11 13:01:04 -04:00
aris theophanidis
fff13a7e88 Resubmit 11644253 with missing include for non-unity build
Adding bMaskFillCollisionUnderneathForNavmesh option on NavModifierVolume to go along bFillCollisionUnderneathForNavmesh.
This allows navvolumes to mark a 2D areas to be ignored by the fill under feature.
[at]Mieszko.Zielinski [at]Mikko.Mononen
#jira UE-86726


#ROBOMERGE-SOURCE: CL 11650044 via CL 11650049 via CL 11650055
#ROBOMERGE-BOT: (v656-11643781)

[CL 11861821 by aris theophanidis in Main branch]
2020-03-03 08:48:03 -05:00
brandon grable
c16fec26e8 Back out changelist 11644253
[FYI] Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11645547 via CL 11645548 via CL 11645552
#ROBOMERGE-BOT: (v656-11643781)

[CL 11837531 by brandon grable in Main branch]
2020-03-02 13:50:21 -05:00
aris theophanidis
66f8eeaf19 Addition bMaskFillCollisionUnderneathForNavmesh option on NavModifierVolume to go along bFillCollisionUnderneathForNavmesh.
This allows navvolumes to mark a 2D areas to be ignored by the fill under feature.
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#jira UE-86726


#ROBOMERGE-SOURCE: CL 11644253 via CL 11644264 via CL 11644271
#ROBOMERGE-BOT: (v656-11643781)

[CL 11836158 by aris theophanidis in Main branch]
2020-03-02 13:42:26 -05:00
stephen holmes
a924f5faa1 Work to properly account for time slicing accross multiple generators. The time slicing is now calculated in the navigation system.
The general idea here is to tick any non time sliced generators once per frame. Time sliced generators we aim to tick one per frame and move to the next, next frame.

In the case where one time sliced generator doesn't use the whole time slice we move to the next time sliced generator. That generator will only be considered to have a full frames processing if either it runs out of work or uses a large % of the time slice. Depending we either tick it again next frame or go to the next time sliced generator (next frame).

[at]Yoan.StAmant Aris [at]Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11628387 via CL 11628394
#ROBOMERGE-BOT: (v656-11643781)

[CL 11805238 by stephen holmes in Main branch]
2020-03-01 01:40:04 -05:00
aris theophanidis
cd992be6ec Fix NaN when using FBox by using HALF_WORLD_MAX instead of BIG_NUMBER
[REVIEW] [at]Maxime.Mercier [at]Yoan.StAmant


#ROBOMERGE-SOURCE: CL 11544220 via CL 11544359 via CL 11544387 via CL 11544467
#ROBOMERGE-BOT: (v654-11333218)

[CL 11544570 by aris theophanidis in Main branch]
2020-02-19 12:55:00 -05:00
aris theophanidis
987038e0f4 Fix NaN in GetPolysInBox()
[REVIEW] [at]Maxime.Mercier
#rb Maxime.Mercier


#ROBOMERGE-SOURCE: CL 11432182 via CL 11432185 via CL 11432190 via CL 11432196
#ROBOMERGE-BOT: (v654-11333218)

[CL 11432197 by aris theophanidis in Main branch]
2020-02-13 20:29:49 -05:00
Rolando Caloca
5b82f15def Copying //UE4/Dev-RenderPlat-Staging@11388153 to //UE4/Main
#rb none
#rnx

[CL 11388545 by Rolando Caloca in Main branch]
2020-02-12 13:27:19 -05:00