algorithm - Generating points in space according to a 3D probability grid -


if have bunch of point called point_set_a (enclosed cube example), each normalized probability value (the values based on something, e.g. flow velocity).

how populate same space (cube) (say 100) point_set_b (so come x,y,z values), instead of randomly, want more points appear near point_set_a higher probability values.

any ideas? pseudo code or language do.

thanks!

tim


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -