Blender Git Commit Log

Git Commits -> Revision f8637cd

Revision f8637cd by Kévin Dietrich (master)
August 20, 2021, 00:40 (GMT)
Alembic Procedural: only subdivide if subsurf modifier is present

As subdivision objects are first class citizens in Alembic, to
differentiate them with non-subdivided polygon meshes, the Alembic
Procedural automatically sets up subdivision properties on the generated
Cycles Mesh.

However, for real-time playback subdivision is far too slow, so this
modifies the detection of a MeshSeqCache modifier used to activate the
procedural to allow for a Subsurf modifier right after the cache one. If
present, the procedural will tag the object for subdivision, if absent, the
object will be treated as a regular mesh.

This is a temporary measure for until subdivision surface settings are part
of the Mesh datablock (see T68891).

Reviewed By: brecht

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

Commit Details:

Full Hash: f8637cd8af451661a306edd5682cc17029e7e7e5
Parent Commit: 5b51df0
Lines Changed: +85, -12

6 Modified Paths:

/intern/cycles/blender/blender_mesh.cpp (+2, -2) (Diff)
/intern/cycles/blender/blender_object.cpp (+8, -3) (Diff)
/intern/cycles/blender/blender_sync.h (+3, -1) (Diff)
/intern/cycles/blender/blender_util.h (+11, -1) (Diff)
/intern/cycles/render/alembic.cpp (+52, -5) (Diff)
/intern/cycles/render/alembic.h (+9, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021