matija kecman
e596e5d459
Modeling Tools Baking/Approximate Actors: Minor refactoring of MeshGenericWorldPositionBaker
...
#rb lonnie.li
#rnx
#jira none
#preflight 6255d2ff3f5641db59091ee7
[CL 19727436 by matija kecman in ue5-main branch]
2022-04-12 15:59:24 -04:00
matija kecman
f86b12aa0a
Modeling Tools Baking: Remove superfluous FindConnectedTriangles call
...
#rb lonnie.li
#rnx
#jira none
#preflight 625586429a0f82a315181557
[CL 19721291 by matija kecman in ue5-main branch]
2022-04-12 10:58:47 -04:00
Jimmy Andrews
8566e1a762
add convex decomposition options to Msh2Coll tool and geometryscript collision functions
...
#rb rinat.abdrashitov
#preflight 624751ec292f228e09196984
[CL 19594527 by Jimmy Andrews in ue5-main branch]
2022-04-01 16:04:37 -04:00
tyson brochu
768cfab5db
Add scalar weight maps to DynamicMeshAttributeSet
...
- Allow the Attribute Editor Tool to add/delete weight maps from DynamicMesh targets.
- Enable transferring scalar weight maps back and forth between DynamicMesh and MeshDescription.
- Serialize TDynamicAttributeBase::Name when its subclasses are serialized
#rb nathan.mitchell
#preflight 62439b2ab6084b9832307f6e
[CL 19551734 by tyson brochu in ue5-main branch]
2022-03-29 20:04:24 -04:00
rinat abdrashitov
744e9ee8c8
Added the Spectral conformal parameterization option for unwrapping UVs.
...
Refactored existing LSCM/DNCP UV unwrapping since a lot of code is shared with the Spectral method.
#rb david.hill
#rb nathan.mitchell
#jira None
#preflight 62433f4de434babd8ad4ca34
[CL 19547023 by rinat abdrashitov in ue5-main branch]
2022-03-29 15:03:12 -04:00
lonnie li
e13cc72e32
ModelingTools: Properly set identity correspondence strategy in baker when input meshes are the same.
...
#rb jimmy.andrews rinat.abdrashitov
#jira none
#preflight 623dfdb38330d27ee3738551
[CL 19515965 by lonnie li in ue5-main branch]
2022-03-25 13:52:51 -04:00
rinat abdrashitov
9bd9f19d03
Store triangle area value in CotanTriangleData class.
...
Decrease the floor for the small triangle area to handle small yet still visible meshes.
Added the new TriangleArea option to the ECotangentWeightMode.
#rb nathan.mitchell
#jira None
#preflight 623c8e081302f69e9aa19472
[CL 19498265 by rinat abdrashitov in ue5-main branch]
2022-03-24 13:19:02 -04:00
rinat abdrashitov
c45783a02b
Capture variables by reference for the matrix operators.
...
#rb nathan.mitchell
#jira none
#preflight 623c8ec5be1e4104d37ddd81
[CL 19497844 by rinat abdrashitov in ue5-main branch]
2022-03-24 12:43:05 -04:00
nathan mitchell
3c2a27f2b4
UVEditor: Add support for UDIM tile aware processing in the Unwrap tool. Unwrap now processes, when the option is enabled, each UDIM tile separately, handling unwrapping and layout per tile.
...
#rb semion.piskarev
#preflight 623266cb9406c2cfd6c1522b
[CL 19415251 by nathan mitchell in ue5-main branch]
2022-03-16 19:51:12 -04:00
tyson brochu
c3e5842382
Add a "prevent tiny triangles" option to Remesher. Currently the area threshold matches the threshold used when creating a cloth simulation mesh.
...
#rb jimmy.andrews
#preflight 623211d35932902f93551e4d
[CL 19407366 by tyson brochu in ue5-main branch]
2022-03-16 12:41:13 -04:00
nathan mitchell
bb43f34fb7
UVEditor: Implemented initial support for UDIM aware layout in the UVEditor, allowing islands to remain within a tile if they were already there. Additionally changed the UDIM display from asset to use current island positions rather than the UDIM polygroup.
...
#rb Jimmy.Andrews
#preflight 621526880f71e491cccb88a4
[CL 19393298 by nathan mitchell in ue5-main branch]
2022-03-15 16:07:34 -04:00
semion piskarev
b7e8e40563
MeshModelingTools: Fix PolyEd edge selection crash on boundary edges.
...
#rb Ryan.Schmidt
#jira UE-145674
#preflight 622bc01d9b7ce6ea5d4a6e27
#lockdown Simon.Tourangeau
#ROBOMERGE-AUTHOR: semion.piskarev
#ROBOMERGE-SOURCE: CL 19361364 in //UE5/Release-5.0/... via CL 19362052
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)
[CL 19364238 by semion piskarev in ue5-main branch]
2022-03-11 19:03:35 -05:00
semion piskarev
e128741706
MeshModelingTools: make FDynamicMeshEditor::RescaleAttributeUVs not crash on meshes with unset UV's when bWorldSpace is true.
...
#rb Jimmy.Andrews
#jira none
#preflight 622b811cea76b02e34825c00
[CL 19356652 by semion piskarev in ue5-main branch]
2022-03-11 12:13:47 -05:00
ryan schmidt
e7eb759084
DynamicMesh: fix FGroupTopology::GetSelectionFrame for single-edge case, so that output frame correctly aligns X axis with edge line. Previous code was assuming that incoming InitialLocalFrame would have handled aligning Z axis to be perpendicular to the edge line.
...
#rb tyson.brochu
#jira UE-145456
#preflight 622a23d1611f10dd07a6a4fc
#lockdown simon.tourangeau
#rnx
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 19339635 in //UE5/Release-5.0/... via CL 19348996
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v926-19321884)
[CL 19349472 by ryan schmidt in ue5-main branch]
2022-03-11 00:35:13 -05:00
ryan schmidt
319fef1ba3
GeometryProcessing: handle bad input edge list that sometimes comes from Bevel operation
...
#rb rinat.abdrashitov
#preflight 621987d17714af7618cba2b2
#jira UE-143944
#rnx
#lockdown julien.marchand
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 19162679 in //UE5/Release-5.0/... via CL 19162977
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19163010 by ryan schmidt in ue5-main branch]
2022-02-25 22:01:53 -05:00
jimmy andrews
df982a16f2
Fix DynamicMeshEditor's split meshes function setting every group ID to invalid group ID (-1) in its output meshes
...
This fixes plane cut setting invalid group data when 'keep both halves' is checked
#jira UE-143219
#rb lonnie.li
#rb ryan.schmidt
#preflight 62150b91141b500e17e86360
#ROBOMERGE-AUTHOR: jimmy.andrews
#ROBOMERGE-SOURCE: CL 19092446 via CL 19092812 via CL 19094448 via CL 19095945 via CL 19105267
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19146518 by jimmy andrews in ue5-main branch]
2022-02-25 09:37:48 -05:00
rinat abdrashitov
71ecb1be09
Fixed a bug where we were setting the wrong indices for the pinned vertices when computing the conformal UV parameterization.
...
#rb jimmy.andrews
#jira UE-142818
#preflight 621507d330639b44d2e461eb
#rnx
#ROBOMERGE-AUTHOR: rinat.abdrashitov
#ROBOMERGE-SOURCE: CL 19092413 via CL 19092779 via CL 19094434 via CL 19095934 via CL 19105261
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19146506 by rinat abdrashitov in ue5-main branch]
2022-02-25 09:37:17 -05:00
ryan schmidt
d292a2b82f
GeometryCore: add min-triangle-count threshold to TMeshSimplification::FastCollapsePass()
...
ApproximateActors: add FMeshApproximationSettings::bEnableSimplifyPrePass option, default true, and implement in ApproximateActors impl. This does a fast-collapse down to a multiple of the target triangle count (or 1m tris in tolerance-mode). This reduces simplification time in HLOD builds for small city from 4-5m to 1m in some of the worst blocks.
ApproximateActors: add FMeshApproximationSettings::bEnableParallelBaking, default true, and implement in the ApproximateActors Impl. This allows the photocapture step to proceed at the same time as the mesh generation, which shaves 30-40s off every HLOD build, but increases memory requirements.
#rb sebastien.lussier
#jira UE-142582
#preflight 6214fd9e797dbbeb4723468e
#rnx
#ROBOMERGE-AUTHOR: ryan.schmidt
#ROBOMERGE-SOURCE: CL 19083146 in //UE5/Release-5.0/... via CL 19097574
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)
[CL 19141130 by ryan schmidt in ue5-main branch]
2022-02-24 23:46:55 -05:00
lonnie li
52797a98be
ModelingTools: Add support for Object space source normal maps to BakeTexture.
...
#rb jimmy.andrews matija.kecman
#jira none
#preflight 620ffdc64d39023e82a40fa2
[CL 19056004 by lonnie li in ue5-main branch]
2022-02-18 15:34:48 -05:00
michael balzer
29538ed63e
GeometryProcessing: Remove default values for FMeshConnectedComponents::InitializeFromTriangleComponents()
...
#jira UE-142238
#preflight 6206a63f054c2e38c46d514e
#rb ryan.schmidt
#lockdown aurel.cordonnier
#rnx
#ROBOMERGE-AUTHOR: michael.balzer
#ROBOMERGE-SOURCE: CL 18962718 in //UE5/Release-5.0/... via CL 18962949 via CL 18963257
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v917-18934589)
[CL 18963291 by michael balzer in ue5-main branch]
2022-02-11 17:29:37 -05:00
rinat abdrashitov
1cdd6df597
Added missing copyright.
...
#rb trivial
#rnx
#jira none
#preflight none
[CL 18918571 by rinat abdrashitov in ue5-main branch]
2022-02-09 11:08:10 -05:00
rinat abdrashitov
222a5fb653
Added the Power Method solver for computing largest/smallest eigenvalue and the corresponding eigenvector for the standard and general eigenvalue problems.
...
#rb david.hill
#rnx
#jira none
#preflight 6202de9374604bc6b18d55fd
[CL 18917853 by rinat abdrashitov in ue5-main branch]
2022-02-09 10:20:27 -05:00
fred kimberley
7fbfaf57c8
Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
...
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build
#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)
[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
rinat abdrashitov
6149eb4a59
Added a flag to optionally recompute normal overlay or per-vertex normals after displacement in PNTriangles.
...
Disabled quadratically varying normal computation for 5.0.
#rb david.hill
#rb semion.piskarev
#rnx
#jira none
#preflight 61f899cb114ec25fe0c8e0f2
#ROBOMERGE-AUTHOR: rinat.abdrashitov
#ROBOMERGE-SOURCE: CL 18811717 in //UE5/Release-5.0/... via CL 18811737 via CL 18822719
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18823656 by rinat abdrashitov in ue5-main branch]
2022-02-02 05:56:24 -05:00
lonnie li
03f690f1b6
ModelingTools: Add additional early-exit points for cancelled Baker computes.
...
#rb none
#rnx
#jira UE-140474
#preflight 61f4727ce52a8a4a91ceff2e
#ROBOMERGE-AUTHOR: lonnie.li
#ROBOMERGE-SOURCE: CL 18793443 in //UE5/Release-5.0/... via CL 18793662 via CL 18794522
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)
[CL 18795012 by lonnie li in ue5-main branch]
2022-01-31 14:57:19 -05:00