Blender Git Commits

Blender Git "hair_guides_grooming" branch commits.

Page: 21 / 25

April 20, 2015, 10:23 (GMT)
Use a simple low-pass filter to generate a smoother, more stable
direction vector for the hair stroke tool.

This is necessary for directional tools such as combing, where the
stroke direction can lead to unwanted results if it changes too
abruptly.
April 20, 2015, 10:23 (GMT)
Support for sim_debug drawing in hair edit mode (dev feature).
April 20, 2015, 10:23 (GMT)
Improved hair combing tool, adjusting edge directions instead of
vertex positions.

This works a lot better with strokes perpendicular to the general hair
strand direction. With the previous comb tool such strokes would only
make a small dent in the hair curve and then vertices would slip out
of the tool circle. The edge combing affects the local direction of
strands, which acts as a kind of grabbing functionality by moving
further vertices in front of the tool circle. The result is that
drawing a curvy hair shape with the comb becomes much easier.

In addition, the new tool also uses edge filtering and weighting rather
than vertices. This means that small brushes also work well, instead
of having no effect when hitting the edge segments between vertices.

Further improvement could be achieved later by using a global strand
solver, which adjusts vertex positions based on an error metric along
the whole of the strand.
April 20, 2015, 10:23 (GMT)
Renamed the edithair files in BKE to editstrands.

The rationale behind this is that the BKE code could be used for
modeling hair and fur as well as a number of other features such as
grass. The primary addition to BMesh is the limitation to strand-like
topology (simple vertex chains, optionally rooted on a mesh surface).

The editor code OTOH is quite hair specific, since the result should
be suitable for hair simulation, and the workflow should mimick actual
hair grooming intuitively. Eventually the hair edit mode could become
a generalized strand edit mode with slightly different tool sets for
various purposes, but for now it is quite specifically built for hair.

Conflicts:
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/particle.c
April 20, 2015, 10:23 (GMT)
Sanity check for strand root/tip checks, now supports single vertices.
April 20, 2015, 10:23 (GMT)
MSVC compiler cannot handle standard C code.

Conflicts:
source/blender/editors/physics/particle_edit.c
April 20, 2015, 10:23 (GMT)
Fix for hair-to-particle export: need to set weight=1.0 for hair roots,
since the particle system uses this for pinning them to the mesh.
April 20, 2015, 10:23 (GMT)
Fix scons build files for new hair edit code parts.
April 20, 2015, 10:23 (GMT)
Fixed lib-linking for hair edit settings brush and object pointers.
April 20, 2015, 10:23 (GMT)
Basic Add tool for creating new strands in hair edit mode.
April 20, 2015, 10:23 (GMT)
New simple storage method for single sample values.
April 20, 2015, 10:23 (GMT)
Fix for uninitialized return value.
April 20, 2015, 10:23 (GMT)
New mesh sample evaluation function for shape key data.
April 20, 2015, 10:23 (GMT)
Generic raycast method for generating mesh surface samples.

Conflicts:
source/blender/blenkernel/intern/mesh_sample.c
April 20, 2015, 10:23 (GMT)
Better feedback about valid sample from mesh sampling methods.

Conflicts:
source/blender/editors/object/object_shapekey.c
April 20, 2015, 10:23 (GMT)
Support for common operators, keymap entries and radial controls for
hair brush settings.
April 20, 2015, 10:23 (GMT)
Fix for OpenlGL state restoration after strand drawing, disable color
material option.
April 20, 2015, 10:23 (GMT)
Show selection state of hair vertices with the usual theme colors.
April 20, 2015, 10:23 (GMT)
Apply the same weight profile in the comb tool as in particle edit mode.

The comb tool will likely get a complete overhaul, but until then it
should just behave like the old tool.
April 20, 2015, 10:23 (GMT)
Fix for brush radius, the Brush.size property is actually the radius and
not the diameter.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021