Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Setting layer's transform/rotation matrix

Guest
May 05, 2013 May 05, 2013

Hi All,

I''m working on an AEGP plug-in that needs to keyframe layer's transform. I've got a sequence of 3D rotations stored as quaternions and I'd like to convert it into orientation (or rotation) keyframes. Converting the quaternions to Euler angles is not acceptable in my situation, since due to the multiple possible solutions/angles for the same 'pose', the object flips during animation. The SDK Guide also specifies that Orientation uses quaternion, but I'm not sure how this can help me.

Any ideas ?

Thanks

edit: from this thread http://forums.adobe.com/thread/1142672?tstart=30, it looks like what I'm looking for is not possible:

(shachar carmi):
neither an effect, nor an AEGP can change the transformation matrix. they can only change the param values.

Message was edited by: cbmb

TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
May 12, 2013 May 12, 2013

I've solved my problem by using a custom atan2 function in my Matrix to Euler routine, and converting the result to rotation (X,Y,Z) keyframes.

Translate
Guest
May 12, 2013 May 12, 2013
LATEST

I've solved my problem by using a custom atan2 function in my Matrix to Euler routine, and converting the result to rotation (X,Y,Z) keyframes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines