Blender Git Commits

Blender Git commits from all branches.

Page: 2334 / 2888

March 23, 2015, 11:46 (GMT)
Fix for cycles cmake missing GLEW library variable when building without
the GUI.
March 23, 2015, 11:46 (GMT)
Avoid conflicting unordered_map definition in cycles by using a general
include path instead of the boost one.

For explanation see http://stackoverflow.com/questions/3973659/c-unordered-map-compiling-issue-with-g
March 23, 2015, 11:46 (GMT)
Fix for corruption of the item hash table in cache libraries on copy.
March 23, 2015, 11:46 (GMT)
Take cache library items into account when baking caches.

This means we don't bluntly store all the data in a group, but use the
selection from the cache library. It also helps to avoid issues with
object visibility which is not yet stored in the cache.
March 23, 2015, 11:46 (GMT)
Working implementation of cache reading for dupli data during renders.
March 23, 2015, 11:46 (GMT)
Use the temporary 'is_dupli' flag to prevent objects from freeing
overriden data that is owned by the cache.

This is not at all nice ... Hopefully it doesn't get too complicated to
work around all these drawing code and depsgraph issues, so the code
can be understood and replaced at some point in the future.
March 23, 2015, 11:46 (GMT)
Replacing boundbox temporarily during drawing is dangerous, since it
can be freed at any point.

Luckily we only need the boundbox locally for testing dupli visibility.
March 23, 2015, 11:46 (GMT)
Fully reset the OB_FROM_DUPLI flag for each dupli instance, in case
later duplis can not be found in the cache.
March 23, 2015, 11:46 (GMT)
Distinguish realtime/render setting in the Object writer.

Now the derived_render mesh version is created locally when writing
render results.
March 23, 2015, 11:46 (GMT)
Combined storage of render and realtime data in caches.

Caches now create 2 new roots below the main 'top' object of Alembic:
root and root_render for realtime and render data respectively.
This makes it easy to switch the whole archive to either of the modes
during baking and for constructing dupli caches.

Alternatively individual objects could store hires versions of their
data. This would also be more efficient if the cache contains many
simple objects which don't have 2 different variants. However, such
design decisions are difficult to make at this point and the
implementation can be modifier later.
March 23, 2015, 11:46 (GMT)
Make sure the cache baking job cancels properly when interrupted in the
first stage.
March 23, 2015, 11:46 (GMT)
Allow cache libraries to store both render and realtime (viewport) data.

This is the default now. It should make workflow a lot more foolproof
and convenient, since having only one of these modes active at a time
very easily leads to broken renders and confusing situations.

The problem is mostly due to the complicated way the depsgraph layer
feature is used to handle duplicator visibility. The duplicator is
declared as a child of its group's objects (even though no real
dependency exists!), so that a visible duplicator triggers updates of
invisible group objects, making instances of hidden groups possible.

However, dupli caches have to disable this dependency in order to avoid
unnecessary costly updates in hidden layers which are overridden by
cached data anyway. At the point where these dependencies are created
the evaluation context is unknown though, which means we cannot
distinguish between render and realtime evaluation for the purpose of
cache reading ...
March 23, 2015, 11:46 (GMT)
Removed deprecated code.
March 23, 2015, 11:46 (GMT)
Make sure mesh data is really stored and reconstructed from the cache
entirely.

Also the code is much better structured now, moving toward a more
standardized sample/schema class definition.
March 23, 2015, 11:46 (GMT)
CD_NORMAL support for mesh customdata caching.
March 23, 2015, 11:46 (GMT)
Fix for use of wrong CustomData for tessfaces.
March 23, 2015, 11:46 (GMT)
Copy rgba components of MCol explicitly to the Alembic C4f type to avoid
potentially different ordering.
March 23, 2015, 11:46 (GMT)
MCol customdata caching.
March 23, 2015, 11:46 (GMT)
MTFACE customdata is not suitable or necessary for caching, so disable
it.
March 23, 2015, 11:46 (GMT)
Added customdata writers/readers for missing mesh edge, poly and loop
data.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021