Blender Git Loki

Blender Git "gooseberry_farm" branch commits.

Page: 35 / 93

March 26, 2015, 13:13 (GMT)
Copy rgba components of MCol explicitly to the Alembic C4f type to avoid
potentially different ordering.
March 26, 2015, 13:13 (GMT)
Make sure the cache baking job cancels properly when interrupted in the
first stage.
March 26, 2015, 13:13 (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 26, 2015, 13:13 (GMT)
Distinguish realtime/render setting in the Object writer.

Now the derived_render mesh version is created locally when writing
render results.
March 26, 2015, 13:13 (GMT)
CD_NORMAL support for mesh customdata caching.
March 26, 2015, 13:13 (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 26, 2015, 13:13 (GMT)
Safeguard against crashes from invalid Alembic file paths by returning
NULL archive pointers.

This allows writer/reader code to test against obvious archive errors
easily and is unmistakable.
March 26, 2015, 13:13 (GMT)
Added customdata writers/readers for missing mesh edge, poly and loop
data.
March 26, 2015, 13:13 (GMT)
Removed group pointer from cache libraries and use object->cachelib
pointer instead.

This change makes it possible to have group duplicators using different
versions of a cache.
March 26, 2015, 13:13 (GMT)
Disable the bake operator if cache reading is enabled.

Re-baking cache results is not technically prohibited, but not useful
and allowing only read or write selectively gives a nicer workflow.
March 26, 2015, 13:13 (GMT)
Test for NULL archive pointer when writing as well.

This should not usually happen because the operator asks for permission
to delete the file prior to writing, but should be checked nevertheless.
March 26, 2015, 13:13 (GMT)
Skip drawing of particle systems (including hair) when using cache
duplis.

Particle systems can not be overridden from caches easily, there are too
many strings attached to the data and code to make this reliable.
Instead, a new simplified data structure for reading hair from caches
will be added, which replaces drawing and rendering of particle data.
The original particle data is not updated through duplis, so is usually
out of sync and should not be displayed.
March 26, 2015, 13:13 (GMT)
Calculate bounding boxes for cached DMs to avoid visual popping when
using the original Object's bb.
March 26, 2015, 13:13 (GMT)
Cycles support for dupli caches.

If a cache is read-enabled cycles will now use the cached mesh data
instead of dupli results.
March 26, 2015, 13:13 (GMT)
Removed unused variable.
March 26, 2015, 13:13 (GMT)
Main argument is no longer needed for cache reading, the cachelib is
now given explicitly.
March 26, 2015, 13:13 (GMT)
Fix for wrong ID code used in RNA->idcode mapping.
March 26, 2015, 13:13 (GMT)
UI cleanup and a bit nicer workflow by treating read/write mode like
an enum toggle.
March 26, 2015, 13:13 (GMT)
Mesh overrides for duplis from cached Alembic data.

If a duplicator has cached data it will now replace the derivedFinal
mesh of objects with the cached version for drawing.

This is a compromise atm: It would be better to actually draw derived
meshes directly, so that we don't have to modify objects. Then we could
also have multiple different instances of the same orignal object
(in whatever way these might be defined). DNA Objects would then be
totally separate from duplis, but at this point the drawing and render
code makes this unfeasible.
March 26, 2015, 13:13 (GMT)
Use a new flag in duplicator objects to enable cache reading and avoid
unnecessary dependencies.

This flag will replace the current "read" mode on cache libraries.

Beside enabling cache reading, it also disables the current "fake"
dependencies between duplicators and their group objects. This is
exploiting the layer visibility mechanism in depsgraph to ensure that
animated group objects get evaluated when used by a visible duplicator,
even when they are not themselves visible. These dependencies cause
group object updates even if the duplicator is using cached results.
To avoid this unnecessary overhead and make caching worthwhile we
rebuild depsgraph without these relations when using the cache instead.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021