Commit Graph

60 Commits

Author SHA1 Message Date
Michael Lentine
6bc8446142 Update Chaos in 4.25 to fix a number of collision and character movement issues.
#rb none
#jira nojira

[CL 11670007 by Michael Lentine in 4.25 branch]
2020-02-27 12:57:57 -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
benn gallagher
8234d58c28 Fixed nav ensure firing and failing builds when convexes don't generate index buffers.
#rb Michael.Lentine
#jira


#ROBOMERGE-SOURCE: CL 11208656 via CL 11208663 via CL 11208667 via CL 11208669
#ROBOMERGE-BOT: (v643-11205221)

[CL 11208671 by benn gallagher in Main branch]
2020-02-03 14:45:07 -05:00
maxime mercier
f89827d991 Fix leak in new timesliced navmesh generator code
[REVIEW] [at]yoan.stamant [at]aris.theophanidis
#rnx


#ROBOMERGE-SOURCE: CL 10998883 via CL 10998902 via CL 10998911 via CL 10998922 via CL 10998931 via CL 10998951
#ROBOMERGE-BOT: (v633-10983880)

[CL 10998963 by maxime mercier in Main branch]
2020-01-15 18:47:46 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
aris theophanidis
524011bcae Addition of an ensure that the index data is a multiple of 3 in ExportChaosConvexMesh()
[at]Maxime.Mercier


#ROBOMERGE-SOURCE: CL 10824144 via CL 10824163 via CL 10824169
#ROBOMERGE-BOT: (v610-10636431)

[CL 10824175 by aris theophanidis in Main branch]
2019-12-19 15:15:48 -05:00
aris theophanidis
29f19a3a5f Fix Chaos convex mesh indices winding to have triangle normals pointing outward (for the nav collision)
Rotate navcollision DDC GUI
This fixes "Can't generate Navmesh in 4.25 builds"
Also fixes the lakes and river not generating water navmesh on their surface
[at]Maxime.Mercier [at]Max.Whitehead
#jira UE-85930


#ROBOMERGE-SOURCE: CL 10811022 via CL 10811028 via CL 10811032
#ROBOMERGE-BOT: (v610-10636431)

[CL 10811033 by aris theophanidis in Main branch]
2019-12-19 11:18:39 -05:00
ori cohen
d394ffe4ff Chaos trimeshes can use small indices (saves 10% trimesh memory)
#rb none


#ROBOMERGE-OWNER: ori.cohen
#ROBOMERGE-AUTHOR: ori.cohen
#ROBOMERGE-SOURCE: CL 10738449 via CL 10739522 via CL 10740041 via CL 10740268 via CL 10740274
#ROBOMERGE-BOT: (v610-10636431)

[CL 10740280 by ori cohen in Main branch]
2019-12-16 14:44:14 -05:00
max whitehead
58bdd5afc1 Chaos - Move Convex index computation to helper function, compute indices on set convex.
Ensure in navmesh export that convex have indices.
[FYI] benn.gallagher


#ROBOMERGE-SOURCE: CL 10735892 via CL 10735994 via CL 10736035 via CL 10736066 via CL 10736113
#ROBOMERGE-BOT: (v610-10636431)

[CL 10736170 by max whitehead in Main branch]
2019-12-16 11:20:34 -05:00
max whitehead
3f4628cfd6 Chaos - Add NavMesh Physics Export Support for Convex and Trimesh
[FYI] benn.gallagher


#ROBOMERGE-SOURCE: CL 10701406 via CL 10701419 via CL 10701422
#ROBOMERGE-BOT: (v610-10636431)

[CL 10701424 by max whitehead in Main branch]
2019-12-12 23:29:29 -05:00
benn gallagher
d40c3ae790 Implemented navigation data export for Chaos heightfields
#jira
#rb none


#ROBOMERGE-SOURCE: CL 10669537 via CL 10669541 via CL 10669544
#ROBOMERGE-BOT: (v609-10634694)

[CL 10669545 by benn gallagher in Main branch]
2019-12-12 05:47:53 -05:00
yoan stamant
4280009b15 NavigationGeomExec: command ExportNavigation now exports all navigation data, not only the default one.
#rnx
[at]aris.theophanidis
#rb aris.theophanidis


#ROBOMERGE-SOURCE: CL 10636016 via CL 10636025
#ROBOMERGE-BOT: (v609-10634694)

[CL 10636029 by yoan stamant in Main branch]
2019-12-10 10:43:46 -05:00
Aris Theophanidis
4ac62e9205 Build fix for IOS Client
#review-10623042 @Steve.Robb
#rb Steve.Robb
#jira FORT-242650

[CL 10624679 by Aris Theophanidis in Main branch]
2019-12-09 16:59:54 -05:00
stephen holmes
431237518f Work to make the navigation mesh timeslice adaptive for better handling of both large and small numbers of queued tiles. This is based on the moving window average tile regen time, the moving window average delta time, and a real world time we'd ideally like to get all the tiles in the queue regened by clamped to a min and max frame time slice time.
I've also removed the notion of a max amount of tiles to regen per frame for the timesliced tile regen.


#rb Mikko.Mononen Aris.Theophanidis



#ROBOMERGE-SOURCE: CL 10516404 via CL 10516407 via CL 10516413
#ROBOMERGE-BOT: (v606-10482310)

[CL 10516418 by stephen holmes in Main branch]
2019-12-05 08:42:30 -05:00
aris theophanidis
66cf6d76c0 Navmesh -> renaming bRejectNavmeshUnderneath to bFillCollisionUnderneathForNavmesh and derivatives
Fix update issue with the flag
[at]Maxime.Mercier
#rb Maxime.Mercier
#jira UE-82571


