ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Pin 3D layer to a specific point on CC Sphere

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Nikolya GousteauPin 3D layer to a specific point on CC Sphere
by on May 19, 2012 at 7:03:56 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



, 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:)


Return to posts index

Stef PreinRe: Pin 3D layer to a specific point on CC Sphere
by on May 24, 2012 at 1:36:21 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


Return to posts index

Nikolya GousteauRe: Pin 3D layer to a specific point on CC Sphere
by on May 24, 2012 at 7:40:50 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...


Return to posts index


Stef PreinRe: Pin 3D layer to a specific point on CC Sphere
by on May 25, 2012 at 9:33:49 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


Return to posts index

Stef PreinRe: Pin 3D layer to a specific point on CC Sphere
by on May 25, 2012 at 2:58:50 pm

Solution!

http://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


Return to posts index

Nikolya GousteauRe: Pin 3D layer to a specific point on CC Sphere
by on May 26, 2012 at 4:08:19 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.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]