Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

Complex version of the CC Sphere Expression

$
0
0

So, I'm revisiting the old "How do I get the CC Sphere expression to respect the comp camera chesnut."

 

So far I'm using:

 

lookAt(thisComp.activeCamera.position,position)[0] applied to the X

 

lookAt(thisComp.activeCamera.position,position)[1] applied to the Y

 

lookAt(thisComp.activeCamera.position,position)[2] applied to the Z

 

However, here's the challenge.  I'd like to set up a plane in 3D space that's tangent to the sphere and then zoom in on it.   I'm going to be flying around the sphere, looking at it, and the plane from a variety of different angles, and then pushing in on the plane.  I'm not sure that this is possible using CC Sphere, but if it is, the above expression is not nearly robust enough to accomplish it.  Thanks in advance for any help!

 

 

EDIT:  Alternatively, doing it backwards might be easier.  It might be simpler to use expressions to place a 3D plane tangent to the CC Sphere and then get it to respect the radius and Rotation X, Y, and Z parameters within CC Sphere.  Unfortunately, this is still beyond me.

 

Cheers,

Ari


Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>