Commit Graph

110 Commits

Author SHA1 Message Date
jimmy andrews
c2c4465c98 fix polyedit extrude distance not having a max
#jira UE-162563
#rb david.hill
#rb tyson.brochu
#preflight 6328d8c2b40000c8f031ee06

[CL 22088934 by jimmy andrews in ue5-main branch]
2022-09-20 01:40:11 -04:00
david hill
5bbbb78af0 AddPrimitiveTool - Disc primitive, Punctured Disc. Don't let the inner radius exceed the outer
#jira UE-109022
#preflight 63235b73600516561b0d4c85
#rb Tyson.Brochu

[CL 22052305 by david hill in ue5-main branch]
2022-09-16 12:46:36 -04:00
tyson brochu
9efcc70606 ModelingComponents/Selection:
- create a new MeshTopologySelector base class. The existing GroupTopologySelector class now inherits from it, as does a new BoundarySelector class
- likewise, create a new MeshTopologySelectionMehchanic base class and have (existing) PolygonSelectionMechanic and (new) BoundarySelectionMechanic inherit from it
- the new Boundary classes use FMeshBoundary loops to define selectable loops rather than FGroupTopology

HoleFillTool:
- change to using BoundarySelectionMechanic instead of GroupTopologySelector

Misc:
- allow FMeshBoundaryLoops to fail untangling a loop with bowties but still continue processing other loops


#jira UE-144821
#rb jimmy.andrews
#preflight 63222176e93a80888cb7d3df

[CL 22013854 by tyson brochu in ue5-main branch]
2022-09-14 15:25:19 -04:00
rinat abdrashitov
088dd11b8e Fixed a bug where the number of the vertical slices being generated is always off by one in the Sphere Primitive Tool.
#rb david.hill
#jira UE-155964
#preflight 6320aed8bc40358fa2a35ad5

[CL 21991971 by rinat abdrashitov in ue5-main branch]
2022-09-13 16:37:27 -04:00
semion piskarev
6cac8b3c12 MeshModelingTools: Fix PolyEd doing full proxy updates while dragging gizmo.
#rb Jimmy.Andrews
#jira UE-156868
#preflight 631bacbad135b61bc57933a5

[CL 21984896 by semion piskarev in ue5-main branch]
2022-09-13 12:19:06 -04:00
bryan sefcik
0eeac455e0 Pass 3 on cleaning up build.cs files.
#jira
#preflight 631b9c15d31788ea3ab0f27b

[CL 21935601 by bryan sefcik in ue5-main branch]
2022-09-10 00:02:58 -04:00
jimmy andrews
713456a6f0 LWC fixes for polyedit and polypath tools: Keep preview meshes centered near the origin, with translation on the transform rather than baked, because rendering stores the mesh vertices in floating point
#jira UE-158024
#jira UE-158002
#rb tyson.brochu
#preflight 631a4804ec45fbf3d741b365

[CL 21916252 by jimmy andrews in ue5-main branch]
2022-09-09 01:37:45 -04:00
Jimmy Andrews
b19a464d51 fix ensure due to out-of-date spatial data after failed bridge in polyedit tool
#jira UE-162905
#rb david.hill
#preflight 63125b44ec45fbf3d76c2c6e

[CL 21768118 by Jimmy Andrews in ue5-main branch]
2022-09-02 17:29:21 -04:00
Jimmy Andrews
3361328ca8 fix issues with scaled input meshes in edit polygons tool by baking the transform
#rb ryan.schmidt
#preflight 630fa483501b64ba336d2c78

[CL 21734180 by Jimmy Andrews in ue5-main branch]
2022-08-31 20:31:58 -04:00
Jimmy Andrews
d1ef80c8e0 add F-to-focus support to 'add primitive' tools
#rb semion.piskarev
#preflight 630fa99a501b64ba336d6963

[CL 21725843 by Jimmy Andrews in ue5-main branch]
2022-08-31 15:03:06 -04:00
Jimmy Andrews
3f0fdaddb4 When applying MeshTransforms' transform and transforminverse, generally pass bReverseOrientationIfNeeded=true
(+ for code that was passing false then manually applying the same logic, remove the extra reverse orientation logic)

#rb david.hill
#preflight 630d245fe352708d44f9e007

[CL 21706500 by Jimmy Andrews in ue5-main branch]
2022-08-30 14:40:56 -04:00
semion piskarev
c17c1bd788 MeshModelingTools: Give ability to add extra corners in PolyEd for manipulation of some common open-boundary cases (like a disconnected rectangle, for instance). Also show selectable corners by default (but smaller).
#rb Matija.Kecman
#jira none
#preflight 6307ab3859064f9d1e43c1fb

[CL 21568934 by semion piskarev in ue5-main branch]
2022-08-25 14:06:37 -04:00
michael balzer
87434d10c7 MeshModelingTools: Remove redundant bSnapToGrid property
#preflight 6306abfe03520e063c1286d3
#jira UE-152108

[CL 21566278 by michael balzer in ue5-main branch]
2022-08-25 11:56:30 -04:00
Jimmy Andrews
68c7126a7c make more mesh creation tools generate tangents for their created meshes
(PolyExt, PathExt, PathRev, and BdryRev)

#jira UE-141656

#rb david.hill
#preflight 6307950c6f3401e0225dfa29

