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
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
ryan schmidt
a965e7113c
ModelingTools: properly save ROI of Decompose and Merge operations in PolyEdit. Also handle case of deleting entire mesh in PolyEdit and TriSelect tools (not allowed).
...
#rb none
#rnx
#jira UE-112687, UE-112400
#ROBOMERGE-SOURCE: CL 15919748 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15921228 by ryan schmidt in ue5-main branch]
2021-04-05 15:05:51 -04:00
jimmy andrews
e4a9108d14
Add a plane flip button/hotket and rotation snapping option to the plane cut tool
...
#rb semion.piskarev david.hill
#rnx
#preflight 60678db0aa0ed800017aaec0
#ROBOMERGE-SOURCE: CL 15906259 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15907368 by jimmy andrews in ue5-main branch]
2021-04-02 20:38:44 -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
tyson brochu
b2230584d7
HoleFill tool: optionally try to fill single-triangle holes first. Don't create new UV islands for these filled triangles, instead try to attach them to adjacent UV islands.
...
#rb jimmy.andrews
#ROBOMERGE-SOURCE: CL 15868315 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
[CL 15868369 by tyson brochu in ue5-main branch]
2021-03-30 17:39:22 -04:00
semion piskarev
2b47a6cf86
MeshModelingTools: Changing edge loop insertion and group edge insertion to use undo like PolyEdit does, both to fix invisibility bug and to prep for eventual movement into PolyEdit. Also made loop insertion highlight non-quad groups when a loop is stopped.
...
#rb Jimmy.Andrews, Ryan.Schmidt
#jira UETOOL-2405, UETOOL-2854
#rnx
#ROBOMERGE-OWNER: semion.piskarev
#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 15850950 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)
#ROBOMERGE-CONFLICT from-shelf
[CL 15852933 by semion piskarev in ue5-main branch]
2021-03-29 13:39:32 -04:00