March 23, 2015, 11:22 (GMT) |
Changed implementation of the Cache modifier to work in tandem with the cache library system. The Cache modifier is now an optional "break point" of the modifier stack: - Without a cache modifier the stack works as before. Baking will write the final stack result. After baking the cache replaces the whole stack. - With a cache modifier the stack result at the modifier's position is stored. The cache is then applied as the output of that modifier, skipping preceding modifiers. That way additional modifiers can be applied on top of the cache. - When using multiple cache modifiers, only the last (active) one will be used, since all previous cache results would be discarded anyway. |
March 23, 2015, 11:22 (GMT) |
Replaced point cache in cloth modifiers (also hair) with the new caching system. Conflicts: source/blender/blenkernel/intern/cloth.c |
March 23, 2015, 11:21 (GMT) |
'expand' function for cache libraries, so link/append makes it load the group and objects too. |
March 23, 2015, 11:21 (GMT) |
Make cache libraries a linkable data block. |
March 23, 2015, 11:21 (GMT) |
Take NULL object pointers in cache items into account. This can happen if an object gets deleted or isn't loaded for some reason. The item should just be ignored in that case and removed at the next opportunity (cleanup function). |
March 23, 2015, 11:21 (GMT) |
When using the "new cache library" operator, enable fake user by default. Nothing actually links to a cache library at this point (and probably won't in the future), so fake user is necessary to avoid losing data. |
March 23, 2015, 11:21 (GMT) |
Display cache library name and fake user button, imitating template_ID. |
March 23, 2015, 11:21 (GMT) |
Importing of caches into Blender data. Currently only implemented for DerivedMesh. This replaces the `final_dm` calculation of the modifier stack with the result from cache loading. |
March 23, 2015, 11:21 (GMT) |
UI fixes, draw bake operator button only once at the top. |
March 23, 2015, 11:21 (GMT) |
Hair path writer needs 2 different variants for parent/child hairs. |
March 23, 2015, 11:21 (GMT) |
Added writers for derived mesh result and hair paths. |
March 23, 2015, 11:21 (GMT) |
Use explicit name strings for all readers/writers in the cache instead of constructing names internally. This helps prevent name collisions and guarantees a consistent naming scheme for putting multiple items in the same cache. |
March 23, 2015, 11:21 (GMT) |
New reader/writer for DerivedMesh. Used as a base for existing PointCacheModifier classes, but can be used on its own. |
March 23, 2015, 11:21 (GMT) |
General support for export to/import from Alembic files based on Cache Libraries. |
March 23, 2015, 11:21 (GMT) |
Deleted unimplemented parts of the previous pointcache system, to make refactoring simpler. Since the new approach is not tied to the old set of point cache data types there is really no need to carry their empty husks around. Once the new caching system is defined in detail we can add back whatever makes sense. |
March 23, 2015, 11:21 (GMT) |
Disabled specialized Point Cache modifier handling in the modifier stack, this will be replaced and is not correct anyway. |
March 23, 2015, 11:21 (GMT) |
Refactoring of archive handling in readers/writers. Now instead of each reader/writer creating its own archive, the archive is created by the caller in advance and passed as a constructor argument. This means that multiple items can be stored together in the same archive. |
March 23, 2015, 11:21 (GMT) |
Removed unused Scene pointer from the base Reader/Writer classes. |
March 23, 2015, 11:21 (GMT) |
Operator skeleton for a cache bake operator, using the job system. |
March 23, 2015, 11:21 (GMT) |
Fix for undefined return value. |
|
|
|


Master Commits
MiikaHweb | 2003-2021