Blender Git Loki

Blender Git "alembic_pointcache" branch commits.

Page: 6 / 17

March 3, 2015, 16:41 (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 3, 2015, 16:30 (GMT)
Record and display the last result of cache reading in the cache library
items.
March 3, 2015, 15:29 (GMT)
Free readers properly after applying cached data.
March 3, 2015, 15:01 (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 3, 2015, 12:57 (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 3, 2015, 11:54 (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 3, 2015, 11:30 (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 3, 2015, 11:01 (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 2, 2015, 17:17 (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 2, 2015, 13:44 (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.
March 2, 2015, 12:00 (GMT)
Use a generator in the python code to iterate over all the potential
cache library items.

This should ideally happen on the RNA side, but making the equivalent of
python generators in the RNA is really difficult.
March 2, 2015, 11:31 (GMT)
Don't show mesh cache items for non-mesh objects.
March 2, 2015, 11:28 (GMT)
Disabled collection properties for 'virtual' cache items in RNA.

This requires a better design and is not so easy to implement properly
within the limits of RNA definition. These collections don't physically
exist in the DNA, they are mainly utilities for looping over
//potential// items in a cache library. For now the python code has to
be adapted to only show valid items, until the RNA provides a good
solution.
March 2, 2015, 11:10 (GMT)
Generic validation function to help ensure that we don't add meaningless
items to a cache library.
February 28, 2015, 14:52 (GMT)
Replaced use of the HDF5 Alembic backend by Ogawa.

Ogawa is replacing HDF5 as the new de-facto standard. Selecting either
should be more formalized and a user option, for now it's just hardcoded.
February 27, 2015, 16:28 (GMT)
Filter utility for finding objects in a cache group faster.

This is a preliminary feature and implemented purely in python, to be
replaced later.
February 27, 2015, 16:07 (GMT)
New 'read' flag to toggle reading of the CacheLibrary as a whole.

This is also used during the bake process to avoid confusion: The read
flag gets disabled for the baking cachelib, so that objects don't try
to read cache data that is supposed to be generated.
February 27, 2015, 15:22 (GMT)
Delete operator for cache library datablocks.

CacheLibrary datablock has a generic unlink function now, but currently
nothing actually links to cache libs themselves, so it's empty. Still
good to keep this in mind for the future.
February 27, 2015, 14:33 (GMT)
Reader/Writer API functions for basic particles.

Also slightly renamed pathcache functions for consistency (use plural
'particles' instead of 'particle').
February 27, 2015, 14:32 (GMT)
Removed deprecated and unused alembic API functions.

These are now implemented as virtual functions in the Factor class.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021