Commit Graph

397 Commits

Author SHA1 Message Date
Andrew Davidson
3ddc3a4da3 Merge up from //UE5/Dev-LargeWorldCoordinates
#rb none

[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -04:00
tyson brochu
56d8f20f4c Refactor TPropertyWatcher back into a single class. There are now two types of constructor: one that takes a custom "!=" test function, and one that uses the built in operator for the type. If the type does not have a "!=" operator available, the caller is forced to use the constructor that specifies a custom test function.
#rnx
#preflight 6091789d5f41bc0001c7cfbf

[CL 16196522 by tyson brochu in ue5-main branch]
2021-05-04 14:01:08 -04:00
tyson brochu
ec50f02f98 Adding a multi-texture bake mode to the texture bake tool. User can bake a different texture per material region. Defaults to trying to find an Albedo texture for each material on the input mesh, but the textures to bake can be specified by the user.
Also adding a mode to bake MaterialIDs as colors.

#jira UETOOL-3071
#rb ryan.schmidt lonnie.li

[CL 16173135 by tyson brochu in ue5-main branch]
2021-04-30 17:04:37 -04:00
semion piskarev
e573558985 MeshModelingTools: Multiple default material fixes. Made LineSetComponentMaterial thicken in the correct direction in ortho, added dashed/dimmed occlusion for overlaid version, disabled EyeAdaptationInverse for ortho in translucent materials because it does not work there, made depth offset work in ortho, split translucent-mode materials from opaque ones since opaque has fewer limitations, changed several mechanics to get material via ToolSetupUtil instead of directly, changed the "soft" point material to be a proper round points material since this is what it was used for. Made MeshInspector not use too large values for its depth offset.
#rb Ryan.Schmidt
#rnx
#jira none

[CL 16167658 by semion piskarev in ue5-main branch]
2021-04-30 09:22:12 -04:00
semion piskarev
8382646367 MeshModelingTools: Trivial PolyExt edit condition fix (snap to lengths depends on snap to angles).
#rb David.Hill
#rnx
#jira UE-103892

[CL 16127975 by semion piskarev in ue5-main branch]
2021-04-27 11:10:14 -04:00
semion piskarev
12e1230cfc MeshModelingTools: Making some PolyEdit properties disable themselves when they would not do anything, and making them work more predictably.
#rb David.Hill
#rnx
#jira none

[CL 16127948 by semion piskarev in ue5-main branch]
2021-04-27 11:08:23 -04:00
semion piskarev
773ecfbb6a MeshModelingTools: Allow programmatic changes to properties to update detail panel properly.
#rb Lonnie.Li
#rnx
#jira UE-103980, UE-101251, UE-96691

[CL 16127920 by semion piskarev in ue5-main branch]
2021-04-27 11:06:18 -04:00
David Hill
233feac9eb MeshModelingTools : MeshAttributePaintTool - fix bug that resulted from change to color overlay.
#jira UE-114053
#preflight 6080a6151046fb0001c11e84
#rb ryan.schmidt
#rnx

[CL 16083646 by David Hill in ue5-main branch]
2021-04-21 19:09:25 -04:00
michael balzer
f19e0baa50 MeshModelingTools: Fix height subdivision property min when adding box shape primitive.
#jira UE-113319
#rb semion.piskarev
#rnx

[CL 16076999 by michael balzer in ue5-main branch]
2021-04-21 13:39:36 -04:00
Jimmy Andrews
df95c244ff change plane cut hotkeys for cut/flip-plane from A,S to T,R, to avoid overlap with WASD + have some mneumonic connection (cuT, Reverse)
#rnx
#rb semion.piskarev
#preflight 607f4018d4e6700001d4d015

[CL 16067145 by Jimmy Andrews in ue5-main branch]
2021-04-20 18:16:23 -04:00
semion piskarev
5b4d2a244d MeshModelingTools: Trivial tweaks- updated PolyPath help text to not refer to inexistent hotkeys. Updated tooltips in group edge/loop insertion tools since retriangulation doesn't lose UV's. Set default edge insertion mode in group edge tool to the same as edge loop tool.
#rb Jimmy.Andrews
#jira none
#rnx

[CL 16062412 by semion piskarev in ue5-main branch]
2021-04-20 11:59:49 -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
Jimmy Andrews
46929f2711 remove editconditionhides from the single 'advanced' option on plane cut tool (FillSpans), because when it's hidden that leaves a confusing 'show advanced options' arrow toggle that toggles zero options
#rb trivial
#rnx
#preflight 607da2c142dbff000153b298

[CL 16051884 by Jimmy Andrews in ue5-main branch]
2021-04-19 12:27:41 -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
lonnie li
20086414b0 GeometryProcessing: Add selective occlusion map type support in OcclusionMapBaker.
#rb Jimmy.Andrews
#jira none
#rnx
#preflight 607899244af1c70001840dba

[CL 16026031 by lonnie li in ue5-main branch]
2021-04-15 16:40:58 -04:00
Jimmy Andrews
3d38d30d4f fix transforms breaking on CSG meshes when toggling only-use-first-mesh-materials setting
#jira UE-113498
#preflight 6077956d5349e20001362939
#rb lonnie.li
#rnx

[CL 16021738 by Jimmy Andrews in ue5-main branch]
2021-04-15 11:13:12 -04:00
Jimmy Andrews
5ea43e3f8b plane cut cleanup:
- add comment and editcondition for FillSpans, move next to FillCutHole
 - move default setting values consistently in to the struct, rather than being half there and half in the constructor
 - move action buttons to use a PendingAction variable and actually do the action in the OnTick, rather than doing the action in the handler -- this lets the actions get the correct transaction labels in the undo history

#rb david.hill
#rnx
#preflight 6077a8f640861d0001ca2926

[CL 16021733 by Jimmy Andrews in ue5-main branch]
2021-04-15 11:12:55 -04:00
Jimmy Andrews
9fc7c21f0c add lower bound and comment/tooltip description for Thickness parameter in mesh attribute baker
#rb ryan.schmidt
#rnx
#preflight 607794c91fa99900011d5e00

[CL 16015984 by Jimmy Andrews in ue5-main branch]
2021-04-14 22:02:06 -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
Patrick Laflamme
c7efbaadc6 Zero-initialized to uninitialized UStruct members in LODManagerTool and CollisionPeroertySets
#jira UE-113316 //UE5/Main - Cook Frosty - Multiple Tools struct members not initialized properly
#rb Ryan.Schmidt, Tyson.Brochu

[CL 15994907 by Patrick Laflamme in ue5-main branch]
2021-04-13 17:06:43 -04:00
ryan schmidt
690f5e025e ModelingTools: add option to place Pivot at World Origin in EditPivotTool
#rb
#rnx
#jira
#lockdown nick.whiting

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

[CL 15989631 by ryan schmidt in ue5-main branch]
2021-04-13 10:27:54 -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
semion piskarev
97050f450a MeshModelingTools: Various fixes to make volumes work better with our tools. Specifically:
- Changed triangulation of volume polygons to Delaunay to avoid degenerate tris when possible.
- Added ability to set degenerate tri normals to neighbor normal to avoid creating nonplanar volume polygons if degenerate tris do appear.
- Created a path to use FPolys instead of bsp nodes to convert from volumes, as nodes get broken up arbitrarily.
- Gave volume conversion the ability to preserve group boundary edges.
- Changed PlanarFlipsOptimization to correctly deal with degenerate tris, and to respect group boundaries.
- Added legacy cleanup code that Ryan ported to make volume faces convex.
- Changed our version of the convexity code to avoid arbitrary precision cutoff, and to remove one of the places we were arbitrarily throwing away colinear verts.
- Changed on-the-fly conversion options to not try to fill cracks, as this seems to worsen any problems further.

#rb Jimmy.Andrews, Ryan.Schmidt
#lockdown simon.tourangeau
#rnx
#jira UE-107140

#ROBOMERGE-OWNER: semion.piskarev
#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 15953732 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)
#ROBOMERGE-CONFLICT from-shelf

[CL 15971476 by semion piskarev in ue5-main branch]
2021-04-10 10:00:12 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Ryan Schmidt
4e00407e24 ModelingTools: minor fixes. Use world grid snapping regardless of world/local setting in AddPrimitiveTool. Disable instead of Hide unavailable settings in DrawPolygonTool
#rb none
#rnx
#jira UE-103168, UE-108901

[CL 15936728 by Ryan Schmidt in ue5-main branch]
2021-04-06 19:51:47 -04:00