Blender Git Loki

Blender Git "alembic_pointcache" branch commits.

Page: 15 / 17

December 8, 2013, 08:01 (GMT)
Removed ListBase code for multiple point caches from blenkernel and RNA.
December 8, 2013, 08:01 (GMT)
Removed the ptcache ListBase linking in readfile. Only the single
point_cache pointers are used now, which conveniently are already the
active point caches, so we can just ignore the lists (setting them to
the same pointer though to avoid potential problems with forward
compatibility).
December 8, 2013, 08:01 (GMT)
Point cache index 1 in smoke domain is not used.
December 8, 2013, 08:01 (GMT)
Revert "Comment on smoke caches is deprecated."
Thought this was referring to the ptcaches ListBase, but actually means
the point_cache array, so i still important.

This reverts commit 8f48294bd00b61bae93f375dc0a730cac7fb594e.
December 8, 2013, 08:01 (GMT)
Set the G.is_rendering flag and lock editor drawing during export.
This is a terribly hack which is necessary to prevent draw methods
accessing the same data that is written by the export job.
December 8, 2013, 08:01 (GMT)
Take the global G.is_break flag into account for stopping the point
cache export job.
December 8, 2013, 08:01 (GMT)
Disabled UNDO for the export operator, it doesn't make sense anyway.
Cache files are external outside the undo system and can not simply be
restored.
December 8, 2013, 08:01 (GMT)
Correct time sampling for Blender frames: The cycle time is 1.0 by
default, this needs to be 1/fps. The default frame sampling can be added
by writers, Alembic will only create this sampling once internally.
December 8, 2013, 08:01 (GMT)
Made all point cache DNA members relating to cache lists DNA_DEPRECATED.
This includes the ListBase ptcaches members in all the users as well as
the next/prev pointers in the PointCache struct.
December 8, 2013, 08:01 (GMT)
Moved the new point cache settings DNA data into the existing PointCache
struct. Adding new DNA data alongside the existing structs leads to
a lot of name conflicts, better try to stay within existing structs and
gradually extend/replace struct members.
December 8, 2013, 08:01 (GMT)
Comment on smoke caches is deprecated.
December 8, 2013, 08:01 (GMT)
Keep a reference to the stop, do_update and progress variables from
the export job in the exporter class, so the exporter can communicate
back to the main thread. This could be done nicer, but is ok for now.
December 8, 2013, 08:01 (GMT)
Incomplete dummy function for baking.
December 8, 2013, 08:01 (GMT)
Added a new DNA file DNA_pointcache_types.h for all point cache related
structs and enum values. DNA_object_force.h was use previously, this is
a badly named file with a hodgepodge of different areas.
December 8, 2013, 08:01 (GMT)
New settings struct for poin caches (unused still).
December 8, 2013, 08:01 (GMT)
Make sure the output directory for cache files exists before trying
to create the Alembic OArchive, otherwise HDF5 throws an exception.
December 8, 2013, 08:01 (GMT)
Removed the writer_create/reader_create callbacks in PTCacheID, will focus on baking first and see about overhauling the API later.
December 8, 2013, 08:01 (GMT)
Added new operator for point cache 'Export'. This is basically the same as baking, naming may have to be adjusted later, for now they just exist side-by-side.
December 8, 2013, 08:01 (GMT)
Added boost includes and a thread utility file for mutex and locking.
December 8, 2013, 08:01 (GMT)
Exporter class to handle baking of point cache data over a frame range. This uses a mutex and cancel flag to make it work in the job system.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021