Commit Graph

368 Commits

Author SHA1 Message Date
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
rinat abdrashitov
30a89f05ee Renamed FSparseMatrixD.h to SparseMatrix.h
#rb jimmy.andrews
#preflight 644acbbdb208f61af8313f07
#rnx

[CL 25239086 by rinat abdrashitov in ue5-main branch]
2023-04-28 16:05:12 -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
semion piskarev
70eb21d078 MeshModelingTools: Make the box finding code in MeshSimpleShapeApproximation prefer to orient the boxes such that they align with the world frame better.
#rb Jimmy.Andrews
#preflight 6447df3f773f23812dab4c49

[CL 25183877 by semion piskarev in ue5-main branch]
2023-04-25 13:27:03 -04:00
semion piskarev
75a68e7934 MeshModelingTools: Add the "Copy From Inputs" option in Mesh to Collision tool transfer existing simple geometry over to the target.
#rb Jimmy.Andrews
#jira UE-182342
#preflight 6447decb773f23812dab3c30

[CL 25183859 by semion piskarev in ue5-main branch]
2023-04-25 13:26:28 -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