Blender Git Loki
Git Commits -> Revision 8579b4c
Revision 8579b4c by Alexander Gavrilov December 11, 2021, 15:12 (GMT) |
Bone Overlay: support bone wireframe opacity depth fade. Add an option that 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. |
Commit Details:
Full Hash: 8579b4c40bf7a1fcaa1472562e2377d95dc0cc33
Parent Commit: b44abe7
Lines Changed: +176, -25
1 Added Path:
/source/blender/draw/engines/overlay/shaders/armature_alpha_lib.glsl (+16, -0) (View)
15 Modified Paths:
/release/scripts/startup/bl_ui/space_view3d.py (+6, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+14, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+53, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+3, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+4, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+7, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+3, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+21, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+14, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_armature.c (+53, -1) (Diff)
/source/blender/draw/engines/overlay/overlay_private.h (+3, -0) (Diff)
/source/blender/draw/engines/overlay/overlay_shader.c (+36, -13) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_dof_solid_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_envelope_solid_frag.glsl (+4, -2) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_shape_solid_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_sphere_solid_frag.glsl (+7, -3) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_stick_frag.glsl (+3, -1) (Diff)
/source/blender/draw/engines/overlay/shaders/armature_wire_frag.glsl (+3, -1) (Diff)
/source/blender/makesdna/DNA_view3d_defaults.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_space.c (+21, -0) (Diff)