Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Pin 3D layer to a specific point on CC Sphere

  • Pin 3D layer to a specific point on CC Sphere

    Posted by Nikolya Gousteau on May 19, 2012 at 7:03 am

    Hi all,

    I am trying to bind a 3D layer to a specific point on a sphere which is generated by CC Sphere. The layer should rotate together with the sphere as if it was pinned to it.

    To do this, I create auxiliary layer which is “frozen” into sphere, and hence rotates together with it. Then I create a target layer which will be pinned to the sphere, and move it in Z to the distance equal to the radius of the sphere. Finally, I pickwhip it to the auxiliary layer and voilà!

    However the target layer deviates from the surface of the sphere when the rotation is sufficiently big. Probably it is better to see the result , then describe it. The question is – why?

    I also attach the project file.
    4175_pointonsphere.aep.zip

    P.S. I know that it is probably easier to do this in true 3D app, but my goal is to understand AE better:)

    Nikolya Gousteau replied 13 years, 11 months ago 2 Members · 5 Replies
  • 5 Replies
  • Stef Prein

    May 24, 2012 at 1:36 pm

    I have exactly the same question… Did it already work out?

    Stef Prein
    director/motion designer at StudioFets.
    Utrecht, The Netherlands
    http://www.studiofets.com

  • Nikolya Gousteau

    May 24, 2012 at 7:40 pm

    Unfortunately not yet:)

    Initially I thought that the perspective used by CC Sphere differs from the perspective used by AE… I tried to change the settings of camera, but it didn’t help.

    It is interesting that the rotation of the point on sphere appears to be tracked well this way. The only problem is distance from the point to the center of the sphere…

  • Stef Prein

    May 25, 2012 at 9:33 am

    I’m gonna post this question as well. Maybe someone picks it up this time 🙂

    Stef Prein
    director/motion designer at StudioFets.
    Utrecht, The Netherlands
    http://www.studiofets.com

  • Stef Prein

    May 25, 2012 at 2:58 pm

    Solution!

    https://forums.creativecow.net/thread/2/1019053#1019053

    Good luck with your project!

    Stef Prein
    director/motion designer at StudioFets.
    Utrecht, The Netherlands
    http://www.studiofets.com

  • Nikolya Gousteau

    May 26, 2012 at 4:08 pm

    It appears that I’ve just solved the problem 2)

    In the expression for Null position I wrote
    temp = thisComp.layer("CC Sphere Layer").effect("CC Sphere")("Offset");
    [temp[0], temp[1], 0]

    instead of
    temp = thisComp.layer("CC Sphere Layer").effect("CC Sphere")("Offset");
    [temp[0], temp[1], temp[1]]

    The question 1) remains.

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