Blender Git Loki

Git Commits -> Revision 913b839

Revision 913b839 by Sergey Sharybin (master)
August 15, 2018, 13:40 (GMT)
Multires: Initial groundwork to hook up displacement to new Subdiv object

Adds a displacement support for OpenSubdiov based subsurf object implemented
as a callback which gives vector displacement in object space. Currently is
implemented to calculate displacement based on myltires displacement grids,
but we can support things in the future if needed.

Submitting to review to see if there is something obviously wrong in the
direction (old multires code was sharing same displacement code to both
calculate final displaced mesh and reshape an existing one, which is rather
confusing and probably can be done more cleanly?).

Reviewers: brecht

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D3604

Commit Details:

Full Hash: 913b8396d971f258df70827274bcdf86dd894185
Parent Commit: 5a89dfe
Lines Changed: +903, -31

2 Added Paths:

/source/blender/blenkernel/intern/subdiv_displacement.c (+46, -0) (View)
/source/blender/blenkernel/intern/subdiv_displacement_multires.c (+440, -0) (View)

7 Modified Paths:

/source/blender/blenkernel/BKE_subdiv.h (+65, -8) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+2, -0) (Diff)
/source/blender/blenkernel/intern/subdiv.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/subdiv_eval.c (+53, -13) (Diff)
/source/blender/blenkernel/intern/subdiv_mesh.c (+287, -4) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+5, -3) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021