tyson brochu
9d2b0fdde3
Move ConvexHull2, ConvexHull3, and exact predicates into GeometryCore/CompGeom. Change them all to use the UE::Geometry namespace. Copy associated TPS files as needed.
...
#ushell-cherrypick of 16542896 by swarm
#rb ryan.schmidt
[CL 16575323 by tyson brochu in ue5-main branch]
2021-06-07 15:02:12 -04:00
Ryan Schmidt
8fd2394228
GeometryProcessing:
...
- Add MakeBoundsFromIndices() utility functions to TAxisAlignedBox3 to simplify computing bounding-box of point sets
- FDynamicMesh3::GetVertexFrame() can now take an externally-provided normal, and so now can be used without computing VertexNormals attribute
- Add FModuloIteration to IteratorUtil for doing quasi-random-ish iterations over index ranges
- Add CollectVertexPositions() to MeshIndexUtil.h, for creating arrays/sets of vertex positions as a one-liner
- Add FMeshWeights::CotanWeightsBlendSafe() to support cotan-based smoothing of arbitrary properties
- Add TMinVolumeBox3::SolveSubsample() which will (quasi-randomly) subsample a set of the input points to reduce cost of box computation
#rb david.hill
#rnx
#jira none
[CL 16450731 by Ryan Schmidt in ue5-main branch]
2021-05-25 12:13:39 -04:00
Ryan Schmidt
623e4f96fe
GeometryCore: create new GeometryCore Module. Move GeometricObjects code from GeometryProcessing plugin to this new module, as well as core FDynamicMesh3 classes (attributes, aabbtree/octree, change tracking). Update module Build.cs files that reference GeometricObjects.
...
#rb none
#rnx
#jira none
#preflight 60a713700569f300014a064a
[CL 16415082 by Ryan Schmidt in ue5-main branch]
2021-05-21 01:04:38 -04:00
semion piskarev
24e3ede218
Move IDynamicMeshProvider and IDynamicMeshCommitter out of the dynamic mesh module so that it can remain devoid of UThings. Add comments to avoid this in the future.
...
#rb Ryan.Schmidt
#jira none
#rnx
[CL 16388181 by semion piskarev in ue5-main branch]
2021-05-19 12:39:42 -04:00
Andrew Davidson
3ddc3a4da3
Merge up from //UE5/Dev-LargeWorldCoordinates
...
#rb none
[CL 16211417 by Andrew Davidson in ue5-main branch]
2021-05-05 15:07:25 -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
1fbab38b2c
GeometryProcessing: refactor FVector2 member functions to UE::Geometry:: namespace functions
...
#rb none
#rnx
#jira none
[CL 15735468 by Ryan Schmidt in ue5-main branch]
2021-03-18 02:31:40 -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
Jimmy Andrews
cb59481397
Add an optional FProgressCancel to FConvexHull3
...
#rb tyson.brochu
#rnx
#preflight 604a6162d9f7490001e99306
[CL 15679820 by Jimmy Andrews in ue5-main branch]
2021-03-11 15:14:28 -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
tyson brochu
97b4de0215
Fix static analysis warnings
...
#jira UE-110222 UE-110175
#rnx
[CL 15643496 by tyson brochu in ue5-main branch]
2021-03-08 14:35:06 -04:00
tyson brochu
7a8ce6228f
Add XAtlas as alternative to UVAtlas for auto-generating UVs.
...
#jira UETOOL-3063
#rb jimmy.andrews david.hill
#ushell-cherrypick of 15465011 by tyson.brochu
[CL 15610551 by tyson brochu in ue5-main branch]
2021-03-04 14:35:19 -04:00
tyson brochu
a1e18ff827
Move AutoLOD computation to background thread(s). Make GeometryFlow graph execution cancellable.
...
#jira UETOOL-2947 UETOOL-2979
#rnx
[CL 15273200 by tyson brochu in ue5-main branch]
2021-02-01 14:43:20 -04:00
Jimmy Andrews
fe466788b8
add a helper to convexhull3 to get the hull representation that containmentqueries3 expects
...
+ minor cleanup and add coverage of new function
#rb ryan.schmidt
#rnx
[CL 15214147 by Jimmy Andrews in ue5-main branch]
2021-01-26 21:44:04 -04:00
tyson brochu
6d97e3a04a
Speed up the non-exact version of MinVolumeBox3 by using FConvexHull3d instead of gte::ConvexHull3
...
#rnx
#rb jimmy.andrews
[CL 15072130 by tyson brochu in ue5-main branch]
2021-01-13 17:03:12 -04:00
Marcus Wassmer
3b81cf8201
Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
...
autoresolved files
#rb none
[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Jimmy Andrews
71d5b6a513
qhull algorithm for exact convex hull in GeometryAlgorithms, replacing naive algorithm
...
#rb david.hill
[CL 14354967 by Jimmy Andrews in ue5-main branch]
2020-09-20 23:34:10 -04:00
Marc Audy
7379fa99c5
Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
...
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -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
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
84facd6d15
Copy from dev-enterprise cl 11097196
...
#rb none
#rnx
[CL 11099277 by JeanMichel Dignard in Dev-Tools-Staging branch]
2020-01-23 16:28:59 -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
Chris Gagnon
346a4b05ea
Copy up from Dev-Editor @10681378
...
#rb none
[CL 10837446 by Chris Gagnon in Dev-Tools-Staging branch]
2019-12-19 18:07:47 -05:00