Commit Graph

296 Commits

Author SHA1 Message Date
sebastien lussier
8230a5e5f6 World Partition Editor - Added option to show/hide HLOD actors bounds, which are now hidden by default
#rb JeanFrancois.Dube

[CL 30634602 by sebastien lussier in ue5-main branch]
2024-01-16 11:01:46 -05:00
sebastien lussier
1946df1c2b World Partition - HLOD: Added HLOD Relevant actor coloration mode
#rb jeanfrancois.dube

[CL 30633866 by sebastien lussier in ue5-main branch]
2024-01-16 10:33:54 -05:00
jeanfrancois dube
72b939ad8f World Partition Editor Optimization: cache intersecting viewport actors, saves a constant ~10-12ms when the world partition editor is open.
#rb Sebastien.Lussier

[CL 30591943 by jeanfrancois dube in ue5-main branch]
2024-01-12 09:30:55 -05:00
jeanfrancois dube
247dd1d0e4 World Partition: fix crash when placing a Level Instance.
#rb Sebastien.Lussier

[CL 30534868 by jeanfrancois dube in ue5-main branch]
2024-01-10 09:28:09 -05:00
jeanfrancois dube
90d0d291a0 TDirtyExternalActorTracker: tracks dirty external actors.
World Partition Editor:
- Abstract actors bounds rendering to allow rendering dirty and unsaved actors without the need of actor descriptors.
- Update dirty actors code management to TDirtyExternalActorTracker.

World Partition:
- Update dirty actors management code to TDirtyExternalActorTracker.

#rb vincent.beauchemin

[CL 30515618 by jeanfrancois dube in ue5-main branch]
2024-01-09 16:08:12 -05:00
patrick enfedaque
6398be043c World Partition: Expose Per User Settings into Editor Preferences (under World Partition (Local) section)
#jira UE-168007
#rb richard.malo

[CL 30442946 by patrick enfedaque in ue5-main branch]
2023-12-22 14:06:07 -05:00
sebastien lussier
1450dca98c World Partition - TActorDescContainerInstanceCollection: Renamed ForEachActorDescContainer to ForEachActorDescContainerInstance
#rb Patrick.Enfedaque
[FYI] richard.malo

[CL 30398410 by sebastien lussier in ue5-main branch]
2023-12-19 12:42:51 -05:00
sebastien lussier
f95c5d910b World Partition - HLOD: Moved the HLODEditorData.h header to the Private folder as this doesn't need to be exposed
#rnx

[CL 30398019 by sebastien lussier in ue5-main branch]
2023-12-19 12:29:10 -05:00
sebastien lussier
f0416ba8a8 World Partition - HLOD in editor: Properly handle container registration/unregistration
#rb Richard.Malo

[CL 30342841 by sebastien lussier in ue5-main branch]
2023-12-14 22:35:30 -05:00
sebastien lussier
4ea7f5aeda World Partition - HLOD: Save HLOD in editor settings when changing them through the viewport menus
#rb Richard.Malo

[CL 30318935 by sebastien lussier in ue5-main branch]
2023-12-14 09:22:18 -05:00
patrick enfedaque
b7eaad89dc WorldPartition: Add UActorDescContainerInstance/FWorldPartitionActorDescInstance which take transient/context data from UActorDescContainer/FWorldPartitionActorDesc leaving them as pure on disk representations.
- UActorDescContainerInstance contains: Transform, ContainerID, InstancingContext
- FWorldPartitionActorDescInstance contains: ResolvedDataLayers, RefCounts, Remapped Instanced actor path, Actor loading code

#rb JeanFrancois.Dube, Richard.Malo, Sebastien.Lussier
#tests editor, cook, pie, hlod builder, level instance, internal projects

[CL 30260359 by patrick enfedaque in ue5-main branch]
2023-12-12 06:59:42 -05:00
jeanfrancois dube
40bf67a8b3 World Partition:
- FWorldPartitionActorDescView is now a virtual interface that route calls to its inner FWorldPartitionActorDesc by default.
  - FStreamingGenerationActorDescView is now used during streaming generation to include mutations introduced by validation pass.
  - FActorDescViewMap is now a template, and streaming generation now uses custom FStreamingGenerationActorDescViewMap version using FStreamingGenerationActorDescView.

This is the groundwork for implementing actor descriptor mutators to allow game-specific changes to be done to actor descriptors.

#rb Sebastien.Lussier

[CL 30037302 by jeanfrancois dube in ue5-main branch]
2023-12-01 07:23:37 -05:00
jeanfrancois dube
444c19749c Bring back CL29887181 with fixes.
-----------------------------------------------------------------
[Backout] - CL29887181
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition Editor: show unsaved newly added actors in the editor view.

#rb vincent.beauchemin

[CL 29918186 by jeanfrancois dube in ue5-main branch]
2023-11-24 07:31:28 -05:00
jeanfrancois dube
78328439b6 [Backout] - CL29887181
[FYI] JeanFrancois.Dube
Original CL Desc
-----------------------------------------------------------------
World Partition Editor: show unsaved newly added actors in the editor view.

#rb vincent.beauchemin

[CL 29895069 by jeanfrancois dube in ue5-main branch]
2023-11-22 14:56:30 -05:00
jeanfrancois dube
227dc12fa0 World Partition Editor: show unsaved newly added actors in the editor view.
#rb vincent.beauchemin

[CL 29887195 by jeanfrancois dube in ue5-main branch]
2023-11-22 08:48:06 -05:00
sebastien lussier
7aa66c31fd World Partition - HLODs in editor feature is now enabled by default
#jira UE-193294

[CL 29872450 by sebastien lussier in ue5-main branch]
2023-11-21 14:26:47 -05:00
sebastien lussier
1788b22ec9 World Partition - HLOD: Disable HLODs in editor if loading in editor is disabled (which is the case for UEFN by default)
#rb JeanFrancois.Dube

[CL 29872249 by sebastien lussier in ue5-main branch]
2023-11-21 14:17:24 -05:00
jeanfrancois dube
9e73ca7a80 World Partition Editor: show unsaved location volumes in the editor.
#rb vincent.beauchemin

[CL 29870896 by jeanfrancois dube in ue5-main branch]
2023-11-21 13:38:31 -05:00
jeanfrancois dube
ef105f5158 [Backout] - CL26308339
#rb vincent.beauchemin

Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26290283
Original CL Desc
-----------------------------------------------------------------
[Backout] - CL26287803 for CIS error.
#rnx
Original CL Desc
-----------------------------------------------------------------
World Partition
* Add new unsaved actors into the DirtyActors set. Useful to see unsaved LocationVolume on the WP Editor.
* Make sure we clean DirtyActors when CB content is removed.

#rb jeanfrancois.dube

[CL 29782780 by jeanfrancois dube in ue5-main branch]
2023-11-16 12:52:00 -05:00
jeanfrancois dube
15f5616d17 Remove CleanupExternalObjectsEmptyFolders since it's now supposed to have zero impact with 29525768.
#rb sebastien.lussier

[CL 29681286 by jeanfrancois dube in ue5-main branch]
2023-11-13 07:54:18 -05:00
sebastien lussier
8192bcef56 Fix duplicated LOCTEXT key "HLODInEditor_StreamingDisabled"
#rnx

[CL 29557566 by sebastien lussier in ue5-main branch]
2023-11-08 08:12:17 -05:00
sebastien lussier
eafb9cfa54 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29541562 by sebastien lussier in ue5-main branch]
2023-11-07 18:58:37 -05:00
justin peterson
5398900aba [Backout] - CL29526661 - CIS Compile Error
[FYI] Sebastien.Lussier
Original CL Desc
-----------------------------------------------------------------
World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29528240 by justin peterson in ue5-main branch]
2023-11-07 14:19:57 -05:00
sebastien lussier
d370837cd3 World Partition - HLOD in Editor
* Added World & User settings to control whether HLOD are shown in editor
* Added HLOD entry in "Show" viewport menu, exposing the following user settings
-> Show HLODs (enabled by default)
-> Show HLODs over loaded regions (disabled by default)
-> Min Draw Distance (distance at which HLOD starts to be rendered in editor, 128m by default)
-> Max Draw Distance (infinity by default)
* Added "Load Region from Selection" to viewport context menu (on right-click)
* Added World category to Scene Outliner filter, currently only contains "World Partition HLOD"
* Hid a few categories from World Partition HLOD (when showing in Details panel)
* Feature is still disabled globally by the wp.Editor.HLOD.AllowShowingHLODsInEditor cvar
#rb jeanfrancois.dube
#jira UE-193294

[CL 29527011 by sebastien lussier in ue5-main branch]
2023-11-07 13:38:35 -05:00
sebastien lussier
3f984ab5b3 Removed AssetTypeActions for HLOD Layer & Data Layer assets
* Rely on UAssetDefinitions instead
* Add to correct "World" category
#rb vincent.beauchemin

[CL 29486031 by sebastien lussier in ue5-main branch]
2023-11-06 08:29:52 -05:00