345 Commits

Author SHA1 Message Date
lonnie li
4c69dbd68d ModelingTools: Fixed gap in gutter when baking MaterialID in the Bake Textures tool.
#rb jimmy.andrews
#jira UE-191491

[CL 26812515 by lonnie li in 5.3 branch]
2023-08-03 11:37:18 -04:00
rinat abdrashitov
68924f82b7 Fixed a bug where overlay normals were used instead of the per-vertex normals.
#rb david.hill
#jira none
#rnx

[CL 26742217 by rinat abdrashitov in 5.3 branch]
2023-08-01 12:11:31 -04:00
rinat abdrashitov
7e0b38793d Added ability to specify force inpaint mask via weight map name in addition to just plain array.
#rb jimmy.andrews
#jira none
#rnx

[CL 26582928 by rinat abdrashitov in 5.3 branch]
2023-07-25 14:29:39 -04:00
avudnez
2d99473b92 PR #10645: Fix extra parentheses compilation warning with clang-cl
#jira UE-190329
#rb matija.kecman

[CL 26544922 by avudnez in 5.3 branch]
2023-07-24 11:55:36 -04:00
Alex McAdams
295c5be9cf Chaos Cloth Asset: TransferBoneWeights bugfixes.
* Fail gracefully if you don't have any initial matches when doing Inpaint Weights.
* Fix ClothPatternToDynamicMesh to actually populate the NonManifoldMapping data.

#rb rinat.abdrashitov

[CL 26249177 by Alex McAdams in 5.3 branch]
2023-06-26 19:47:22 -04:00
rinat abdrashitov
6d3440ea15 -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

[CL 26054406 by rinat abdrashitov in 5.3 branch]
2023-06-16 11:44:25 -04:00
rinat abdrashitov
30ec28e2d6 Added an operation to compute per-vertex averaged value of all overlay elements.
#rb david.hill

[CL 26053056 by rinat abdrashitov in 5.3 branch]
2023-06-16 11:17:33 -04:00
rinat abdrashitov
39ea54ad19 -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

[CL 26039423 by rinat abdrashitov in 5.3 branch]
2023-06-16 03:22:30 -04:00
semion piskarev
8f0627147d 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 26036654 by semion piskarev in 5.3 branch]
2023-06-16 01:47:18 -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
a772e046fc -Fixed a ConstructMatrixSolver typo.
-Runt the solve for each column in parallel using ParallelFor.
-Allow to set fixed values contraints via a  Dense matrix.
-When calling the Solve allow to output a sparse matrix by prunning small numbers.

#rb tyson.brochu
#jira none
#rnx

[CL 25956288 by rinat abdrashitov in ue5-main branch]
2023-06-13 13:16:06 -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
a499db7630 MeshModelingTools: Allow SimplifyToMinimalPlanar to work on the boundary of meshes.
#rb Jimmy.Andrews
#preflight 6470cef8da61f7b0793b9e3a

[CL 25649558 by semion piskarev in ue5-main branch]
2023-05-26 13:57:25 -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
semion piskarev
c1720ded9d MeshModelingTools: Make FMeshFaceDualGraph support non-compact meshes.
#rb Jimmy.Andrews
#jira UE-184391
#preflight 645ea780cf788a25587a8b27

[CL 25496034 by semion piskarev in ue5-main branch]
2023-05-16 16:02:28 -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
736a61ed45 Fixed typos. Added a missing include that caused Linux CIS errors. Removed redundant destructor.
#rb trivial
#rnx
#preflight none

[CL 25429365 by rinat abdrashitov in ue5-main branch]
2023-05-11 12:18:21 -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
rinat abdrashitov
ba505f1302 Added a quadratic programming class for solving quadratic optimization problems with fixed constraints.
#rb jimmy.andrews
#rnx
#preflight 645bbaa77e39940634a86a6d

[CL 25411174 by rinat abdrashitov in ue5-main branch]
2023-05-10 14:15:04 -04:00
rinat abdrashitov
bf3e16c1af Fixed CIS error
#rb trivial
#rnx
#preflight none

[CL 25408244 by rinat abdrashitov in ue5-main branch]
2023-05-10 12:48:40 -04:00
rinat abdrashitov
b736b9c1a1 Fixed CIS error.
#rb trivial
#rnx
#preflight none

[CL 25407116 by rinat abdrashitov in ue5-main branch]
2023-05-10 12:08:24 -04:00
rinat abdrashitov
1e52145f7b Added slice dense matrix functions.
#rb jimmy.andrews
#preflight 645a8d65013f3751586e4d21

[CL 25406632 by rinat abdrashitov in ue5-main branch]
2023-05-10 11:47:03 -04:00
rinat abdrashitov
fc68d1cae0 -Wrapped FSparseMatrixD in namespace UE::Geometry.
-Removed unused includes.
-Added SparseMatrix.cpp
-Added a function for slicing the sparse matrix.


#rb jimmy.andrews
#preflight 644c0967864f15ebf5e71bef
#rnx

[CL 25309503 by rinat abdrashitov in ue5-main branch]
2023-05-02 18:17:58 -04:00