Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2016-09-09 06:59:20 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2016-09-09 06:59:20 +0300
commit0053a9116553c516d7a3e5ccd16d8ffd6a27da3b (patch)
treed8e3373efc11e91bc00ea3e606b6500ca85534f4 /source/blender/alembic/intern/abc_customdata.h
parent631af9f930d2fd2c76751204ff22239aa95f761d (diff)
Alembic streaming: initial support to interpolate data between frames.
Pretty self-explanatory, allows to get some slow motion type of playback and animations.
Diffstat (limited to 'source/blender/alembic/intern/abc_customdata.h')
-rw-r--r--source/blender/alembic/intern/abc_customdata.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/abc_customdata.h b/source/blender/alembic/intern/abc_customdata.h
index 3b16c0d9796..bc42e24eba1 100644
--- a/source/blender/alembic/intern/abc_customdata.h
+++ b/source/blender/alembic/intern/abc_customdata.h
@@ -63,6 +63,11 @@ struct CDStreamConfig {
void *user_data;
void *(*add_customdata_cb)(void *user_data, const char *name, int data_type);
+ float weight;
+ float time;
+ int index;
+ int ceil_index;
+
CDStreamConfig()
: mloop(NULL)
, totloop(0)
@@ -72,6 +77,10 @@ struct CDStreamConfig {
, pack_uvs(false)
, user_data(NULL)
, add_customdata_cb(NULL)
+ , weight(0.0f)
+ , time(0.0f)
+ , index(0)
+ , ceil_index(0)
{}
};