Commit Graph

451 Commits

Author SHA1 Message Date
tiago costa
c631dee145 Visualize Distance Field in Static Mesh Editor.
#jira UE-216454
#rb Krzysztof.Narkowicz

[CL 34093451 by tiago costa in ue5-main branch]
2024-06-04 10:22:38 -04:00
alexis matte
7e6a2d7897 Interchange: add LOD import Asynchronous parameter to allow synchronous import when the caller cannot support asynchronous.
#jira UE-212705
[FYI] jeanluc.corenthin
#rnx

[CL 33792719 by alexis matte in ue5-main branch]
2024-05-21 09:37:20 -04:00
sebastien lussier
02a0620a4d MergeActor - 1st pass cleaning up include files in order to avoid rebuilding the whole engine when editing merge actor settings
#rb JeanFrancois.Dube

[CL 33209699 by sebastien lussier in ue5-main branch]
2024-04-24 15:24:31 -04:00
alexis matte
0004797e0e Add new reimport button in meshes editor to force re-import with dialog.
#jira UE-212621
#rb JeanLuc.Corenthin
#rnx
#prefligth 66268cac684c0e6f587a5e3d

[CL 33184601 by alexis matte in ue5-main branch]
2024-04-23 19:11:50 -04:00
george rolfe
d2a9c219bc Added z-index override to Viewport AddOverlay calls
#jira UE-212438
#rb brooke.hubert

[CL 33063642 by george rolfe in ue5-main branch]
2024-04-17 23:41:14 -04:00
mikko mononen
4828e61035 Anim Editor: Draw AssetUserData
- Added UAssetUserData::DrawCanvas() which can be used to draw info to canvas (e.g. text labels)
- Added DrawCanvas() support to static mesh editor
- Added UAssetUserData::Draw() and UAssetUserData::DrawCanvas() support to anim editors

#jira UE-208629
#rb Thomas.Sarkanen

[CL 32269931 by mikko mononen in ue5-main branch]
2024-03-15 06:11:37 -04:00
alexis matte
7ff253d7ab Interchange: Fix skeletal mesh reimport: custom LODs, Alternate skin profiles and Cloth binding are now re-importing properly.
- Also fix the legacy alternate skinning if there is custom LODs in the asset. The alternate skin profiles are not lost anymore

#jira UE-205049 , UE-204958 , FORT-705238
#rb JeanLuc.Corenthin
#rnx

[CL 31335966 by alexis matte in ue5-main branch]
2024-02-09 07:59:04 -05:00
jimmy andrews
2983938f51 Make the static mesh editor create its socketmanager on post-init, so it's there when user interacts with sockets on the mesh (even if the sockets window was never opened)
#jira UE-204967
#rb tyson.brochu

#changelist validated
#virtualized

[CL 31216714 by jimmy andrews in ue5-main branch]
2024-02-06 11:27:40 -05:00
ola olsson
1e7d818b97 Remove needless include of NaniteDefinitions.h to cut UE build items due to changes from ~5000 to ~100
#rnx
#rb graham.wihlidal

[CL 30629721 by ola olsson in ue5-main branch]
2024-01-16 03:46:33 -05:00
aditya ravichandran
a94abf2d1c UToolMenus: Add API to support Menu Profiles, a menu profile is a lightweight version of a menu customization - but you can have multiple menu profiles and activate/deactivate them at runtime per menu instance using a new menu context.
Read Only Asset Editors: Automatically hide any custom menu and toolbar items in read only mode, with an opt in permission list for specific asset editors to selectively allow entries that are valid in read only mode

#jira UE-195628
#rb Rex.Hill

[CL 29809442 by aditya ravichandran in ue5-main branch]
2023-11-17 11:26:45 -05:00
jimmy andrews
534a32db46 Add level set visualization to static mesh editor's simple collision visualization + editing system
#jira UE-197439
#rb tyson.brochu

[CL 29795455 by jimmy andrews in ue5-main branch]
2023-11-16 18:40:46 -05:00
mihnea balta
3d560f9cc1 Fix crash when clicking outside the mesh in the static mesh editor viewport if meshes had more than one section.
The edge selection code wasn't taking into account the start index for each section. It assumed that sections are arranged consecutively in the index buffer, which is not true in general.

#jira UE-199512
#rnx
#rb Luke.Thatcher

[CL 29518883 by mihnea balta in ue5-main branch]
2023-11-07 09:02:01 -05:00
jamie hayes
16ce5d4a78 Add an option for Nanite meshes to consider edge length during simplification as a means of preventing oversimplification of meshes that are intended to be deformed (e.g. via WPO, Spline Mesh Component).
#rb brian.karis