[CL 21566086 by Jimmy Andrews in ue5-main branch]
2022-08-25 11:51:02 -04:00
Ryan Schmidt
aaae6ba14c ModelingTools: disable the OutputType property panel on CutMeshWithMeshTool, as it is not currently supported.
#rb trivial
#preflight 630683980061f895d04d6f6e
#jira UE-141210

[CL 21550759 by Ryan Schmidt in ue5-main branch]
2022-08-24 16:14:52 -04:00
Ryan Schmidt
986547914e Move GeometrySelection.h and GeometrySelectionUtil.h to GeometryProcessing plugin. Move types in GeometrySelection.h into UE::Geometry:: namespace. Fix up usage sites.
#rb none
#preflight 62d1c7222e3e5993c351a126

[CL 21117964 by Ryan Schmidt in ue5-main branch]
2022-07-15 17:53:52 -04:00
Ryan Schmidt
6032c02f0e ModelingMode: add Delete command for current Mesh Selection
ToolsFramework:
add UInteractiveCommand and UInteractiveCommandArguments types, base classes for 'interactive commands' which are intended to be used for atomic actions, ie stateless, no user interaction, etc
ModelingComponents:
add UGeometrySelectionEditCommand/Arguments, this is a UInteractiveCommand that uses a FGeometrySelection as an argument
add UGeometrySelectionManager::CanExecuteSelectionCommand() and ExecuteSelectionCommand()

MeshModelingTools:
add UDeleteGeometrySelectionCommand, deletes selected mesh geometry by converting input selection to list of triangles

ModelingToolsEditorMode:
add Delete command to ModelingMode and UI. ModelingToolsEditorMode currently is keeping active command set alive via new UModelingToolsEditorMode::ModelingModeCommands member.

#rb none
#preflight 62d195b9a66919b6701d89a8

[CL 21113757 by Ryan Schmidt in ue5-main branch]
2022-07-15 13:49:13 -04:00
Nickolas Drake
55a66e16e0 Add Group Edge Welding: Add group edge welding by adding extra vertices to edge that doesn't have enough, then welding edge sequences
#rb Semion.Piskarev
#jira none
#preflight 62a8efbadb45e64426a03d12

[CL 20811431 by Nickolas Drake in ue5-main branch]
2022-06-24 12:52:47 -04:00
Nickolas Drake
6f0bb17b5a EditMeshPolygonsTool.cpp warning: Text conflict from LOCTEXT macro for namespace and key
#rb
#jira UE-156322
#preflight 62a36a82fe519cd51262e0fb

[CL 20597562 by Nickolas Drake in ue5-main branch]
2022-06-10 12:20:09 -04:00
Nickolas Drake
afc23bb332 Add Bridge Edges to PolyEd: Add single to single groupedge bridge action to PolyEd, without welding sides
#rb Semion.Piskarev
#jira none
#preflight 6298e35f0360a10c349d35c1

[CL 20582636 by Nickolas Drake in ue5-main branch]
2022-06-09 15:08:03 -04:00
Nickolas Drake
cb90f2db93 PolyEd Plane Control Gizmo: Change the default visibility of the transform gizmo in PolyEd to visible.
#rb Semion.Piskarev
#jira none
#preflight 62a233fbc85a3dbe3211c056

[CL 20582342 by Nickolas Drake in ue5-main branch]
2022-06-09 14:57:43 -04:00
Ryan Schmidt
39ea0b82bb Improve WeightMap support in Modeling Mode. Duplicate Tool now preserves WeightMaps, conversion between Dynamic and Static meshes properly preserves weight maps and names.
GeometryCore: Add bClearExisting option to FDynamicMeshAttributeSet::EnableMatchingAttributes(). Default true is old behavior. New behavior, when false, is to preserve existing attribute set counts/values. Also now copying group and weight layer names if not set.
ModelingTools: CombineMeshesTool now uses EnableMatchingAttributes instead of only explicitly matching UV layers, so group and weight layers are copied properly to duplicates
MeshConversion: DynamicMeshToMeshDescription now generates unique names in ConvertPolygroupLayers and ConvertWeightLayers. Previously if multiple attribs had the same name (eg NAME_None), output MeshDescription would only have a single attrib w/ that name
#rb david.hill
#preflight 62a116439a3e81e904dde76f

[CL 20570919 by Ryan Schmidt in ue5-main branch]
2022-06-08 23:37:03 -04:00
Nickolas Drake
03f1bda050 PolyEd Plane Control Gizmo: Add hotkey R to hide plane control gizmo in PolyEd
#rb Semion.Piskarev
#jira none
#preflight 62a10233232daff7b3026eac

[CL 20563350 by Nickolas Drake in ue5-main branch]
2022-06-08 16:27:18 -04:00
Nickolas Drake
1400b65d56 ModellingComponents: Add optional corner point visualization to PolyEdit
#rb Simeon.Piskarev
#jira none
#preflight 629fc9d185333f26645be644

[CL 20546816 by Nickolas Drake in ue5-main branch]
2022-06-07 18:25:43 -04:00
Nickolas Drake
b3d58ea48b ModellingComponents: Add drag alignment mechanic to plane control gizmo in PolyExt
#rb Semion.Piskarev
#jira none
#preflight 629a2650551457c8dde15455

[CL 20488292 by Nickolas Drake in ue5-main branch]
2022-06-03 12:42:30 -04:00