point-cloud-utils icon indicating copy to clipboard operation
point-cloud-utils copied to clipboard

Minor error in example

Open nataliyaskrypnyuk opened this issue 2 years ago • 3 comments

Hi Francis,

in the example "Generate blue noise samples on a mesh separated by approximately 0.01 times the bounding box diagonal" you have the same code as for "Generate 10000 samples on a mesh with poisson disk samples", namely f_i, bc = pcu.sample_mesh_poisson_disk(v, f, n, 10000)

nataliyaskrypnyuk avatar Apr 27 '23 13:04 nataliyaskrypnyuk

Oops! Thanks for pointing this out. Sounds like a copy paste error 😄

fwilliams avatar May 17 '23 13:05 fwilliams

I have actually noticed one more thing: pcu.sample_mesh_random sometimes throws out some crazy high number for the facet id output ;-( But that happens very rare, so I call it again with random_seed set to get different sampling every time ;-) Thanks for your library!

nataliyaskrypnyuk avatar May 17 '23 14:05 nataliyaskrypnyuk

If ever you have a seed and an input that reproduces this, please upload it so I can debug! Thanks for using the library!

fwilliams avatar May 23 '23 13:05 fwilliams