[CL 28594884 by jamie hayes in ue5-main branch]
2023-10-09 15:40:27 -04:00
Brian Karis
a622f52036 Added LerpUVs property to Nanite static mesh settings.
Enabled by default. When disabled UVs are not lerped in the simplifier. This is useful when data stored in UVs isn't valid to interpolate, for example indexes.

Fixed long standing bug where locked boundary verts still would get attributes recalculated when taking part in an edge collapse. This results in them not matching when later merged with their neighbor, causing attribute discontinuities where they previously weren't. That will degrade further simplification, bloat vertex work, bloat vertex storage, and generally look worse.

Can reduce rendered vertex count by 14% and disk size by 3%.

#rb rune.stubbe, graham.wihlidal
#lockdown marc.audy

[CL 27715715 by Brian Karis in ue5-main branch]
2023-09-08 12:38:58 -04:00
aditya ravichandran
a90d73d766 Asset Editors: Add support for opening cooked assets in a new "Read Only" mode for asset editors, starting with the Static Mesh Editor and Texture Editor.
#jira UE-187048
#rb jason.stasik

[CL 27595048 by aditya ravichandran in ue5-main branch]
2023-09-05 10:01:26 -04:00
jason hoerner
fcc5666066 UDN bug fix: UStaticMeshEditorSubsystem::SetLodScreenSizes should allow values greater than 1.0. Originally it was clamped to 1.0, as the user interface sliders were clamped at that, but it's possible and useful to numerically set them outside that range, and the automation command shouldn't disallow it.
#jira none
#rb Jason.Nadro

[CL 26050594 by jason hoerner in ue5-main branch]
2023-06-16 10:12:57 -04:00
graham wihlidal
f44e4131c5 Changed Nanite::FResources member on static mesh render to an abstracted TPimplPtr<> to fully decouple NaniteResources.h from StaticMeshResources.h, avoiding costly full engine rebuilds whenever we iterate on Nanite, and provide us a mechanism going forward to move more of our API private.
#rb brian.karis, rune.stubbe
#fyi christopher.waters, juan.canada, yuriy.odonnell, henrik.karlsson
#preflight 6470360127390642751d5d60

[CL 25638055 by graham wihlidal in ue5-main branch]
2023-05-26 00:55:23 -04:00
kirill zorin
de8db5ff76 Converting ARO-facing raw pointers to TObjectPtr ahead of raw pointer ARO API deprecation.
#rb zousar.shaker
#rb markus.breyer
#rb robert.manuszewski

#preflight 646391406b1406b54ab15460

[CL 25489627 by kirill zorin in ue5-main branch]
2023-05-16 10:52:49 -04:00
bryan sefcik
d205101cc8 Removed unnecessary private include modules.
#preflight 645da640cf788a25581110bb

[CL 25451545 by bryan sefcik in ue5-main branch]
2023-05-12 12:13:52 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -04:00
aditya ravichandran
31830290ab Asset Editors: Deprecate OnClose and RequestClose in favor of similar functions that take in a close reason
Fix a crash in some asset editors when you force deleted an asset with pending changes and hit "cancel" on the save dialog

#jira UE-107248
#preflight 64517c880e33f2d51d6e3adb

[CL 25321878 by aditya ravichandran in ue5-main branch]
2023-05-03 14:45:26 -04:00
Rune Stubbe
737c77422f Nanite support for explicit tangents
#jira UE-166732
#rb brian.karis
#fyi graham.wihlidal, jamie.hayes
#preflight 644f9d045403400548450480

[CL 25282711 by Rune Stubbe in ue5-main branch]
2023-05-01 07:48:12 -04:00
florin pascu
0f6d9d9b28 Use PerPlatformProperties properly when in preview
#jira UE-175594
#rb Jack.Porter
#preflight 6408854ec13b7130d2aa2d5b

[CL 24559190 by florin pascu in ue5-main branch]
2023-03-08 09:39:07 -05:00
tiago costa
99ce024d70 Keep all Nanite settings controls in Static Mesh Editor enabled when Nanite is force enabled on the mesh.
#rb graham.wihlidal
#preflight 6402363a5515f4f57be55253

[CL 24508793 by tiago costa in ue5-main branch]
2023-03-03 17:36:09 -05:00
kevin ortegren
4b4f0aa5eb Adding cvar to determine the default collapse mode of Nanite Settings in the details panel of the Static Mesh Editor Tool.
#rnx
#rb jason.stasik, sara.zokaei
#preflight 64009775ef1b24bf94ffe8a2
#test editor

[CL 24493640 by kevin ortegren in ue5-main branch]
2023-03-02 20:26:10 -05:00