nonuniformHammersley
Generates a list of 3D points distributed on a mesh surface using a nonuniform sampling strategy with Hammersley sequence and a custom weight function.
The Hammersley sequence is used to generate an initial set of 2D points that are mapped to the surface of the mesh based on the provided weight function. Random numbers are also utilized to introduce variability in the sampling process.
Return
A list of 3D points (Vector3) distributed across the mesh surface based on the provided weight function and sampling method.
Parameters
The number of points to sample on the mesh surface.
An optional random number generator used for shuffling the Hammersley points and generating random values for the sampling. Defaults to Random.Default.
A function that determines the weight of individual components of the mesh, influencing the distribution of generated points.