204 Commits

Author SHA1 Message Date
jimmy andrews
ce01672929 make most primitives not apply xy bounds centering, since they are already centered and the bounds center can be slightly off the 'true' center especially at very low sample counts
#jira UE-214274
#rb David.Hill

[CL 36755486 by jimmy andrews in 5.5 branch]
2024-10-01 19:08:18 -04:00
semion piskarev
557edc7c12 MeshModelingTools: Make bridge action have correct selection in TriEdit after completion.
#jira UE-224700
#rb nickolas.drake

[CL 36446625 by semion piskarev in 5.5 branch]
2024-09-19 15:14:35 -04:00
jimmy andrews
e6f3b73dd4 cis fix for incorrect init of temp tri selection in editmeshpolygonstool.cpp
#rb jimmy.andrews

[CL 36445850 by jimmy andrews in 5.5 branch]
2024-09-19 14:57:14 -04:00
semion piskarev
af1a9adcc5 MeshModelingTools: Fix extrude distance adjustment (to keep boundaries "even") not working properly in cases where extrude direction is not in plane of the corner. Fix flipping of extrude direction when extrude distance was negative before being set negative again.
#rb Jimmy.Andrews
#jira UE-224527, UE-208848

[CL 36444398 by semion piskarev in 5.5 branch]
2024-09-19 14:29:34 -04:00
jimmy andrews
f04211f441 make polygroup edit and triangle edit tools auto-convert input selections if they're the wrong topology type, rather than discarding them.
+ Also translate mode-level polygroup edge selections (without corners) to tool polygroup edge selection w/ corners if needed.

#jira UE-224600
#rb semion.piskarev

[CL 36444217 by jimmy andrews in 5.5 branch]
2024-09-19 14:22:35 -04:00
semion piskarev
f20a852f4e MeshModelingTools: Change some primitive creation tools to default to PerQuad, and make LatLong sphere PerFace not be the same as PerShape (and be same as PerQuad).
#rb Jimmy.Andrews

[CL 36440969 by semion piskarev in 5.5 branch]
2024-09-19 13:28:12 -04:00
Ryan Hummer
4af2fd066d Updating Dev-Release-5.5 from Main at CL #36144969
#okforversepublic

[CL 36146571 by Ryan Hummer in Dev-5.5 branch]
2024-09-10 10:26:02 -04:00
semion piskarev
c8c43b0262 MeshModelingTools: Various collapse, weld, and bridge improvements in PolyEd and TriEd:
- Allow edge collapse to work on polygroup edges.
- Allow weld and bridge to work on sequences of polygroup edges.
- Allow all three to start with a vertex selection.
- Make all three set their selection appropriately on completion.
- Allow collapse to be a lot more permissive about what is allowed to be collapsed.
- Prevent WeldEdgeSequence from incorrectly failing due to edge movements that it does during its own weld sequence.

#rb nickolas.drake
#jira UE-213983

[CL 35809277 by semion piskarev in ue5-main branch]
2024-08-26 16:08:53 -04:00
lonnie li
8734863573 ModelingTools: Fixed InsertEdgeLoops tool in the Select tool bar initializing to the wrong topology type.
Disallow InsertEdgeLoops, InsertEdges and SimplifyByGroups tools in Triangle selection mode.

#rb semion.piskarev
#jira UE-222035

[CL 35741943 by lonnie li in ue5-main branch]
2024-08-22 11:25:23 -04:00
marc audy
35f9ed49f3 Eliminate MSVC vtable padding and other packing cleanup in the associated classes
#rnx

[CL 35238395 by marc audy in ue5-main branch]
2024-08-01 01:01:38 -04:00
roey borsteinas
31ffb20fb6 [Modeling Tools]: Changed the default target requirements for most tools and tool builders to use UDynamicMeshProvider/Commiter. Only specific tools that directly get the MeshDescription in non-optional ways.
#rb lonnie.li

[CL 34648063 by roey borsteinas in ue5-main branch]
2024-06-25 13:59:43 -04:00
brandon schaefer
e64748d3de Disable the top modules that are not currently set to enable AutoRTFM
#rb neil.henning

[CL 34015003 by brandon schaefer in ue5-main branch]
2024-05-30 17:59:48 -04:00
benoit gadreau
77adc25814 DynamicMeshProvider: full support for MeshDescription LODs when converting to DynamicMesh
a FGetMeshParameters parameter is now used to request a specific LOD, as well as the option of requesting tangents
    this will also allow further customization in the future, if required, by adding attributes to the FGetMeshParameters struct


