Commit Graph

17 Commits

Author SHA1 Message Date
Ryan Schmidt
b71d3f7303 ToolsFramework: support multiple saved versions of a UInteractiveToolPropertySet. Previously only a single global version of a particular UInteractiveToolPropertySet could be saved via ::SaveProperties(), despite the Tool argument. This change adds an internal map keyed on a custom string. This allows different Tools using the same PropertySet to have their own unique saved properties if desired, or share a saved version between a set of Tools. A change to initialization is also made - during the first SaveProperties() call that spawns the new saved property set, the current/initial property values are no longer ovewritten with the default values in ::SaveRestoreProperties(). This allows a Tool to customize the default values before calling Restore().
An unused ::GetPropertyCache() function was also removed.

#rb semion.piskarev
#rnx
#jira none

[CL 16669477 by Ryan Schmidt in ue5-main branch]
2021-06-15 00:27:08 -04:00
Ryan Schmidt
e196c256e4 GeometryProcessing: remove forwarding headers used in GeometryCore transition, and update all affected includes.
#rb none
#rnx
#jira none
#preflight 60c52c5db9446100014da02d

[CL 16653115 by Ryan Schmidt in ue5-main branch]
2021-06-13 00:35:22 -04:00
Ryan Schmidt
f45388ffbe Rename USimpleDynamicMeshComponent to UDynamicMeshComponent. Move ModelingComponents Components and SceneProxys to /Components subdirectory.
#rb none
#rnx
#jira none
#preflight 60c4451f5c10070001ae0537

[CL 16652187 by Ryan Schmidt in ue5-main branch]
2021-06-12 14:28:52 -04:00
Ryan Schmidt
ab7e08dbe9 ModelingTools:
Add support for submitting multiple UV channels to render buffers in UBaseDynamicMeshSceneProxy and USimpleDynamicMeshSceneProxy (currently not supported if there is a mesh decomposition, and not supported in fast UV updates).
Add support for visualizing different UV channels in UExistingMeshMaterialProperties.
Add UMeshUVChannelProperties property set for selecting from available UV channels.
Add support for arbitrary UV channels in ParameterizeMeshTool and UVLayoutTool/Op.
#rb jimmy.andrews
#rnx
#jira none

[CL 15281295 by Ryan Schmidt in ue5-main branch]
2021-02-02 13:26:23 -04:00
michael daum
fcdbea1d7c MeshModelingToolset: Fix checkerboard material for tools which affect existing meshes
#rb none
[FYI] ryan.schmidt
#jira:none
#rnx

#ROBOMERGE-SOURCE: CL 12944005 via CL 12944007 via CL 12944010
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12944011 by michael daum in Main branch]
2020-04-20 21:38:11 -04:00
ryan schmidt
e7f3baf1ca Edigrate Dev-Editor updates to InteractiveToolsFramework, GeometryProcessing, MeshModelingToolset, and ModelingTools Editor Mode Plugins. Update a few files in new MeshPaint Plugin for UInteractiveTool rename of ::Tick() to ::OnTick().
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12908995 via CL 12908996 via CL 12909001
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12909003 by ryan schmidt in Main branch]
2020-04-18 18:42:59 -04:00
ryan schmidt
46af79019f ModelingTools: resolve many sculpting issues & limitations
- fix broken sculpt material that went to white in many cases, replace with diffuse shading and rim light in Emissive channel / unlit texture
- add image-based sculpt materials provided by techart, expose custom variant that allows user-defined shader image
- make flat shading optional in view settings, for relevant shaders
- reorganize properties and update tooltips to be more informative
- fix broken Falloff support and expose in property set, display in brush highlight. Make this separately exposable in BaseBrush property set since we don't need Strength.
- add viewpoint-based Sculpt and Plane brush modes
- fix brush preview location when in hover, was not respecting target surface setting
#rb none
#rnx
#jira none
[FYI] JeanSebastien.Guay

#ROBOMERGE-SOURCE: CL 12164804 in //UE4/Release-4.25/... via CL 12164806
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v661-12148976)

[CL 12164813 by ryan schmidt in Main branch]
2020-03-13 13:40:51 -04:00
michael daum
d1fdf68897 MeshModeling: Make checkerboard work with the Existing Mesh Material property save restore
THIS CHANGE IS AN EDIGRATE OF CL 11130397 IN DEV-EDITOR

#jira UE-87445
#jira UE-87545
#jira UE-90163

#rb none
#rnx

#ROBOMERGE-SOURCE: CL 11951442 in //UE4/Release-4.25/... via CL 11951484
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11951546 by michael daum in Main branch]
2020-03-05 14:27:21 -05:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00
Chris Gagnon
346a4b05ea Copy up from Dev-Editor @10681378
#rb none

[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00
Ryan Schmidt
8ae06e2f6e ModelingTools: update remaining tools for multiple material support.
- Removed UExistingMeshMaterialProperties::SetMaterialIfChanged, the logic was too convoluted now that we don't actually set new materials on the PreviewMesh. Now just forcing a material update whenever any material setting changes.
- UMeshOpPreviewWithBackgroundCompute now takes material set, added ::ConfigureMaterials() that takes array  (previous API remains)
- UMeshOpPreviewWithBackgroundCompute now has additional OverrideMaterial, if set then this is forwarded to UPreviewMesh as override material
#rb none
#rnx
#fyi jimmy.andrews, michael.daum

[CL 10315156 by Ryan Schmidt in Dev-Editor branch]
2019-11-19 18:27:17 -05:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
Ryan Schmidt
458158118d ModelingTools: Add custom materials for Selection and Sculpting, that show backfaces, quasi-flat normals, etc.
#rb none
#rnx

[CL 9118698 by Ryan Schmidt in Dev-Editor branch]
2019-09-25 21:47:54 -04:00
Ryan Schmidt
1bbb457498 ModelingTools: add support for save/restore of Settings in various Tools.
#rb none
#rnx

[CL 8968043 by Ryan Schmidt in Dev-Editor branch]
2019-09-22 17:28:52 -04:00
Jimmy Andrews
e89b34d02c standardize uv settings code across mesh inspector and uv projector
#rb none
#rnx

[CL 8900915 by Jimmy Andrews in Dev-Editor branch]
2019-09-19 15:47:11 -04:00