Commit Graph

83 Commits

Author SHA1 Message Date
arne schober
ad158c7a44 FNEM - Compile fix after merge
#ROBOMERGE-SOURCE: CL 12807437 via CL 12807585
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12807592 by arne schober in Main branch]
2020-04-15 11:31:23 -04:00
arne schober
c875be4fd4 FNEM - Better naming
#RB none

#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 12789290 via CL 12789324 via CL 12789325
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12789326 by arne schober in Main branch]
2020-04-15 01:18:48 -04:00
arne schober
78549560ed FNEM - More cache-friendly and faster Octree implementation.
Also changing the interface for better encapsulation by cutting the origial itterator concept and focusing on small subset of configurable itteration strategies instead.
#RB Andrew.Scheidecker, Yoan.StAmant

#ROBOMERGE-OWNER: arne.schober
#ROBOMERGE-AUTHOR: arne.schober
#ROBOMERGE-SOURCE: CL 12785392 via CL 12785681 via CL 12785682
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12786795 by arne schober in Main branch]
2020-04-14 16:59:52 -04:00
yoan stamant
005d59471e [NavSystemConfigOverride] Moved the config setup from PostLoad to PostRegisterAllComponents/PostUnregisterAllComponents for Editor worlds to cleanup a dependency in the WorldSettings. This solves a problem where a level could not be removed and was causing a Fatal Error. Override will not be applied during cooking to avoid creating navigation system.
#rnx
[at]maxime.mercier

#ROBOMERGE-SOURCE: CL 12779387 via CL 12779392 via CL 12779395
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v681-12776863)

[CL 12782282 by yoan stamant in Main branch]
2020-04-14 13:32:55 -04:00
ori cohen
22879e453d Remove chaos include guard macros
#rb none

#ROBOMERGE-SOURCE: CL 12672568 via CL 12672588 via CL 12672602 via CL 12672607
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12672626 by ori cohen in Main branch]
2020-04-08 10:19:29 -04:00
ori cohen
107f99088a Added lvl1 include guards for chaos
#rb none

#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 12623541 via CL 12624272 via CL 12624321 via CL 12624383
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12624496 by ori cohen in Main branch]
2020-04-06 12:55:19 -04:00
chris caulfield
f40cfae9e5 Chaos - THeightField<T> is now FHeightField
[FYI] benn.gallagher
#rb none
#jira UE-91363

#ROBOMERGE-OWNER: chris.caulfield
#ROBOMERGE-AUTHOR: chris.caulfield
#ROBOMERGE-SOURCE: CL 12512574 via CL 12512650 via CL 12512651 via CL 12512652
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v673-12478461)

[CL 12512654 by chris caulfield in Main branch]
2020-04-01 18:49:41 -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
bart hawthorne
545d0db5ec Build fix
#rb none
[FYI] maxime.mercier

#ROBOMERGE-SOURCE: CL 12474920 via CL 12474939 via CL 12474944 via CL 12474952
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v672-12450963)

[CL 12474966 by bart hawthorne in Main branch]
2020-03-27 17:05:27 -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
yoan stamant
bc4bfcf3cd RecastNavMeshGenerator: optim in MarkDirtyTiles by reducing search size in dirty tiles set and num of copies between containers. For cases with large amount of pending elements (>100000) average timing goes from >5 ms to ~0.6ms.
With this change we now preserve the order of the pending elements (if tile sorting isn't used).

[at]maxime.mercier


#ROBOMERGE-SOURCE: CL 12393557 via CL 12399272
#ROBOMERGE-BOT: (v671-12333473)

[CL 12399450 by yoan stamant in Release-Engine-Staging branch]
2020-03-24 20:14:08 -04:00
maxime mercier
1275d81c2d Fix holes in navmesh when using lazy octree
#rb aris.theophanidis
#rnx


#ROBOMERGE-SOURCE: CL 12308460 via CL 12308477 via CL 12308961 via CL 12310607
#ROBOMERGE-BOT: (v670-12295787)

[CL 12310694 by maxime mercier in Main branch]
2020-03-19 16:25:28 -04:00
maxime mercier
715ffbccad Fix chaos export height field slice version, used when doing lazy octree gather geometry
[at]aris.theophanidis [at]yoan.stamant
#rnx


#ROBOMERGE-SOURCE: CL 12235737 via CL 12235740 via CL 12244074
#ROBOMERGE-BOT: (v667-12241502)

[CL 12244212 by maxime mercier in Main branch]
2020-03-18 09:15:58 -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
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
max whitehead
19b76ff6e1 Remove PhysX module when using Chaos, Guard PhysX code in PHYSICS_INTERFACE_PHYSX so Chaos compiles without it.
Change WITH_PHYSX to always be defined, even with chaos only.
Make Client/Server targets only disable PhysX when Chaos is enabled.
#rb michael.lentine


#ROBOMERGE-OWNER: max.whitehead
#ROBOMERGE-AUTHOR: max.whitehead
#ROBOMERGE-SOURCE: CL 11877480 via CL 11877967 via CL 11878038
#ROBOMERGE-BOT: (v656-11643781)

[CL 11888569 by max whitehead in Main branch]
2020-03-03 17:06:00 -05:00
stephen holmes
9545c6f32c Minor changes to previous CLfor moving tile regen time slice management logic to navigation system as suggested by Aris https://p4-swarm.epicgames.net/reviews/11589014/
#rb Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 11871398 via CL 11871432
#ROBOMERGE-BOT: (v656-11643781)

[CL 11886277 by stephen holmes in Main branch]
2020-03-03 16:27:08 -05:00
peter knepley
3d4258b7c4 Fix recast not working if WITH_PHYSX is false, but WITH_CHAOS is true
#jira
[FYI] Max.Whitehead


#ROBOMERGE-SOURCE: CL 11754539 via CL 11755384 via CL 11755397
#ROBOMERGE-BOT: (v656-11643781)

[CL 11867361 by peter knepley in Main branch]
2020-03-03 10:30:46 -05: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
benn gallagher
af9ab66a83 Exposed IsHole for heightfields and added handling to navigation export for holes.
#ROBOMERGE-SOURCE: CL 11456506 via CL 11456507 via CL 11456508 via CL 11456509
#ROBOMERGE-BOT: (v654-11333218)

[CL 11456510 by benn gallagher in Main branch]
2020-02-15 11:21:21 -05:00
aris theophanidis
5a8f8161a6 Experimental navmesh debug tools (first pass)
Allow to display internal debug data at different navmesh generation steps for a selected tile
Ignore height filtering while displaying the navmesh around camera position
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb Mikko.Mononen
#jira UE-86730


#ROBOMERGE-SOURCE: CL 11285125 via CL 11285129 via CL 11285132
#ROBOMERGE-BOT: (v647-11244347)

[CL 11285135 by aris theophanidis in Main branch]
2020-02-06 14:37:16 -05:00