blender/release/scripts
Kévin Dietrich 4425e0cd64 Subdivision: add support for vertex creasing
This adds vertex creasing support for OpenSubDiv for modeling, rendering,
Alembic and USD I/O.

For modeling, vertex creasing follows the edge creasing implementation with an
operator accessible through the Vertex menu in Edit Mode, and some parameter in
the properties panel. The option in the Subsurf and Multires to use edge
creasing also affects vertex creasing.

The vertex crease data is stored as a CustomData layer, unlike edge creases
which for now are stored in `MEdge`, but will in the future also be moved to
a `CustomData` layer. See comments for details on the difference in behavior
for the `CD_CREASE` layer between egdes and vertices.

For Cycles this adds sockets on the Mesh node to hold data about which vertices
are creased (one socket for the indices, one for the weigths).

Viewport rendering of vertex creasing reuses the same color scheme as for edges
and creased vertices are drawn bigger than uncreased vertices.

For Alembic and USD, vertex crease support follows the edge crease
implementation, they are always read, but only exported if a `Subsurf` modifier
is present on the Mesh.

Reviewed By: brecht, fclem, sergey, sybren, campbellbarton

Differential Revision: https://developer.blender.org/D10145
2022-01-20 12:21:34 +01:00
..
addons@6afec05c32 Cleanup doc comments for sculpt_intern.h 2022-01-19 16:21:14 -08:00
addons_contrib@7936dde9ec Function to return a list of keyframe segments 2021-12-17 22:43:02 +00:00
freestyle Fix T93320: Freestyle LineStyleModifier blend 'Minimum' error 2021-11-23 15:38:52 +01:00
modules Cleanup: quite old-style-declaration warning, strip trailing space 2022-01-18 10:26:18 +11:00
presets Fix T92953: Tool Settings: Drag on Tweak fails with LMB select 2022-01-13 14:30:12 +11:00
startup Subdivision: add support for vertex creasing 2022-01-20 12:21:34 +01:00
templates_osl OSL: add basic OSL shader template 2021-03-26 10:27:31 -06:00
templates_py Fix T90866: Python operator templates are not accessible from menus 2021-11-16 10:45:23 +01:00