Blender Git Loki

Git Commits -> Revision b0c6c65

Revision b0c6c65 by Sergey Sharybin (master)
January 16, 2019, 10:00 (GMT)
Subdiv: Initial implementation of topology cache

This commit makes it so OpenSubdiv's topology refiner is kept
in memory and reused for until topology changes. There are the
following modifications which causes topology refiner to become
invalid:

- Change in a mesh topology (for example, vertices, edges, and
faces connectivity).
- Change in UV islands (adding new islands, merging them and
so on),
- Change in UV smoothing options.
- Change in creases.
- Change in Catmull-Clark / Simple subdivisions.

The following limitations are known:

- CPU evaluator is not yet cached.
- UV islands topology is not checked.

The UV limitation is currently a stopper for making this cache
enabled by default.

Commit Details:

Full Hash: b0c6c65e7b45bf66f2f9e0aa3718be7eb0f72f81
Parent Commit: e064777
Lines Changed: +127, -17

7 Modified Paths:

/source/blender/blenkernel/BKE_subdiv.h (+27, -1) (Diff)
/source/blender/blenkernel/intern/subdiv.c (+64, -1) (Diff)
/source/blender/blenkernel/intern/subdiv_converter.h (+4, -8) (Diff)
/source/blender/blenkernel/intern/subdiv_stats.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+4, -0) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+23, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021