#rb halfdan.ingvarsson, Jimmy.Andrews
#rnx

[CL 33681647 by benoit gadreau in ue5-main branch]
2024-05-16 04:43:12 -04:00
jimmy andrews
9fc49c9ccc Clarify when the Rotation setting is used in the Add Primitive tools by disabling it when it is not applicable, renaming it to Initial Rotation, and expanding its tooltip.
#jira UE-214750

#rb lonnie.li

[CL 33606316 by jimmy andrews in ue5-main branch]
2024-05-13 13:38:19 -04:00
lonnie li
2af59d333c ModelingTools: Fixed Inset tooltip error in PolyEdit/TriEdit.
[CL 33590054 by lonnie li in ue5-main branch]
2024-05-10 18:30:43 -04:00
jimmy andrews
13248f61db make poly edit bevel tool refuse to start when there are no bevel-able edges in the current selection + make bevel of polygroup faces succeed when only some of the selection-bordering edges are boundary edges
#jira UE-208817
#rb David.Hill

[CL 33232945 by jimmy andrews in ue5-main branch]
2024-04-25 11:33:43 -04:00
jimmy andrews
87679c1c76 Make draw polygon, draw polypath, and draw-and-revolve tools initialize with a 'reasonable' drawing frame instead of starting at the origin
#jira UE-185651

Where reasonable means centered on the selection (if available), or otherwise centered in the view.
If a geometry element is selected, we will also align to that (e.g., aligning to the plane of a selected triangle)
#rb David.Hill

[CL 33182868 by jimmy andrews in ue5-main branch]
2024-04-23 18:39:48 -04:00
jimmy andrews
b52d855dbe allow edit tri tool to collapse seam edges
#rb David.Hill

[CL 33109276 by jimmy andrews in ue5-main branch]
2024-04-19 13:40:58 -04:00
lonnie li
78fbbf5f4b ModelingTools: Fix typo in the Cone primitive tooltip for the radial slices property.
[CL 33055331 by lonnie li in ue5-main branch]
2024-04-17 19:31:10 -04:00
jimmy andrews
ceba3641f4 Improvements to capsule generator (and corresponding add capsule tool and geometry script node):
+ Add a cylinder-section subdivision parameter, to control tesselation
 + Make UVs consistent across different subdivision / hemisphere step amounts
#rb David.Hill

[CL 33038867 by jimmy andrews in ue5-main branch]
2024-04-17 12:20:16 -04:00
jimmy andrews
632ff3a002 add capsule primitive tool
#rb jimmy.andrews

[CL 32937140 by jimmy andrews in ue5-main branch]
2024-04-12 14:06:16 -04:00
jimmy andrews
faeb30bea8 make tools use a more consistent path to get dynamic meshes from tool targets
#jira UE-200228
#rb David.Hill

[CL 32004665 by jimmy andrews in ue5-main branch]
2024-03-04 18:35:47 -05:00
semion piskarev
975c17f5f1 ModelingTools: Minor inset, extrude, and push/pull option renames, reordering, and tooltip cleanup.
#rb David.Hill
#jira UE-200615, UE-200623

[CL 31525899 by semion piskarev in ue5-main branch]
2024-02-15 13:16:13 -05:00
nickolas drake
80dffdfbf9 MeshModelingToolset: Allow snapping to objects in scene when using DrawPolygonTool even when the camera is positioned such that the raycast does not hit the tool plane.
We now early out when the raycast misses the plane if snapping is disabled. If the tool plane is missed, then we use a point along the camera ray to find scene snap point (passed to FindSceneSnapPoint). A related bug is also fixed in this change in the snapping manager which caused only small sections of snappable edges to be considered. This was because the point passed to FindSceneSnapPoint was used to find a point on the 3 edges of a hit triangle, which is sensitive to camera position. Instead, we now use the raycast's impact point for the purposes of finding snap points on edges.

#rb Jimmy.Andrews, semion.piskarev
#jira UE-203169

[CL 31480016 by nickolas drake in ue5-main branch]
2024-02-14 12:23:44 -05:00
jimmy andrews
12f0f3a413 stop assuming that the group topology edge IDs are the same as the corresponding mesh edge IDs in the tri edit extrude activity
#jira UE-206059
#jira UE-206051
#rb rinat.abdrashitov

[CL 31445738 by jimmy andrews in ue5-main branch]
2024-02-13 16:08:13 -05:00