#ROBOMERGE-OWNER: aris.theophanidis
#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 10479011 via CL 10479031
#ROBOMERGE-BOT: (v605-10478255)

[CL 10479035 by aris theophanidis in Main branch]
2019-11-28 16:11:39 -05:00
aris theophanidis
59373735c5 Preventing navmesh generation under specified geometry
Addition property bRejectNavmeshUnderneath on PrimitiveComponent
The flag gets set in the FCompositeNavModifier and is read when rasterizing the geometry
When set, the triangles are rasterize as solid columns going to the min level of the solid heightfield preventing navmesh generation under them
[REVIEW] [at]Mieszko.Zielinski [at]Mikko.Mononen
#rb [at]Mikko.Mononen
#jira UE-82571


#ROBOMERGE-OWNER: aris.theophanidis
#ROBOMERGE-AUTHOR: aris.theophanidis
#ROBOMERGE-SOURCE: CL 10335671 via CL 10335674
#ROBOMERGE-BOT: (v594-10333955)

[CL 10353890 by aris theophanidis in Main branch]
2019-11-21 14:46:27 -05:00
stephen holmes
17b247d433 Added a few perfromance stats to the navigation mesh regen code.
#ROBOMERGE-SOURCE: CL 10308613 via CL 10308622
#ROBOMERGE-BOT: (v593-10286020)

[CL 10308626 by stephen holmes in Main branch]
2019-11-19 11:38:03 -05:00
stephen holmes
6fe766c421 Work to Timeslice the Nav Tile Regen.
I've left the Sync code path as seperate to the Sync Time Sliced one, as its atleast 10% faster (but much spikier). Its also good way of easily verifying if the Time Sliced Code is correct.

I've let medium level functions have access to the timeslicer as they are often expensive enough to warrent it and many times we are time slicing within loops of these functions.

Some fucntions don't need timeslicing within them selves and can be timesliced from the outside and used on both code paths. Currently no functions are called from the non time slicing code that return a FTimeSliceWorkResultData type.

I've increaced the time slice regen times a bit to account for the fact we'll be going over the time slice limit less often now.

[at]Maxime.Mercier, [at]Mikko.Mononen, [at]Yoan.StAmant, [at]Aris.Theophanidis


#ROBOMERGE-SOURCE: CL 10303494 via CL 10303495
#ROBOMERGE-BOT: (v593-10286020)

[CL 10303496 by stephen holmes in Main branch]
2019-11-19 04:40:52 -05:00
christopher moritz
7e682e305c -Adding prioritization to nav mesh tile building and a virtual function for getting the locations to prioritize.
[REVIEW] [at]Yoan.StAmant, [at]Josh.May, [at]Cory.Kolek, [at]Mieszko.Zielinski, [at]Stephen.Holmes,


#ROBOMERGE-SOURCE: CL 10109526 via CL 10109556 via CL 10109564 via CL 10109576
#ROBOMERGE-BOT: (v586-10095595)

[CL 10109581 by christopher moritz in Main branch]
2019-11-11 21:57:05 -05:00
steve robb
14cab21e0c Deprecating ARRAY_COUNT and changing it to UE_ARRAY_COUNT.
Replicated from CL# 7924370.

#rb none


#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 9279060 via CL 9279063
#ROBOMERGE-BOT: (v443-9013191)

[CL 9279836 by steve robb in Main branch]
2019-09-28 08:19:35 -04:00
yoan stamant
f3717d0e9b RecastNavMeshGenerator: Reworked fix from CL 7419221 to not mark NavBounds dirty for newly created navmesh when active tiles generation is enabled
in the navigation sytem without setting flag bRestrictBuildingToActiveTiles yet. This is required for the initial virtual call to RestrictBuildingToActiveTiles to perform the ActiveTiles initialization.

#rnx
[at]mieszko.zielinski
#rb mieszko.zielinski


#ROBOMERGE-SOURCE: CL 8548670 via CL 8555979
#ROBOMERGE-BOT: (v406-8472469)

[CL 8556169 by yoan stamant in Main branch]
2019-09-06 15:27:08 -04:00
mieszko zielinski
e3278597a5 Added octree debug drawing to AthenaNavMesh
#rb none


#ROBOMERGE-SOURCE: CL 8382710 via CL 8382912
#ROBOMERGE-BOT: (v403-8382528)

[CL 8382916 by mieszko zielinski in Main branch]
2019-08-30 08:50:11 -04:00
mieszko zielinski
fb13d32432 Removed PRAGMA_DISABLE_OPTIMIZATION left behind accidentally
#rb none


#ROBOMERGE-SOURCE: CL 8154701 via CL 8154703 via CL 8154820
#ROBOMERGE-BOT: (v401-8057353)

[CL 8161947 by mieszko zielinski in Main branch]
2019-08-21 09:54:56 -04:00
mieszko zielinski
642f7dc20a Added an option to RecastNavMeshGenerator that makes sorting of tiles to be generated optional.
#rb Yoan.StAmant
Yoan.StAmant, Maxime.Mercier


#ROBOMERGE-SOURCE: CL 8154693 via CL 8154694 via CL 8154817
#ROBOMERGE-BOT: (v401-8057353)

[CL 8161935 by mieszko zielinski in Main branch]
2019-08-21 09:54:53 -04:00
guillaume guay
45ca026404 Partial rollback of CL6604191.
RecastNavMeshGenerator initialization should be called right after object construction to ensure virtual methods are properly called and derived classes are fully constructed before rebuild navigation mesh.

#rnx
#rb yoan.stamant
[fyi] [at]Mieszko.Zielinski


#ROBOMERGE-SOURCE: CL 7981977 via CL 7996225
#ROBOMERGE-BOT: (v396-7974030)

[CL 7996495 by guillaume guay in Main branch]
2019-08-13 14:20:01 -04:00