blender/release
Robin Hohnsbeen 39f63c8c08 Sculpting: Vector displacement for the sculpting draw brush
Sculpt: Added vector displacement for the sculpting draw brush (area plane mapping only for now)

Vector displacement maps (VDM) provide a way to create complex displacements that can have overhangs in one brush dab.
This is unlike standard displacement with height maps that only displace in the normal direction.
Forms like ears, curled horns, etc can be created in one click if VMDs are used.
There is a checkbox on the draw brush in the texture settings "Vector Displacement" that enables/disables this feature.

Technical description: The RGB channels of a texture in a brush stroke are read and interpreted as individual vectors, that are used to offset vertices.
As of now, this is only working for the draw brush using the area plane mapping. Symmetry and radial symmetry are working.

A few things to consider when making VD-Maps:
* UVs need to stay intact for the bake mesh (e.g. voxel remeshing can't be used to create VD Meshes)
* When exporting a VD Map it should be in the file format OpenEXR (for positive and negative floating point values).
* Export resolution can be 512x512 or lower (EXR files can get very large, but VDM brushes don't need a high resolution)

And when using them:
* Inside Blender clamping needs to be unchecked on the texture
* The brush falloff should be set to constant (or nearly constant)

This patch was inspired by this [right-click-select proposal](https://blender.community/c/rightclickselect/WqWx/) Thanks for the post!

(Moved [this patch](https://archive.blender.org/developer/D17080) to here.)

Co-authored-by: Robin Hohnsbeen <robin@hohnsbeen.de>
Pull Request #104481
2023-02-14 15:29:27 +01:00
..
bin Linux: Move Mesa software OpenGL libraries to sub-directory 2022-07-08 15:44:06 +02:00
darwin Info.plist: Bump LSMinimumSystemVersion to silence warning 2022-01-14 19:33:06 +05:30
datafiles UI: add camera passepartout color to theme 2023-02-13 09:15:34 +01:00
freedesktop Update freedesktop file with Blender 3.4 features. 2022-12-06 16:34:53 +01:00
license Update THIRD-PARTY-LICENSES.txt for Blender 3.4. 2022-12-02 00:38:23 -08:00
lts Cleanup: format 2023-02-08 00:21:57 +01:00
scripts Sculpting: Vector displacement for the sculpting draw brush 2023-02-14 15:29:27 +01:00
text Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00
windows Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00