Skip to main content
New Participant
March 27, 2010
Question

How to read keyframeTangent values in Graph Editor for AE

  • March 27, 2010
  • 1 reply
  • 642 views

When I Select a transformation of type - SCALE, ORIENTATION, ROTATION or Opacity, respective graph is displayed in the Graph Editor window.

If I select Graph Type as Value Graph, I can see various control points and the BEZIER CURVE between them.

I can read the values of control points, but IS THERE A WAY TO READ THE VALUE OF CONTROL VECTORS (POINTS DEFINE THE SHAPE OF BEZIER CURVE)

I want to read the values of Control Vectors, for transformation of type - Scale, Orientation, Rotation & Opacity, using some plugin Code.

I can read values of Influence and Speed for any control point from Speed Graph, but I am not able to convert them to the value graph.

Please suggest, or let me know if more detail is needed to solve this problem.

Thanks

Nishant

This topic has been closed for replies.

1 reply

Community Expert
March 27, 2010

hi there.

i hope i understand correctly, but are you trying to find the graphic location of a tangent handle?

if that is the case then i think that the 'speed' attribute would define the angle and the 'influence' attribute would define the distance.

i'm not familiar with the units they provide, but most likely you'd want to use them with trigonometric functions.

for example: (THIS IS NOT CORRECT!!!! JUST AN EXAMPLE!!!!)

x = sin(speed * radiansPerDegree) * influence;

y = cos(speed * radiansPerDegree) * influence;

you'd probably have to find the offset on the graph that's relative to the point to which the tangent belong's position,

or the scale of the whole graph that would affect the graphic size of the influence, but that should be it.

i hope this helps.