Commit Graph

159 Commits

Author SHA1 Message Date
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
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
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
nickolas drake
3e2fa59703 MeshModelingToolset: Update preview when toggling Shells to Solids in PolyEdit extrude activity.
#rb lonnie.li
#jira UE-200622

[CL 31382272 by nickolas drake in ue5-main branch]
2024-02-12 10:26:19 -05:00
jimmy andrews
373b6ec9a1 clamp bevel distance ranges to avoid weird results for negative, zero, and very large bevel distances
#jira UE-205943
#rb tyson.brochu

#changelist validated
#virtualized

[CL 31216850 by jimmy andrews in ue5-main branch]
2024-02-06 11:32:20 -05:00
semion piskarev
9e66ad3792 ModelingTools: Minor comment/name fixes from extrude edge review.
#rb Lonnie.Li
#jira UE-202885

[CL 31187931 by semion piskarev in ue5-main branch]
2024-02-05 15:49:22 -05:00
semion piskarev
1e929a0d89 ModelingTools: Adding icons for various modeling selection activities and PolyEd activities.
#rb Jimmy.Andrews

[CL 31187719 by semion piskarev in ue5-main branch]
2024-02-05 15:43:03 -05:00
semion piskarev
54ce86c9fc MeshModelingTools: Fix edge extrude single direction initialization not matching what happens if you do extrude frames first and then change over.
#rb Jimmy.Andrews
#jira UE-205509

[CL 31101339 by semion piskarev in ue5-main branch]
2024-02-01 16:07:16 -05:00
semion piskarev
f13fe61294 MeshModelingTools: Fix CIS static analysis warning about a place where parameters turned out to be switched.
[CL 31019705 by semion piskarev in ue5-main branch]
2024-01-30 15:54:41 -05:00
semion piskarev
401ed6ed97 MeshModelingTools: Add extrude edge activity to PolyEd and mesh selection. Kept implementating classes in private folder for this release.
#jira UE-202885

[CL 30999688 by semion piskarev in ue5-main branch]
2024-01-30 06:26:44 -05:00
katie caputo
13abd9e3f6 Modeling Tools: Allows 'Q' hotkey to return to 'select' in polygroup edit by changing hotkey for 'Lock Rotation' from 'Q' to 'Ctrl+R'
#JIRA UE-202749
#rb nickolas.drake

[CL 30852239 by katie caputo in ue5-main branch]
2024-01-24 13:11:26 -05:00
katie caputo
6c6188c40d Modeling Tools: Adding AtOrigin functionality to AddPrimitiveTool placement
#JIRA UE-202897
#rb lonnie.li

[CL 30842810 by katie caputo in ue5-main branch]
2024-01-24 10:03:07 -05:00
nickolas drake
d464d2ed09 PolyEdit: Add support for deleting polygroup edges
#rb semion.piskarev
#jira UE-202723

[CL 30660213 by nickolas drake in ue5-main branch]
2024-01-17 11:34:26 -05:00
semion piskarev
10ca42d775 ModelingTools: Remove unreachable ensure(false) that static analysis didn't like, and fix accidental duplicate LOCTEXT key.
#rb lonnie.li

[CL 30632993 by semion piskarev in ue5-main branch]
2024-01-16 09:54:37 -05:00
semion piskarev
3d4bf819a5 ModelingTools: Allow tools to customize the accept/cancel overlay for sub-activitites, and use this in PolyEd.
#rb lonnie.li
#jira UE-196706

[CL 30601293 by semion piskarev in ue5-main branch]
2024-01-12 15:01:55 -05:00
ryan schmidt
08a4212d9b fix various issues with mesh bevel. Boundary-condition normals are now computed before any meshing. DisplaceVertices() now tries to keep terminator vertex positions on existing mesh edges (this should be improved to stay on group edges, in most cases a group edge can be selected topologically, but for now just snapping to mesh edges to handle the simple lowpoly-boxy cases). Simplify/improve computation of section planes in ApplyProfileShape_Round() - in all cases except corners, the section plane is well-defined by the two inset edge points and the original vertex position. This allowed removal of PlanarizeArcNormals function. Also now handling flipped orientation of quad patch relative to edge vertex sequence.
Added more error handling inFQuadGridPatch::InitializeFromQuadPatch. Fixed property invalidating in PolyEdit bevel activity.

[CL 30356938 by ryan schmidt in ue5-main branch]
2023-12-15 14:57:40 -05:00
ryan schmidt
a86e132008 Add support for multi-segment bevels with optional round profile in MeshBevel. The new code path is completely separated from the previous code. Works OK but handling of valence-3 bevel corners (filled with a rounded triangle) could be improved.
Expose in Geometry Script and PolyEdit functions.

[CL 30280525 by ryan schmidt in ue5-main branch]
2023-12-12 17:55:33 -05:00
marc audy
c98c8912ec Fix C4702 warnings
#rnx

[CL 29981814 by marc audy in ue5-main branch]
2023-11-29 01:06:23 -05:00