Commit Graph

148 Commits

Author SHA1 Message Date
michael balzer
918675474c LandscapeEditor: Fix truncation warnings
#jira UE-166471
#preflight 6441f3abb14f1faacfeb573f
#rb jonathan.bard

[CL 25142122 by michael balzer in ue5-main branch]
2023-04-21 00:15:30 -04:00
don boogert
7819a9d027 Landscape: Create Large landscapes using World Partition
#jira UE-171982
#rb jonathan.bird
#preflight 642c8862f376ab43d2910446

[CL 24937413 by don boogert in ue5-main branch]
2023-04-05 17:37:25 -04:00
don boogert
4b403b71eb [Backout] - CL24913693
[FYI] don.boogert
Original CL Desc
-----------------------------------------------------------------
Landscape: Create Large landscapes using World Partition

#jira UE-171982
#rb jonathan.bird
#preflight 642b6491f376ab43d23ea540

[CL 24920840 by don boogert in ue5-main branch]
2023-04-04 19:16:31 -04:00
don boogert
7dcdd7912f Landscape: Create Large landscapes using World Partition
#jira UE-171982
#rb jonathan.bird
#preflight 642b6491f376ab43d23ea540

[CL 24920727 by don boogert in ue5-main branch]
2023-04-04 19:13:26 -04:00
jonathan bard
9f597de169 * Fixed bad tangent space computations for various landscape utilities (static lighting, Nanite...) : mimic what is done in the vertex shader when reconstructing the normal's Z in order to avoid quantization issues
* Also factorized lots of redundant code in landscape for accessing weightmap/heightmap data

#rb don.boogert
#preflight 63f8b80aa134e0b05998c7a3

[CL 24403600 by jonathan bard in ue5-main branch]
2023-02-24 12:42:35 -05:00
don boogert
70e33a3783 Landscape : Calculate AddComponent action resolution increase by actually working out where components will be created
#rb chris.tchou
#preflight 63f013853c1eb56f05ee9633

[CL 24296767 by don boogert in ue5-main branch]
2023-02-17 22:12:55 -05:00
jonathan bard
6089355aca Added perf tags and markers for easier profiling of landscape tools + some code improvements
#rb chris.tchou
#preflight 63e4c7497a15f127a810e3cc

[CL 24096741 by jonathan bard in ue5-main branch]
2023-02-09 09:00:05 -05:00
luc eygasier
b521e678d3 Removes TLazyObjectPtr usage in ALandscapeStreamingProxy, ULandscapeInfo, ULandscapeComponent, ULandscapeHeightfieldCollisionComponent.
Adds package deprecation and fixup mechanism to allow users to update fixedup packages.
Fixes Guid Remapping inTLazyObjectPtr asserting when multiple PIE sessions

#rb Jonathan.Bard
#preflight 63b49c2c35203bc7aacb1d15
#jira UE-156921

[CL 23631796 by luc eygasier in ue5-main branch]
2023-01-10 15:22:05 -05:00
don boogert
4c7b4f4fa9 Landscape: Import Gimzo usability improvements
* Added snap modes (texel and component)
* Added reset to landscape minimum corner.

#jira UE-132294
#rb jonathan.bird
#preflight 6331fb29b20e73a09854867c

[CL 23340775 by don boogert in ue5-main branch]
2022-11-30 16:59:05 -05:00
luc eygasier
14f82a4586 Fixes Landscape ImportTool resolution computation. Should be 0 and not depending on the imported landscape resolution since the tool will import the data in the existing texture and not create a new one.
#rb Jonathan.Bard, Don.Boogert
#preflight 6362d0ad522c8f7ab3528467

[CL 22968343 by luc eygasier in ue5-main branch]
2022-11-03 17:58:40 -04:00
chris tchou
ef279e8cfd Fix Landscape Add components tool so it does not add tiles disconnected from the existing tiles
#rb jonathan.bard
#jira UE-167792
#preflight 635c21fe3c0af539fd599eef

[CL 22876158 by chris tchou in ue5-main branch]
2022-10-31 20:56:54 -04:00
don boogert
83f017fda3 Landscape : separate tool falloff, size & strength values for paint & sculpt
* Implemented as new Paint  falloff, size & strength members on ULandscapeEditorObject. Doing it this way made it was easier to persist the values different values for paint & sculpt when exiting & re-entering landscape mode.
* Perhaps there are other parameters which could be separated out between paint & sculpt but I hope brush size, strength & falloff are sufficient to make the workflow smoother.

#jira UE-142018
#rb jonathan.bard
#preflight 630f95c4e54ec9d581b23f78

[CL 21724189 by don boogert in ue5-main branch]
2022-08-31 13:40:30 -04:00
roey borsteinas
4c15018624 Landscape: Correctly implemented GetReferencerName for all landscape tools.
#rb jonathan.bard

[CL 21527188 by roey borsteinas in ue5-main branch]
2022-08-23 20:06:26 -04:00
don boogert
3f1594a6dc #jira UE-148580
* Fixed single file export for heightmap/weightmaps
* Added option to export to single file for grid-based worlds
* Fixed a problem where you couldn't import a single heightmap/weightmap file if it was named with the same prefix as the grid-based ones located in the same folder (e.g. Heightmap.png with Heightmap_x0_y0.png, etc. being present in the same folder)
* fixed crash if file pattern resulted in no files
* set import gizmo to location of last export

#ushell-cherrypick of 19676938 by jonathan.bard
#rb don.boogert
#preflight 6303c090c744dac967a93217

[CL 21492627 by don boogert in ue5-main branch]
2022-08-22 16:37:33 -04:00
jonathan bard
552e08f347 * Made landscape edit layers read-only, removed related context menu and prevent layer reordering in non edit layers- related landscape tools (Component Add/Delete/Move/Select,Mask,New/Resize Landscape)
* Don't use a modal error message box when the currently selected edit layer is locked in those tools (since they're not edit layers-related)

#rb luc.eygasier

#ROBOMERGE-AUTHOR: jonathan.bard
#ROBOMERGE-SOURCE: CL 20643334 via CL 20643341 via CL 20643342
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20644761 by jonathan bard in ue5-main branch]
2022-06-14 07:18:54 -04:00
luc eygasier
8f5e6ffb66 Adds Landscape resolution restriction when in Restricted Mode (example: UEFN), preventing to create landscape if the wanted resolution exceed currently supported safe limits.
Applied to:
* New Landscapes, new imported landscape
* Import Landscape tool
* Add component tool

#jira UE-149015
#preflight 627e98d97c26e247735ca7d1
#rb Michael.Balzer, Jonathan.Bard

#ROBOMERGE-AUTHOR: luc.eygasier
#ROBOMERGE-SOURCE: CL 20187875 via CL 20189504 via CL 20189506 via CL 20189507
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20191648 by luc eygasier in ue5-main branch]
2022-05-13 18:58:05 -04:00
michael balzer
695b291e78 Landscape: Use same edge handles and colors for importing landscape as for new landscape; refactor line drawing code
#preflight 622a52a1641a55d78f4dbd68
#rb jonathan.bard

[CL 19340291 by michael balzer in ue5-main branch]
2022-03-10 14:47:23 -05:00
michael balzer
f3ba869f73 Landscape: Fix resizing of new or imported landscapes by dragging the boundaries
#preflight 62266b638d18d26686052e88
#rb jonathan.bard

[CL 19297606 by michael balzer in ue5-main branch]
2022-03-07 20:28:19 -05:00
Matt Kuhlenschmidt
870e15eda0 Touch up of landscape mode styling.
[CL 17570055 by Matt Kuhlenschmidt in ue5-main branch]
2021-09-20 09:21:05 -04:00
Patrick Enfedaque
a127941502 Landscape: Highlight landscape proxy bounds in the New/Import landscape tool (based on WorldPartitionGridSize setting)
#rb richard.malo

[CL 16143804 by Patrick Enfedaque in ue5-main branch]
2021-04-28 10:49:34 -04:00
Patrick Enfedaque
a18fd893cc Move render/trace of AddComponent out of the LandscapeEdMode and in the tool.
#rb richard.malo

[CL 14878154 by Patrick Enfedaque in ue5-main branch]
2020-12-08 09:07:44 -04:00
Richard Malo
43a93e33d6 Fixed Import Landscape not rendering preview of imported data
#jira UE-103243
#rb patrick.enfedaque

[CL 14786217 by Richard Malo in ue5-main branch]
2020-11-19 09:00:50 -04:00
Sebastien Lussier
2802b0e9bd Scaling in Landscape mode makes actor move out
#jira UE-102287
Notify selection change when switching to the landscape copy/paste tool
Doing so will properly update the GLevelEditorModeTools().PivotLocation
#rb patrick.enfedaque

[CL 14675945 by Sebastien Lussier in ue5-main branch]
2020-11-06 09:00:59 -04:00
Patrick Enfedaque
92b6346f13 Landscape: New Import/Export Tool allows importing/exporting multiple files to support large worlds (WorldPartition)
#rb richard.malo

[CL 14651731 by Patrick Enfedaque in ue5-main branch]
2020-11-04 09:21:48 -04:00
Patrick Enfedaque
c814528b26 Landscape: New helper class allows changing Landscape Configuration (Component Size, Num Subsection, WorldPartition GridSize)
#rb richard.malo

[CL 14490266 by Patrick Enfedaque in ue5-main branch]
2020-10-14 08:06:05 -04:00