Blender Git Commit Log

Git Commits -> Revision 8e8952b

Revision 8e8952b by Sergey Sharybin (master)
September 14, 2018, 12:43 (GMT)
Multires: Initial work to get sculpting to work with OpenSubdiv

Allows to go to sculpt mode, do brush strokes, get out of sculpt mode
and have deformation preserved.

The issues currently is that the current implementation of CCG
storage is created from the limit surface, without displacement
taken into account. It is trivial to get displaced coordinates,
but it is more tricky to get displaced normals. This is something
to be solved next.

Another limitation is that this only works for sculpting at a maximal
multires level. There is code to be done to support propagation
of displacement onto a higher levels.

Commit Details:

Full Hash: 8e8952b7e363b878cfc97440c1d2254dffbaf840
Parent Commit: 744233f
Lines Changed: +310, -62

10 Modified Paths:

/source/blender/blenkernel/BKE_multires.h (+5, -0) (Diff)
/source/blender/blenkernel/BKE_paint.h (+4, -0) (Diff)
/source/blender/blenkernel/BKE_pbvh.h (+2, -0) (Diff)
/source/blender/blenkernel/BKE_subdiv_ccg.h (+11, -0) (Diff)
/source/blender/blenkernel/intern/multires.c (+34, -8) (Diff)
/source/blender/blenkernel/intern/multires_reshape.c (+234, -51) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+5, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+7, -2) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021