Blender Git Loki

Git Commits -> Revision cf3fce9

November 20, 2017, 20:02 (GMT)
Fix for overflow of cell_index in the Poisson disk sample generator.

Using a single uint as combined cell index only leaves ~10 bits per
coordinate axis, which quickly leads to overflow for higher densities.
Now use 3 ints so that the sampling grid can have sufficiently small
cells.

Commit Details:

Full Hash: cf3fce96b130112007a4a66ef83cc3f5bb700827
Parent Commit: ae84236
Lines Changed: +106, -86

2 Modified Paths:

/source/blender/blenkernel/intern/hair.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mesh_sample.c (+105, -85) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021