Commit Graph

176 Commits

Author SHA1 Message Date
semion piskarev
58d5cbd5cf MeshModelingTools: Adding current version of UV editor.
#rb Brooke.Hubert, Ryan.Schmidt
#rnx
#jira UETOOL-3108, UETOOL-3110

[CL 16078314 by semion piskarev in ue5-main branch]
2021-04-21 14:36:05 -04:00
semion piskarev
9b88b13763 MeshModelingTools: Fix gizmo location calculation in CurveControlPointsMechanic.
#rb David.Hill
#rnx
#jira none

[CL 16062425 by semion piskarev in ue5-main branch]
2021-04-20 12:01:00 -04:00
David Hill
6967524480 Geometry Processing: MeshGroupPaintTool. BaseDynamicMeshSceneProxy Fix bug with visibility introduced by change to using Color Overlay.
#preflight 607e265a3059e60001136b17

[CL 16057767 by David Hill in ue5-main branch]
2021-04-19 21:48:11 -04:00
Jimmy Andrews
92adac51aa change plane cut tool to use the construction plane mechanic
#rb david.hill
#rnx
#preflight 607e006a3059e60001fe36d9

[CL 16057536 by Jimmy Andrews in ue5-main branch]
2021-04-19 21:00:31 -04:00
David Hill
8024b85b42 Geometry Processing: Add Color Overlay as FVector4f to the default Dynamic Mesh Attribute Set. This should be used in place the mesh vertex color as it mirrors the wedge-instance granularity of MeshDescription used in static meshes, and the SkeletalMeshLODModel used in skeletal meshes. Also fix up the mesh conversion code to support this, as well as the undo system, and previous clients of the mesh vertex color.
#rb jimmy.andews, tyson.brochu
#preflight 607d8c95d7af9b00011d0244

[CL 16050860 by David Hill in ue5-main branch]
2021-04-19 10:47:52 -04:00
Jimmy Andrews
aa12ad308c Copy the separate asset and component materials from the source mesh to the new assets generated by plane cut tool (+ generally support creating an asset with separate component and asset materials)
#jira UE-110096
#rb tyson.brochu
#rnx
#preflight 6075fefa8c3f7700019357cc

[CL 15995092 by Jimmy Andrews in ue5-main branch]
2021-04-13 17:15:34 -04:00
lonnie li
ded81b4807 ModelingTools: Add background compute for BakeMeshAttributeMapsTool.
#rb Jimmy.Andrews Ryan.Schmidt
#jira none
#rnx
#preflight 6074ac5aff56130001e2f253

[CL 15983648 by lonnie li in ue5-main branch]
2021-04-12 17:10:46 -04:00
ryan schmidt
8fe0edb43c ModelingComponents: add missing thread locking in FMeshRenderDecomposition, otherwise random crashes may occur when decomposing for multiple materials
#rb trivial
#rnx
#jira none
#lockdown simon.tourangeau

#ROBOMERGE-SOURCE: CL 15960562 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15979128 by ryan schmidt in ue5-main branch]
2021-04-12 12:46:22 -04:00
ryan schmidt
fbb10e331a ModelingTools: Restore constrast curve asset that was mistakenly deleted. Return a transient duplicate of contrast curve in ToolSetupUtil, so that users are not editing an Engine asset every time they modify the curve. If Property is reset to default, set back to new clone of default asset. Make the contrast curve property editable so users can assign their own curve asset, and handle register/unregister of curve listener
#rb semion.piskarev
#rnx
#jira UE-112848
#lockdown simon.tourangeau

#ROBOMERGE-OWNER: ryan.schmidt
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 15935238 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15935376 by ryan schmidt in ue5-main branch]
2021-04-06 17:59:10 -04:00
semion piskarev
5e412667c8 MeshModelingTools: Added the ability to use a transparent or custom material to the sculpt tools.
#rb Ryan.Schmidt
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 15896721 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15896726 by semion piskarev in ue5-main branch]
2021-04-01 17:33:33 -04:00
Ryan Schmidt
196be0f6d1 GeometryProcessing: replace UE::Geometry::FVector3d/FVector3f with UE Core versions based on TVector<T>. FVector3<T> is now an extension of TVector<T>. Update all affected call sites.
#rb none
#rnx
#jira none

[CL 15870068 by Ryan Schmidt in ue5-main branch]
2021-03-30 21:25:22 -04:00
lonnie li
71d5092007 ModelingTools: Refactor SingleSelectionTool to ToolTargets (pt.2)
#rb ryan.schmidt jimmy.andrews
#jira none
#rnx
#preflight 605a54c0e8944a0001585162

[CL 15799514 by lonnie li in ue5-main branch]
2021-03-24 11:11:02 -04:00
Ryan Schmidt
3ee8ff857f GeometryProcessing: define FVector2i/3i, FInterval1i, and FAxisAlignedBox2i/3i as explicit classes rather than template instantiations of real-vector types. Update usage. This is necessary to avoid conflict with engine LWC vector template types.
#rb none
#rnx
#jira none

