Commit Graph

22 Commits

Author SHA1 Message Date
Ryan Schmidt
e196c256e4 GeometryProcessing: remove forwarding headers used in GeometryCore transition, and update all affected includes.
#rb none
#rnx
#jira none
#preflight 60c52c5db9446100014da02d

[CL 16653115 by Ryan Schmidt in ue5-main branch]
2021-06-13 00:35:22 -04:00
Ryan Schmidt
3019b90219 GeometryProcessing: Add option to do explicit geometric tolerance/deviation checking in TMeshSimplification. Checks edge midpoints and face centroids against a fixed tolerance.
MeshModelingToolset: expose new option in SimplifyMeshOp and SimplifyMeshTool
#rb david.hill
#rnx
#jira none
#preflight 6099fb752032ee00016bee43

[CL 16274273 by Ryan Schmidt in ue5-main branch]
2021-05-11 13:17:19 -04:00
Ryan Schmidt
196be0f6d1 GeometryProcessing: replace UE::Geometry::FVector3d/FVector3f with UE Core versions based on TVector<T>. FVector3<T> is now an extension of TVector<T>. Update all affected call sites.
#rb none
#rnx
#jira none

[CL 15870068 by Ryan Schmidt in ue5-main branch]
2021-03-30 21:25:22 -04:00
Ryan Schmidt
6db97af132 GeometryProcessing: FVector2/3/4 refactoring. Move various member functions to standalone functions in UE::Geometry:: namespace, to simplify upcoming conversion to core vector types. Update all call sites.
#rb tyson.brochu, semion.piskarev
#rnx
#jira none

[CL 15732208 by Ryan Schmidt in ue5-main branch]
2021-03-17 19:32:44 -04:00
Ryan Schmidt
ffe3b401cd GeometryProcessing: move all public types in GeometryProcessing plugin into UE::Geometry:: namespace, as well as some code in MeshModelingToolset. Fix fallout in Water, Paint Mode, ChaosEditor, DataPrep, Text3D, Unit Tests, internal projects.
#rb jimmy.andrews, semion.piskarev
#jira none

[CL 15661651 by Ryan Schmidt in ue5-main branch]
2021-03-09 19:33:56 -04:00
David Hill
ba43fd2967 Geometry Tools: Mesh Simplification - Fixes to Mode that retains vertex locations.
This included two fixes.
                           1) a bug that would choose the average position when collapsing an edge on a mesh boundary ( so not retaining a vertex location )
                           2) eliminates the chance that an edge adjacent to a UV seam (or other attribute seam) will collapse to the vertex not on the seam (this would have moved the seam and resulted in new attribute values).

#jira UE-104386
#rb jimmy.andrews

[CL 15509647 by David Hill in ue5-main branch]
2021-02-23 20:17:08 -04:00
David Hill
3e884d1cae Geometry Tools: Mesh Simplification. Improve collapse behavior with attribute seams. Previously edge collapses were more limited in the neighborhood of seams.
Additionally this CL:
Introduces a simplifier-level bool allow for easy switching between simplification with and without quadric memory and adds logic to remove isolated triangles

Extend MeshOverlay to identify seam-end edges  -  DynamicMeshAttributeSet.{h,cpp} DynamicMeshOverlay.{h,cpp}
Expose ability to recompute edge constraints   -  MeshConstraintUtil.{h,cpp}  MeshConstraints.h

#jira none
#rb jimmy.andrews

[CL 15419204 by David Hill in ue5-main branch]
2021-02-16 12:58:51 -04:00
David Hill
cf4d01cc6d Geometry Tools: QEM simplification - make seam quadrics memoryless. This was done because the accumulation of seam quadrics with very large meshes ( measured triangle count ) can lead to bad results during edge collapse.
#rb none
#jira none
#rnx

