Commit Graph

175 Commits

Author SHA1 Message Date
jimmy andrews
762d32878c make 'mesh to collision' tool's box detection algorithm look for 6 shared planes rather than 6 shared triangle normal directions + make it early-out if it finds more than 6. Fixes staircases being detected as boxes.
#jira UE-183642
#rb tyson.brochu

[CL 27839819 by jimmy andrews in ue5-main branch]
2023-09-13 13:50:38 -04:00
matija kecman
84bdab0304 Support Geometry Selection in the Tangents tool and fix some bugs
#jira UE-181650
#rb jimmy.andrews

[CL 27584315 by matija kecman in ue5-main branch]
2023-09-04 07:29:03 -04:00
rinat abdrashitov
4ccfed2a3d Fixed a bug where overlay normals were used instead of the per-vertex normals.
#rb david.hill
#rnx

[CL 26743550 by rinat abdrashitov in ue5-main branch]
2023-08-01 12:45:38 -04:00
rinat abdrashitov
ac8014e909 Added ability to specify force inpaint mask via weight map name in addition to just plain array.
#rb jimmy.andrews
#rnx

[CL 26583207 by rinat abdrashitov in ue5-main branch]
2023-07-25 14:34:41 -04:00
jimmy andrews
02a0a370eb add variant of mesh projection hull that keeps 3d hull on one side of the projection
#rb rinat.abdrashitov

[CL 26469457 by jimmy andrews in ue5-main branch]
2023-07-19 16:20:22 -04:00
rinat abdrashitov
4ef78ca57e -Added an operator for smoothing overlays of any dimension containing any scalar data
-Added a function for computing per-edge cotangent weights
-Added a function for computing edge lengths
-Added a geometry script function for bluring colors

#rb david.hill
#jira none

[CL 26029009 by rinat abdrashitov in ue5-main branch]
2023-06-15 18:19:32 -04:00
rinat abdrashitov
7f43547bc2 Added an operation to compute per-vertex averaged value of all overlay elements.
#rb david.hill
#jira none

[CL 26022763 by rinat abdrashitov in ue5-main branch]
2023-06-15 15:18:03 -04:00
rinat abdrashitov
420dc7a32c -Add optional smoothing of weights after transfer.
-Add support for multulayerd meshes.
-Add an option to compute the laplacian on intrisic mesh.
-Add a mask to force computation of inpainted weights.
-Add the laplacian energy term.
-Improved peformance by getting the sparse matrix from the solve and then iterating over all (most zero) values.


#rb halfdan.ingvarsson
#rnx
#jira none

[CL 26019677 by rinat abdrashitov in ue5-main branch]
2023-06-15 13:48:31 -04:00
semion piskarev
d27ea02f0c MeshModelingTools: Subdivide tool improvements dealing with meshes with open boundaries.
- Factor out "extra corner" finding code from PolyEd and add support for it in subdivide tool.
- Add support for rounded corners for mesh boundaries.
- Override subdivision scheme during tool usage rather than just at tool start, to allow extra corners to fix some issues.
- Add some clarifying comments about schemes.

#rb Jimmy.Andrews
#jira UE-185416

[CL 26011610 by semion piskarev in ue5-main branch]
2023-06-15 08:56:02 -04:00
rinat abdrashitov
143c49bed6 -Added a funciton to MeshLocalParam to return an array of points with set UVs.
-Added a function to smooth weights for an array of vertices and all vertices within a geodesic distance away from them.


#rb  jimmy.andrews
#jira none
#rnx

[CL 25956360 by rinat abdrashitov in ue5-main branch]
2023-06-13 13:19:10 -04:00
rinat abdrashitov
347165bea8 -Added SmoothBoneWeights geometry operator that will contain a collection of algorithms for smoothing skin/bone weights.
-Refactored the SkinWeightsPaintTool to use the new operator.

#rb david.hill
#rb kiaran.ritchie
#jira none

[CL 25879825 by rinat abdrashitov in ue5-main branch]
2023-06-08 15:45:35 -04:00
jimmy andrews
4d1a9e879c Move some commonly-used mesh functionality from the DynamicMesh module over to GeometryCore, including DynamicMeshEditor, mesh booleans, and some selection handling
#rb ryan.schmidt, matija.kecman

[CL 25874830 by jimmy andrews in ue5-main branch]
2023-06-08 12:40:29 -04:00
semion piskarev
a8b95f326c MeshModelingTools: Fix expand/contract selection not working correctly in some circumstances for edge/face selections due to considering border vertices solely based on neighboring vertices being in selection, rather than neighboring elements of the selection type.
#rb Ryan.Schmidt
#jira UE-182166
#preflight 6470bf745d3ca2dfd9a093f4