[CL 15792712 by Ryan Schmidt in ue5-main branch]
2021-03-24 01:53:29 -04:00
ryan schmidt
d964ac88a4 ModelingComponents: fix two different LOCTEXT strings sharing the same key
#rb none
#rnx
#jira UE-110137

#ROBOMERGE-SOURCE: CL 15773049 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v783-15756269)

[CL 15785838 by ryan schmidt in ue5-main branch]
2021-03-23 17:55:20 -04:00
lonnie li
468f813933 ModelingTools: Fix CutMeshWithMeshOp same source asset warning.
#rb ryan.schmidt
#jira none
#preflight 605a2c8f7b7af10001b6914b
#rnx

[CL 15781933 by lonnie li in ue5-main branch]
2021-03-23 14:51:49 -04:00
ryan schmidt
2c2e2be91a MeshModelingToolset: add ToolSelectionUtil::SetNewActorSelection() variant that can select multiple objects. Const fixes.
#rb none
#rnx
#jira none

#ROBOMERGE-SOURCE: CL 15751786 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15754133 by ryan schmidt in ue5-main branch]
2021-03-20 06:52:20 -04:00
semion piskarev
02b015cbb4 Fixing broken Ctrl+click and other modifier behavior in MeshModelingTools by reverting most of the input processing changes from 15676489. Made tools not process inputs captured by viewport flying to keep another issue fixed. Made KeyAsModifierInputBehavior not capture input.
#rb Brooke.Hubert, Ryan.Schmidt
#jira UE-110597, UE-110273
#rnx

#ROBOMERGE-SOURCE: CL 15740999 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v781-15675533)

[CL 15741006 by semion piskarev in ue5-main branch]
2021-03-18 16:02:18 -04:00
Ryan Schmidt
9495a8a112 GeometryProcessing: remove FTransform3f/d and FPlane3f/d from ExplicitUseGeometryMathTypes.h and clean up fallout
#rb none
#rnx
#jira none

[CL 15739090 by Ryan Schmidt in ue5-main branch]
2021-03-18 12:46:27 -04:00
Ryan Schmidt
df497aa095 GeometryProcessing: move FVector2/3/4/f/d back out of UE::Geometry:: namespace
#rb none
#rnx
#jira none

[CL 15733915 by Ryan Schmidt in ue5-main branch]
2021-03-17 21:45:29 -04:00
Ryan Schmidt
6db97af132 GeometryProcessing: FVector2/3/4 refactoring. Move various member functions to standalone functions in UE::Geometry:: namespace, to simplify upcoming conversion to core vector types. Update all call sites.
#rb tyson.brochu, semion.piskarev
#rnx
#jira none

[CL 15732208 by Ryan Schmidt in ue5-main branch]
2021-03-17 19:32:44 -04:00
lonnie li
328b0c0f0b ModelingTools: Replace MultiSelectionTool PrimitiveComponentTarget with ToolTargets (pt.2)
#rb ryan.schmidt jimmy.andrews semion.piskarev
#jira none
#rnx

[CL 15677067 by lonnie li in ue5-main branch]
2021-03-11 11:40:03 -04:00
Jimmy Andrews
b2c0ea3ad9 add Keep First and Keep Last Source options to the modeling tool OnAcceptProperties, so users can keep the "operator" mesh(es) around when doing mesh booleans and similar
#rb david.hill
#rnx

[CL 15673884 by Jimmy Andrews in ue5-main branch]
2021-03-10 23:10:46 -04:00
David Hill
2dac085b8b Geometry Processing: Mesh Conversions. Allow updating a MeshDescription UVs when the underlying mesh hasn't changed. Enable this use in the UV editing tools.
#jira none

#rb jimmy.andrews

[CL 15666418 by David Hill in ue5-main branch]
2021-03-10 11:49:54 -04:00
Jimmy Andrews
3b3c77c999 add ghostly previews of cutting surfaces for mesh boolean subtraction and for mesh trimming
also only show gizmo for subtracting/trimming mesh

#rb lonnie.li
#rnx

[CL 15662686 by Jimmy Andrews in ue5-main branch]
2021-03-09 21:27:22 -04:00
Ryan Schmidt
ffe3b401cd GeometryProcessing: move all public types in GeometryProcessing plugin into UE::Geometry:: namespace, as well as some code in MeshModelingToolset. Fix fallout in Water, Paint Mode, ChaosEditor, DataPrep, Text3D, Unit Tests, internal projects.
#rb jimmy.andrews, semion.piskarev
#jira none

[CL 15661651 by Ryan Schmidt in ue5-main branch]
2021-03-09 19:33:56 -04:00