Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Distort Offset isssues

  • Distort Offset isssues

    Posted by Duncan Catterall on September 6, 2015 at 9:40 pm

    Hi there, I’m using an the Offset (under Distortion effects) to move a world map around before a sphere. I can key frame this very nicely and even worked out my longitude and latitude BUT I have a line I’m needing to follow from the preComp of this map. At the moment I tired this but the positioning is all over the place. I had tried to work out the multiplication to convert to the scale, hence the *2.98…etc and this works fine for frame one…just really not the rest.

    Links to a null which is watching a emitter. I could happy just track the emitter as well.

    Any advice would be great. I need to go the cc sphere route as I also need to have the flat option of the map and going CGI is not an option as the only person working on the graphics for this. Huge thanks in advance for any suggestions.

    A = comp("Tiled_Mapped_RENDERED_PSD_28800_14400").layer("TrackerNull").position[0]*2.983544216276015;
    B = comp("Tiled_Mapped_RENDERED_PSD_28800_14400").layer("TrackerNull").position[1]*3.680104031209363;

    [A,B]

    Duncan Catterall replied 10 years, 8 months ago 2 Members · 2 Replies
  • 2 Replies
  • Miguel De mendoza

    September 7, 2015 at 4:14 pm

    This happens beacuse the Offset space is diferent than the layer space. Check “Layer Space Transforms methods” section from there :https://helpx.adobe.com/after-effects/using/expression-language-reference.html, “toWorld()” function.
    Anyway, you dont need to use an Offset before the CC Sphere to offset the map, use CC Sphere and then, change the rotation of the sphere.

  • Duncan Catterall

    September 7, 2015 at 9:30 pm

    Ah I think I may have overlooked the rotation setting due to the amount of plate spinning going on here. Excellent shout and works in an interesting way with my longitude and latitude data.

    Brilliant, that link looks spot on and even has more detail on linking things to cc sphere which is perfect.

    Cheers! 🙂

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy