Blender Git Loki
Git Commits -> Revision 5dd9e17
Revision 5dd9e17 by Bastien Montagne (master) May 18, 2017, 10:13 (GMT) |
DwM: Armature: Cleanup envelope bone code a bit. Mainly adding 'wire' suffix to wire/distance drawing func and shader. Also, match wire vertex shader behavior with solid one regarding head/tail only drawing (i.e. alwas expect head bone mat, never tail one, and assume that if a radius is negative, then we only draw on the other end of the bone). |
Commit Details:
Full Hash: 5dd9e172669e3cd0e018091fd37eb091daf0d6ee
Parent Commit: 23f256b
Lines Changed: +126, -134
1 Added Path:
/source/blender/gpu/shaders/gpu_shader_instance_bone_envelope_wire_vert.glsl (+103, -0) (View)
1 Deleted Path:
/source/blender/gpu/shaders/gpu_shader_instance_bone_envelope_vert.glsl (+0, -98)
9 Modified Paths:
/source/blender/draw/intern/draw_armature.c (+8, -16) (Diff)
/source/blender/draw/intern/draw_cache.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_common.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -1) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+4, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_instance_bone_envelope_solid_vert.glsl (+4, -9) (Diff)
/source/blender/draw/intern/draw_cache.c (+1, -1) (Diff)
/source/blender/draw/intern/draw_cache.h (+1, -1) (Diff)
/source/blender/draw/intern/draw_common.c (+2, -2) (Diff)
/source/blender/draw/intern/draw_common.h (+1, -1) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -1) (Diff)
/source/blender/gpu/GPU_shader.h (+1, -1) (Diff)
/source/blender/gpu/intern/gpu_shader.c (+4, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_instance_bone_envelope_solid_vert.glsl (+4, -9) (Diff)