Blender Git Loki

Blender Git commits from all branches.

Page: 2338 / 2888

March 23, 2015, 11:23 (GMT)
Alembic: Fixes for linux buildbot and scons
March 23, 2015, 11:23 (GMT)
Depsgraph tagging function for cached objects.

This is necessary to trigger object data updates for indirectly linked
objects, which would otherwise not be evaluated.
March 23, 2015, 11:23 (GMT)
Convenience feature: When linking a cache library, always default it to
'read' mode locally.

Linking a cache library is meant to be used for getting existing cache
data into a file.
March 23, 2015, 11:23 (GMT)
Left a comment in DerivedMesh.c explaining why the caching system has
to use the cumbersome cachedm pointer instead of virtual modifiers.
March 23, 2015, 11:23 (GMT)
Use a dedicated input_dm pointer in the cache modifier to provide a mesh
result read from the cache.

Mixing this with the output_dm used for writing leads to undefined
situations where the DM was released but should actually be passed on.
March 23, 2015, 11:23 (GMT)
Use correct flag enums for checking render/viewport eval mode when
writing derived mesh caches.
March 23, 2015, 11:23 (GMT)
Fix for meaningless build error (no return value, can never happen).
March 23, 2015, 11:23 (GMT)
Minor fix for UI code showing cache items.
March 23, 2015, 11:23 (GMT)
Render/Viewport evaluation mode for cache libraries.

This designates a cache library to be used either for the viewport or
for renders. A "Render" cache library will evaluate modifiers with
render settings and a "Viewport" cache library will use viewport
(realtime) settings.

When reading the cache, the library will only be
used for the assigned purpose, i.e. a Render cache does not work for
viewport caching and vice-versa (although a cache can be baked for one
setting and then switched afterward).

Note that render results will never be visible in the realtime viewport
due to the way object evaluation is handled in Blender at this point
(render settings are only evaluated explicitly during renderer sync).

Conflicts:
source/blender/blenkernel/intern/particle_system.c
March 23, 2015, 11:23 (GMT)
Allow the cache bake operator to overwrite existing files, using a
confirm dialog.
March 23, 2015, 11:23 (GMT)
Removed now-unused util_path files from the pointcache lib.

Paths are constructed outside this module now. A valid absolute path
should always be provided through the API calls.
March 23, 2015, 11:23 (GMT)
Record and display the last result of cache reading in the cache library
items.
March 23, 2015, 11:23 (GMT)
Free readers properly after applying cached data.
March 23, 2015, 11:23 (GMT)
Set reader/writer archive as a separate step outside the constructors.

This allows nicer creation of readers/writers //before// actually
opening the archive. This in turns can simplify code quite a bit.
March 23, 2015, 11:23 (GMT)
Moved functions for constructing readers/writers based on cache library
out of pointcache into blenkernel.

This is quite simple and repetitive and there is not need to have this
in the main pointcache/Alembic API. The code is mostly concerned with
logic of DNA data, so pointcache shouldn't have to deal with it.
March 23, 2015, 11:23 (GMT)
Ported archive filename constructor from pointcache library to BKE.

The pointcache library is now pretty much independent from ID blocks and
should not be responsible for handling file paths. The path construction
is also fairly straightforward now compared to the old point cache
system, with only basic conversion of relative to absolute paths for
loading archive files.
March 23, 2015, 11:23 (GMT)
Cache read result enum in DNA mirroring the internal pointcache results.

This can be stored in cache library items as an indicator of cache
reading state.
March 23, 2015, 11:23 (GMT)
Use a uiTemplate function for showing cache library items instead of
python code to unify symbols.

This is necessary because the operator for adding new items (as opposed
to the enable/disable button) cannot be shown with the same checkbox
button. The UI template function can display a custom button for the
operator, so the look becomes less confusing.
March 23, 2015, 11:23 (GMT)
Nicer default filename for cache library paths.

This now appends a default extension based on the cache backend used.
At this point this is always Alembic (.abc) but would allow other
backend formats in the future.
March 23, 2015, 11:23 (GMT)
Improved filtering for cache library content.

In addition to the object name filtering, items in cache library groups
can now be filtered by type as well.

Existing items in the cache are always displayed, so as to not hide
important information (what gets stored in the cache). The filtering
is primarily a utility to simplify searching inside the group for things
that should be added to the cache.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021