Multires: Subdivide Simple and Subdivide Linear

This introduces two alternative subdivision modes that generates
displacement on the grids that look as Simple subdivisions but while
using the Catmull-Clark subdivision type in the modifier. This way,
Simple and Catmull-Clark subdivision can be combined when creating new
levels if needed, for example, to sculpt hard surface objects.

Subdivide simple smooths the sculpted data when creating a new
subdivision level. Subdivide linear also preserves the sharpness
in the sculpted data.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7415
This commit is contained in:
Pablo Dobarro
2020-04-30 15:15:19 +02:00
parent f28875a998
commit 134619fabb
9 changed files with 248 additions and 38 deletions

View File

@@ -696,7 +696,15 @@ class DATA_PT_modifiers(ModifierButtonsPanel, Panel):
col = split.column()
col.enabled = ob.mode != 'EDIT'
col.operator("object.multires_subdivide", text="Subdivide")
op = col.operator("object.multires_subdivide", text="Subdivide")
op.mode = 'CATMULL_CLARK'
op = col.operator("object.multires_subdivide", text="Subdivide Simple")
op.mode = 'SIMPLE'
op = col.operator("object.multires_subdivide", text="Subdivide Linear")
op.mode = 'LINEAR'
col.operator("object.multires_higher_levels_delete", text="Delete Higher")
col.operator("object.multires_unsubdivide", text="Unsubdivide")
col.operator("object.multires_reshape", text="Reshape")