Blender Git Commit Log

Git Commits -> Revision 59efe23

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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021