Blender Git Commit Log
Git Commits -> Revision 59efe23
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. |
Commit Details:
Full Hash: 59efe23830dd84b1d56e83325eb9f25b7df0112b
Parent Commit: d16599e
Lines Changed: +137, -53
1 Modified Path:
/source/blender/editors/space_view3d/drawstrands.c (+137, -53) (Diff)