Blender Git Commit Log

Git Commits -> Revision bb3c8af

Revision bb3c8af by Lukas Toenne (strand_nodes)
July 23, 2016, 15:24 (GMT)
Depsgraph integration for hair strand nodes (horrible).

The depsgraph now invalidates the strand shader when the nodes are changed.
As mentioned in the previous commit, this happens through an operation in
the object GEOMETRY component for each strand modifier. This is messy, only
useful until we have truly granular modifier integration in the depsgraph.

Invalidating the shader is currently done just by setting a flag. The actual
freeing and subsequent lazy-rebuild of the shader is done in the drawing
thread, because during the threaded depsgraph update we don't have a valid
OpenGL context. This needs to be sorted out for future viewport recode.

Commit Details:

Full Hash: bb3c8afb77a820c4204c5b8fc296f637b9d2c42a
Parent Commit: bcc3cc8
Lines Changed: +77, -2

9 Modified Paths:

/source/blender/blenkernel/BKE_strands.h (+9, -0) (Diff)
/source/blender/blenkernel/intern/strands.c (+11, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+12, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_relations.cc (+30, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_types.h (+1, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_type_defines.cc (+5, -0) (Diff)
/source/blender/editors/space_view3d/drawstrands.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021