Commit Graph

2 Commits

Author SHA1 Message Date
ryan schmidt
c3195967aa ModelingTools: add new FindPolygons Algorithm based on furthest-point sampling on surface.
- add optional support for distance-weighting/modulation in TMeshDijkstra. Replace previous FVector2d seed points w/ new FSeedPoint struct that provides an external ID. Track seed point source through graph propagation, add GetSeedExternalIDForPointSetID() to look up seedpoint source external ID for any computed point.
- add new TIncrementalMeshDijkstra, variant that supports incremental update (ie adding new seed points) of a dijkstra graph-distance solution. This variant assumes solution will be computed across the entire graph, so dynamic allocation of nodes is not supported, full set is allocated/initialized on graph initialization.
- Add new method to FFindPolygonsAlgorithm that generates face groups derived from approximate surface-voronoi diagram, computed based on a point set found by (approximate) incremental furthest-point sampling.
- Add optional min-group-size to FFindPolygonsAlgorithm, groups smaller than the given criteria will be appended to largest neighbouring group
- Expose above additions in ConvertToPolygonsTool

#rb tyson.brochu
#rnx
#jira none
#preflight 61006c84390eb40001235780

#ROBOMERGE-SOURCE: CL 16975302 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16975307 by ryan schmidt in ue5-release-engine-test branch]
2021-07-27 18:18:06 -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