Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: ForumAE BasicsAE ExpressionsTutorialsArticlesPodcastsMotion GraphicsTrainingCinema 4D

3D rotation - Cube

Cow Forums : Adobe After Effects Expressions
3D rotation - Cube
by Tim Hodgkiss on May 13, 2008 at 8:41:35 pm

I'm probably jumping in the deep end here...

I can do normal 3D rotation. My current problem is trying to create a cube. There are six comps, one of which is the 'master'. Using expressions I can get the x and y to match up for the side pieces, the x, y, and z to match up for the back, and the top and bottom are giving me issues.

Thus far my efforts work only for two of the rotations, but since I want this to be spinning freely (it's meant to be hovering and rotating in the final design), I could do with getting all three working.

All six sides are 500px * 500px, with their anchor points at 250, 250, 250, meaning that I can use this as a common centre for all of them.

I imagine that there is some trick to achieving this, but at the moment it's escaped me.

Respond to this post     Return to posts index

Re: 3D rotation - Cube
by Dan Ebberts on May 13, 2008 at 9:36:04 pm

I'd put a null at the center and make it the parent of the sides. Then just rotate the null.

Dan



Respond to this post     Return to posts index

Re: 3D rotation - Cube
by Mike Clasby on May 13, 2008 at 10:45:37 pm

The easiest way is to download the script, createCube, put the .jsx file in your AE script folder, then select the 6 sides, 6 layers in AE, and File>RunScript>Create Cube. Check the top box (it's French, yikes!), and it creates a cube from your layers (with expressions) with a null, so you can rotate that Null.

http://www.nabscripts.com/Downloads/downloads_en_1.php?id=7

It can also create a cube with new solids.

Lots of other cool scripts there too.





Respond to this post     Return to posts index


Re: 3D rotation - Cube
by Bert Brown on May 14, 2008 at 4:06:53 pm

holy crap, thanks for posting that link. you just made my job a million times more efficient. all these scripts are amazing.

----------------------------------


peep my over-the-interweb band, red abbott.
"we electro-rock over long distances..."

Respond to this post     Return to posts index


Re: 3D rotation - Cube
by Darby Edelen on May 13, 2008 at 11:26:02 pm

If you pre-compose all of your layers arranged in a cube, collapse transformations on the pre-comp and enable its 3D switch then you don't even need to use a null. You can just rotate the pre-comp in 3D.

Darby Edelen
Lead Designer
Left Coast Digital
Santa Cruz, CA

Respond to this post     Return to posts index

Re: 3D rotation - Cube
by Tim Hodgkiss on May 14, 2008 at 6:17:11 pm

Success, and thanks to those that offered help. The first test of the results can be found here: http://www.youtube.com/watch?v=pk8Op43hTCI



Respond to this post     Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSLIBRARYPODCASTSBLOGSMAGAZINESERVICESNEWSLETTERSNEWSSTOREEVENTS

© CreativeCOW.net All rights are reserved.

[Top]