Blender Git Commit Log
Git Commits -> Revision db0715e
Revision db0715e by Alexander Gavrilov October 6, 2021, 09:49 (GMT) |
Bone Overlay: support bone wireframe opacity settings. When weight painting the bone overlay is extremely intrusive, effectively requiring either extensive use of hiding individual bones, or disabling the whole bone overlay between selections. This addresses the issue by adding two bone opacity sliders that are used for the 'wireframe' armature drawing mode. One directly controls the uniform opacity as the straightforward option. The other one allows fade based on the depth from the camera, using exponential decay with the slider specifying the 'half-life' depth. This is intended as a way to automatically hide bones in distant parts of the mesh while focused on a specific part. Differential Revision: https://developer.blender.org/D11804 |
Commit Details:
Full Hash: db0715ee46778c391500fb02392b270d7aeaded4
Parent Commit: 1ae4319
Lines Changed: +298, -86
1 Added Path:
/source/blender/draw/engines/overlay/shaders/armature_alpha_lib.glsl (+14, -0) (View)
15 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+13, -4) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+17, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+162, -42) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+12, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+1, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+5, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+27, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+17, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+162, -42) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+12, -12) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+3, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+1, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+5, -6) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+1, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+1, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+27, -0) (Diff)