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
Post a Comment