SIGN IN
::
SPONSORS
::
ABOUT US
::
CONTACT US
FORUMS
LIBRARY
PODCASTS
BLOGS
MAGAZINE
SERVICES
NEWSLETTERS
NEWS
STORE
EVENTS
ADOBE AFTER EFFECTS:
Forum
AE Basics
AE Expressions
Tutorials
Articles
Podcasts
Motion Graphics
Training
Cinema 4D
Re: Rotating a Cubic and Controling the polygon opacity
Cow Forums
:
Adobe After Effects Expressions
VIEW POSTS
•
ADD A NEW POST
•
SEARCH
•
CHANGE FORUM
Return to Posts Index
•
Read Entire Thread
•
Reply To This Post
Re: Rotating a Cubic and Controling the polygon opacity
by
Trent Armstrong
(pxlguy)
on Apr 29, 2008 at 1:34:57 pm
To easily make the Cube, put a 200x200 Solid in the comp and apply these expressions:
TO Y ROTATION:
i = index - 1;
i * 90
TO ANCHOR POINT:
w = width / 2;
x = value[0];
y = value[1];
z = w;
[x, y, z]
*Duplicate that layer until you have the four sides of the cube. Add a camera, put it on the bottom of the layer stack, and move the camera so you can see that the layers make the cube.
Then make two more duplicates of your Solid, remove the Y ROTATION expressions and put these two expressions in for X ROTATION respectively:
LAYER 5:
i = index;
i * 270
LAYER 6:
i = index - 1;
i * 90
That's your cube. You can change the size of your solid and it will effect the whole cube.
As for the transparency issue ...
apply this expression to the Opacity of each of the solid layers
delta = toCompVec([0, 0, 1])[2];
linear(delta, 600, 1500, 10, 65)
This whole thing obviously works best if you are using squares to build the object.
Cheers,
Trent
Trent Armstrong - Creative Cow Leader
http://www.dallasaeug.com
Return to Posts Index
•
Read Entire Thread
•
Reply To This Post
Current Message Thread:
Rotating a Cubic and Controling the polygon opacity
by john kevien on Apr 22, 2008 at 2:59:16 am
Re: Rotating a Cubic and Controling the polygon opacity
by Trent Armstrong on Apr 29, 2008 at 1:34:57 pm
Note:
If you are a registered user and you
do not
see your name and email in the two respective fields above, you may reset your account cookies by clicking
here
. Your post
will not be accepted
if the name and email provided above are not currently registered in our database.
Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message
Entire Thread
None
Message
Note:
The following characters are HTML command characters, and may cause parts of your post to disappear, if not used correctly: < > &. To include any portion of the post in your response, highlight the desired text and hit the "Q" key. For more on how to post,
click here
.
Please post Expressions Code in the box below:
Add your message signature
Note:
By clicking "Post Direct" button above, you are agreeing to the Creative Cow's
Code of Conduct
.
FORUMS
•
LIBRARY
•
PODCASTS
•
BLOGS
•
MAGAZINE
•
SERVICES
•
NEWSLETTERS
•
NEWS
•
STORE
•
EVENTS
©
CreativeCOW.net
All rights are reserved.
[
Top
]