[CL 15013393 by David Hill in ue5-main branch]
2021-01-07 14:37:02 -04:00
Ryan Schmidt
ad9f0ea712 GeometryProcessing: add DynamicMeshAttributeSet::SplitAllBowties() function, splits bowties in NormalOverlay and UVOverlays
ModelingTools: Expose Simplify To Minimal Planar simplification mode in Simplify Tool. Add edge filter to this simplification mode in TMeshSimplification. Add support for returning all edges along intersection curves in FMeshBoolean and FMeshSelfUnion. Add option BooleanMeshesOp and SelfUnionMeshesOp to apply minimal-planar simplification along these cut/intersection edges. Expose as toggles in CSGMeshesTool and SelfUnionMeshesTool
#rb jimmy.andrews
#rnx
#jira none

[CL 14890297 by Ryan Schmidt in ue5-main branch]
2020-12-09 14:18:38 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
ryan schmidt
e7f3baf1ca Edigrate Dev-Editor updates to InteractiveToolsFramework, GeometryProcessing, MeshModelingToolset, and ModelingTools Editor Mode Plugins. Update a few files in new MeshPaint Plugin for UInteractiveTool rename of ::Tick() to ::OnTick().
#rb none
#rnx

#ROBOMERGE-SOURCE: CL 12908995 via CL 12908996 via CL 12909001
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v682-12900288)

[CL 12909003 by ryan schmidt in Main branch]
2020-04-18 18:42:59 -04:00
Max Chen
b4881d8bf8 Copying //UE4/Dev-Editor to Dev-Tools-Staging (//UE4/Dev-Tools-Staging) @11123875
#rb none
#jira none

[CL 11123880 by Max Chen in Dev-Tools-Staging branch]
2020-01-27 20:11:15 -05:00
JeanMichel Dignard
70d074639f Merging //UE4/Dev-Main @ 10886849 to Dev-Tools-Staging (//UE4/Dev-Tools-Staging)
#rb none
#rnx

[CL 10906274 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-08 13:26:18 -05:00
Marc Audy
360d078ca3 Second batch of remaining Engine copyright updates.
#rnx
#rb none

[CL 10871248 by Marc Audy in Main branch]
2019-12-27 09:26:59 -05:00
michael daum
924a634e85 Clean up FDynamicMesh3, making it a regular type and enabling move semantics
#rb jimmy.andrews
#rb ryan.schmidt

#rnx

[CL 9969182 by michael daum in Dev-Editor branch]
2019-11-04 12:03:13 -05:00
Chris Gagnon
8ab0638182 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.24
#rb none

[CL 9325047 by Chris Gagnon in Main branch]
2019-10-01 20:41:42 -04:00
David Hill
f319ec3483 MeshModeling : Adding automatic simplification pass to the voxel based tools. Simplifies to a quadric error tol based on the diagonal distance across a voxel.
#rb none
#rnx
#fyi ryan.schmidt

[CL 8676678 by David Hill in Dev-Editor branch]
2019-09-13 14:24:58 -04:00
Chris Gagnon
930e33cb48 Copying //UE4/Dev-Editor to Dev-Main (//UE4/Dev-Main) for 4.23 From CL 6837861
#rb none

[CL 6838042 by Chris Gagnon in Main branch]
2019-06-04 15:42:48 -04:00
Ryan Schmidt
64f73521c6 Mesh Simplification improvements
6623697 Modify mesh simplification to template on quadric type and add attribute aware mesh quadric.
6620269 Fallback to duplicating vertices when nonmanifold geometry is encountered in MeshDescriptionToDynamicMesh  (see original CL for more details)
#rb david.hill
#rnx

[CL 6631717 by Ryan Schmidt in Dev-Editor branch]
2019-05-24 12:36:32 -04:00
Ryan Schmidt
802e66c70b move GeometryProcessing plugin from NotForLicensees to Experimental
#rb none
#rnx

[CL 6266957 by Ryan Schmidt in Dev-Editor branch]
2019-05-02 21:41:24 -04:00