blender/release/scripts
Lukas Stockner c0816cd03b Workbench: Add Curvature overlay for better visibility of surface detail for e.g. sculpting
The approach is fairly simple, just apply an edge detection filter to the view normal and scale the brightness based on that.

The overlay is disabled at object boundaries to avoid dark lines around objects.

Generally, this implementation follows the proposal of @monio at https://blender.community/c/rightclickselect/J9bbbc.
The changes are:
- Dynamic filter radius (on high-DPI displays, a radius of two is used)
- Options to reduce the strength of both ridges and valleys
- Tweaked function for the strength reduction (the original method actually had a local maximum, resulting in a brighter line inside valleys)
- Multiplication for blending instead of overlay, which doesn't work reliably with scene-referred intensities
- Renamed to point out the distinction between it and the SSAO-based cavity overlay

Reviewers: jbakker

Reviewed By: jbakker

Subscribers: billreynish, manitwo, linko, monio

Differential Revision: https://developer.blender.org/D3617
2018-11-26 17:31:18 +01:00
..
addons@f89d1c9581 UI: Disable font shadow in tabs 2018-11-25 18:35:48 +01:00
addons_contrib@5c4210d5b7 Fix T58022: Changing workspace may change layout of User Pref window 2018-11-24 19:20:31 +01:00
freestyle Fix various Freestyle rendering bugs. 2018-11-05 00:22:33 +01:00
modules Cleanup: remove unused code & add comments 2018-11-26 16:07:03 +11:00
presets Keymaps: for LMB keymap, add ctrl+LMB to select bones in weight paint mode. 2018-11-26 16:28:10 +01:00
startup Workbench: Add Curvature overlay for better visibility of surface detail for e.g. sculpting 2018-11-26 17:31:18 +01:00
templates_osl Cycles: Remove Westin closure. 2014-10-03 16:03:49 +02:00
templates_py PyTemplates operator_modal_view3d_raycast: update to blender2.8 (*/@) 2018-11-16 12:10:35 +01:00