Blender Git Commit Log

Git Commits -> Revision eee7918

January 29, 2015, 16:00 (GMT)
Disabled the child hair hull drawing feature.

This is incompatible with particle data structures in their current form.
Hull drawing requires sorting child particles based on the distance from
their primary parent. However, this changes the order of children, which
is the main method of generating random numbers for them. In the
viewport this is not a problem, but when rendering the children are
constantly recreated, using the respective deformed emitter mesh each
time. This leads to changing child orders when using the convex hull
sorting, and therefore different randomisation values.

To properly implement child hull drawing we would have to generate a
stable parent-child offset metric as well as avoiding any resorting in
the actual data arrays. This in turn requires terribly inefficient
drawing iteration, which could become a bottleneck by itself even before
taking cache coherence or OpenGL optimization requirements into account
(collecting child data into a dedicated buffer for drawing).

Commit Details:

Full Hash: eee7918c377806ea9ad17d7d7142c3ee9aaa222a
Parent Commit: 76e7528
Lines Changed: +53, -39

4 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+4, -0) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+40, -39) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021