Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE AFTER EFFECTS: HomeForumBasicsExpressionsTutorialsPodcastsMotion GraphicsTrainingCinema 4DFAQ

dan's "Layer Invisible When Facing Away" expression quick question

Cow Forums : Adobe After Effects Expressions
VIEW POSTS   •   ADD A NEW POST   •   SEARCH   •   CHANGE FORUM
Respond to this post   •   Return to posts index   •   Read entire thread


dan's "Layer Invisible When Facing Away" expression quick question
by al brown on Dec 3, 2008 at 9:13:35 am

if (toCompVec([0, 0, 4335])[2] > 0 ) value else 0


if (toCompVec([0, 0, 4335])[2] > 0 ) value else 0



i'm following Dan's "Layer Invisible When Facing Away" expression, incredibly useful that it is!! Just have a quick question. Here's the expression i'm referring to:

if (toCompVec([0, 0, 4335])[2] > 0 ) value else 0


i can understand each aspect of the expression, except for

[2] > 0

What is the 2 for? And what is the (presumably) Less Than Zero for?

Would really appreciate thoughts (especially ones for non-expression peoples like myself!)



Respond to this post   •   Return to posts index   •   Read entire thread


Current Message Thread:




Note: If you are a registered user please click here to login before posting.

Your post will not be accepted if your name and email address are not registered in our database. Click here if you do not have an account.

Name
E-Mail Address
Subject
E-Mail me when someone responds
Just This Message   Entire Thread   None  

Message:



Note: The following are HTML 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. Read more...



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.



FORUMSTUTORIALSMAGAZINETRAININGVIDEOS - REELSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]