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:
authorMartin Poirier <theeth@yahoo.com>2008-11-02 20:43:55 +0300
committerMartin Poirier <theeth@yahoo.com>2008-11-02 20:43:55 +0300
commitd7aad3559914cc869d0bff92c4394eb0df17caa3 (patch)
treeb95de250b824ff3f53b2cf2d63298102471a6574 /source/blender/include/reeb.h
parentcfee0079d22ec1db07b9da9b6d78e6679de76db1 (diff)
Sketch Retargetting:
Use stroke normal to align roll of the retargetted bones. Unlike stroke conversion, the final roll is not forced to point exactly to the normal. Rather, It tries to align the X or Z axis of the bones (whichever is closest) to the stroke normal. Forcing the roll can invert knees while this rightly only makes one of the joints rotation axis perpendicular.
Diffstat (limited to 'source/blender/include/reeb.h')
-rw-r--r--source/blender/include/reeb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/reeb.h b/source/blender/include/reeb.h
index d8146ff8d6d..5dcbad7e80b 100644
--- a/source/blender/include/reeb.h
+++ b/source/blender/include/reeb.h
@@ -63,6 +63,7 @@ typedef struct EmbedBucket {
float val;
int nv;
float p[3];
+ float *no; /* if present, normal of the bucket */
} EmbedBucket;
typedef struct ReebNode {