Activity › Forums › Adobe After Effects › rotating 3D cube
-
rotating 3D cube
Posted by Ron Brajkovich on July 31, 2015 at 7:34 pmI created a 3D cube, but am frying out my brain trying to get the cube to rotate on one corner, so that all side are readable in a 360 spin.
David Fuchs replied 10 years, 10 months ago 2 Members · 2 Replies -
2 Replies
-
Ron Brajkovich
August 3, 2015 at 1:52 pmHell Dave, Thanks for your reply. I’m learning as I go and appreciate your help.
So now I have the Null layer,3d, but can’t seem to accurately set my anchor point in the center.
How do I accurately find the center of the cube with the Null Layer anchor point?
-
David Fuchs
August 3, 2015 at 2:55 pmThere may be a simpler way I’m not familiar with, but you just need to use a bit of math. If you had a 200 pixel square comp, and stuck the null in the dead center, it’s got a position of 100,100,0. 100px-wide squares would need to be arranged around that origin point—the “front” face would be at 100,100,-50, for instance, the back at 100,100,-100, one of the side faces would be rotated 90 degrees on the Y axis and placed at 100,100,-50, etc. Snapping and an easy way of adjusting anchor points for rotation such as the RepositionAnchorPoint script make it trivial to quickly do this; then you parent it to that null.
Note that you will sometimes get some fringes and gaps/seams in your cube, even if mathematically it’s perfect. Setting the cube faces’ blending mode to “Alpha Add” usually helps with that.
Reply to this Discussion! Login or Sign Up