Blender Git Commits

Blender Git "gooseberry_farm" branch commits.

Page: 44 / 93

March 23, 2015, 12:59 (GMT)
Merge branch 'master' into gooseberry
March 23, 2015, 12:31 (GMT)
Stub function for Alembic init when Alembic is not enabled.
March 23, 2015, 11:46 (GMT)
Use dupli overrides also for the selection drawing code.

Now clicking a cached dupli instance also selects the duplicator object
as expected.
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)
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)
Basic Alembic integration in the Cycles standalone.

This adds Alembic to the standalone application version of cycles.
Files can be specified as XML or Alembic, or use automatic detection
based on the filename extension.

Currently the Alembic reader just dumps the file structure to stdout
as a test.
March 23, 2015, 11:46 (GMT)
Simple mesh import from Alembic files in Cycles standalone.

Note that Cycles currently only supports tessellated triangle/quad
meshes. Alembic PolyMesh generally has ngons, so external tessellation
is required until cycles gets a proper tessellation implementation of
its own.
March 23, 2015, 11:46 (GMT)
Working implementation of cache reading for dupli data during renders.
March 23, 2015, 11:46 (GMT)
Simple inclusion of alembic files from inside xml files for cycles
standalone.

The cycles XML files now can refer to Alembic (.abc) files. This will
call the default alembic reader to read in scene data. Currently it
simply prints the Alembic file structure.

Eventually a proper schema needs to be defined for both xml and abc.
Also care has to be taken to handle potential conflicts between settings
both within xml/abc and between them.
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)
Fix for cycles cmake missing GLEW library variable when building without
the GUI.
March 23, 2015, 11:46 (GMT)
Use dupli cache in bounding box calculations involving duplis.

This feature is mostly useful for the "view selected" operator. It is
also used in the "set origin to geometry" operator, but since the
cache overrides the object geometry anyway the effect may not be what
users expect (which is acceptable).
March 23, 2015, 11:46 (GMT)
More control over verbosity with Alembic archive info printing.
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)
Removed deprecated code.
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)
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)
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)
Copy rgba components of MCol explicitly to the Alembic C4f type to avoid
potentially different ordering.
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.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021