[CL 25647926 by semion piskarev in ue5-main branch]
2023-05-26 13:02:47 -04:00
rinat abdrashitov
4cd6715e87 Added a new overload for the TransferWeightsToPoint method that can take scalar bone data arrays.
#rb halfdan.ingvarsson
#rb david.hill
#jira none
#preflight 64642c9f11205d35737a3f4a
#rnx

[CL 25502139 by rinat abdrashitov in ue5-main branch]
2023-05-16 21:43:35 -04:00
rinat abdrashitov
7291b58cca Added a new transfer weight method to the FTransferBoneWeights operator.
#rb halfdan.ingvarsson
#jira none
#rnx
#preflight 645d32072965f6ea8ea7b487

[CL 25432672 by rinat abdrashitov in ue5-main branch]
2023-05-11 14:46:46 -04:00
rinat abdrashitov
280dbdc830 Extra comments for the ConstructFullCotangentLaplacian function.
#rb trivial
#rnx
#preflight none

[CL 25417500 by rinat abdrashitov in ue5-main branch]
2023-05-10 17:31:06 -04:00
matija kecman
7b090b69c0 Add Geometry Selection visualization to Normals tool
#jira UE-183457
#preflight 64492eecb208f61af87912db
#rb ryan.schmidt

[CL 25199891 by matija kecman in ue5-main branch]
2023-04-26 11:54:13 -04:00
nathan mitchell
a0dee240cb UVEditor: Enable support for UV island normalization in Layout operations.
#rb Jimmy.Andrews
#preflight 644197e6f126d87e459890db

[CL 25155917 by nathan mitchell in ue5-main branch]
2023-04-21 19:15:16 -04:00
Steve Robb
2752fb2981 Fixed mismatched copy constructor/assignment operator in UE::MeshDeformation::CotanTriangleData and UE::MeshDeformation::MeanValueTriangleData.
#rb david.hill
#jira none
#preflight none

[CL 25153491 by Steve Robb in ue5-main branch]
2023-04-21 16:56:00 -04:00
Steve Robb
15e0d5668c Fixed mismatched copy constructor/assignment operator in FMeshEdgeSelection.
#rb none
#jira none
#preflight none

[CL 25151931 by Steve Robb in ue5-main branch]
2023-04-21 15:36:23 -04:00
Steve Robb
2c53018638 Fixed mismatched copy constructor/assignment operator in FMeshSurfaceDirection.
#rb none
#jira none
#preflight none

[CL 25151837 by Steve Robb in ue5-main branch]
2023-04-21 15:32:56 -04:00
matija kecman
0dcd983404 Add Geometry Selection support to the Normals tool
This code was reviewed here https://p4-swarm.epicgames.net/reviews/25007278 but that CL was into //UE5/Main. We want the change to be into //Fortnite/Main, hence this CL

#jira UE-181649
#preflight 6442a3894944ef78926d17a3
#rb semion.piskarev, jimmy.andrews, ryan.schmidt

[CL 25150696 by matija kecman in ue5-main branch]
2023-04-21 14:49:34 -04:00
ryan schmidt
177f9e073c ModelingTools: add support for Mesh Selection to Generate Polygroups / Convert To Polygons Tool.
Base class is changed to USingleTargetWithSelectionTool.
When selection is provided, a UPreviewMesh for the unselected area is created and used.
A FSharedConstDynamicMesh3 is used to wrap either the original mesh or the selected submesh, and passed to the Operator (which also now takes a FSharedConstDynamicMesh3)
On shutdown, modified submesh is re-integrated into original mesh (in this case a trivial group copy suffices) and a new selection is emitted
#rb david.hill
#preflight 644036d1090323f9a31509d4
#jira UE-181651

[CL 25149588 by ryan schmidt in ue5-main branch]
2023-04-21 14:07:01 -04:00
Steve Robb
421ed84cdf Fixed mismatched copy constructor/assignment operator in FMeshFaceSelection and FTangentTri2.
#rb none
#jira none
#preflight none

[CL 25084773 by Steve Robb in ue5-main branch]
2023-04-18 08:56:11 -04:00
Devin Doucette
32c049c3f5 Removed some includes of Function.h in Core
#preflight 6435cf83127980724b0f16b9
#rnx

[CL 25006462 by Devin Doucette in ue5-main branch]
2023-04-12 10:05:50 -04:00