diff options
author | Martin Poirier <theeth@yahoo.com> | 2008-11-02 20:43:55 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2008-11-02 20:43:55 +0300 |
commit | d7aad3559914cc869d0bff92c4394eb0df17caa3 (patch) | |
tree | b95de250b824ff3f53b2cf2d63298102471a6574 /source/blender/include/reeb.h | |
parent | cfee0079d22ec1db07b9da9b6d78e6679de76db1 (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.h | 1 |
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 { |