Commit Graph

2 Commits

Author SHA1 Message Date
ryan schmidt
75e6db7be8 GeometryCore: add ability to return TriangleIDs of sample points in MeshSurfacePointSampling, and also add optional computation of barycentric coordinates for each sample
GeometryScripting: add return of TriangleIDs to geo-script point sampling functions. Add utility function GetRayStartEnd and MakeBoxFromCenterExtents to simplify common BP operations, improve some display names.
#preflight 638e01b89549ddaa28f8a4ed
#rb none

[CL 23394664 by ryan schmidt in ue5-main branch]
2022-12-05 13:19:41 -05:00
ryan schmidt
e3cd7a186c GeometryCore: add FMeshSurfacePointSampling, which generates sample points on the surface of a mesh with various strategies (currently focused on an approximate-Poisson sampling strategy).
GeometryScript: add ComputePointSampling, ComputeNonUniformPointSampling, and ComputeVertexWeightedPointSampling functions
#rb none
#preflight 637fe2e0fa348e8480a0bb09f

[CL 23267475 by ryan schmidt in ue5-main branch]
2022-11-25 12:18:30 -05:00