Revision 3edc512 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Show selection state of hair vertices with the usual theme colors. |
Revision 77da317 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) 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. |
Revision a9fbd3b by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Fix for brush radius, the Brush.size property is actually the radius and not the diameter. |
Revision b2ea8c1 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Added back different selection modes (strands, verts, tips) for hair editing. |
Revision be312b1 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
First selection operator implementation for hair edit: circle select. |
Revision 37d3a33 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Use the "official" brush size calculated by blenkernel and subdivide the stroke step to avoid tunneling. |
Revision 5254df3 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Filter affected hair vertices in edit mode based on the brush size and z depth. |
Revision 59efe23 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Primitive hair lighting in OpenGL solid shading, cleanup of strands drawing code for edit mode. The lighting uses the same method as the particle hair, interpreting strand direction as the normal. This is nowhere near realistic hair shading, but doing this with line shading alone in the fixed-function pipeline is probably not possible. A GLSL shader could be used instead for a more realistic alternative as part of the viewport project. At least this simple shading mode gives some orientation feedback while editing hair. |
Revision 687b5a1 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Implemented basic cursor drawing for hair edit mode brushes. |
Revision d16599e by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Display basic brush properties in the toolbar for hair edit mode. |
Revision 2590231 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:23 (GMT) |
Constrain hair root vertices to their mesh location after applying tools. Conflicts: source/blender/bmesh/intern/bmesh_interp.c source/blender/bmesh/intern/bmesh_interp.h |
Revision 0e06a60 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:22 (GMT) |
Make sure tool input data is in object space. |
Revision 121677d by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:22 (GMT) |
Nicer vector math for mouse coordinates. |
Revision 1615da1 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:22 (GMT) |
Simplified first version of the hair stroke combing functionality. Stroke tools will be categorized by the hair elements they operate on: vertices, segments or strands (roots). In addition to that a filter function defines the influence of the brush. This should be defined by the other brush settings and be largely independent of the main tool mode. |
Revision 83b20c7 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:22 (GMT) |
Enforce hair constraints (constant segment length) after applying a tool. Currently uses the same approach as old particle edit mode (rescale hair segments from the root on). A more sophisticated approach using least-square error minimization of the displacement could yield better results. |
Revision 7ae6492 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:21 (GMT) |
Lots of small fixes for paint system quirks to make hair brushes work in the UI. Conflicts: release/scripts/startup/bl_ui/space_view3d.py source/blender/editors/transform/manipulator_widget.c |
Revision 7779166 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:19 (GMT) |
Define hair edit settings and brush types in the RNA, similar to paint and sculpt settings. Conflicts: source/blender/makesdna/DNA_brush_types.h |
Revision 0a27e97 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:17 (GMT) |
Fix for GL buffer size for edges, needs to 2x for two vertex indices. |
Revision 4fd6a7a by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:17 (GMT) |
Revert previous hair edit operator scaffolding and port over the old operator for strokes instead. The paint system is much too complicated and does not add any real advantage at this point. |
Revision 7995915 by Lukas Toenne (alembic, gooseberry, gooseberry_farm, hair_guides, hair_guides_grooming, hair_object, strand_editmode, strand_gpu, strand_nodes, temp_motionpaths, tmp_hair_curves) April 20, 2015, 10:17 (GMT) |
Calculate some basic info about mouse strokes and context and pass it on to a general hair tool function. |
|