Return-Path: Received: from mail-qc0-f169.google.com ([209.85.216.169] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 4857503 for AE-List@media-motion.tv; Wed, 26 Sep 2012 15:18:42 +0200 Received: by qcqt2 with SMTP id t2so461326qcq.28 for ; Wed, 26 Sep 2012 06:20:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=wdaPQ3nzG2gRgmPvE4rdzmwz811foDswnSPY1H74e3A=; b=Yd4zzRSB5Pjqu6rZz9rXwMgMu4TfLR3P/TF/JQmw8nuTDPNciG888D6EbonZvG8eqw 5QEMCSYL9CdTNz/qbD/fclFwwNC1J4JEv+LKHl3kfpzIpbKdwQnEAdpRUBXxvzVWjWsW 8XfG+XH/9mfsRFjGzl9wwykGuc1v2bppgkq2+R6eo7on2/DHlENBYQkV8JVW5nL++/Jf 4C/Lw3nQgbuNxBsB0A6756ss/W+rMi6tAlkdjXXdZn1RfiDwij+WAHsjxAWNickGxe9D kciGibG4RK2rq1o+QXkrrtcG4lkUWPsX6+iraeCQAQGxFHhzEMfNbxQeIeMk88JGUVbn UApg== MIME-Version: 1.0 Received: by 10.229.134.208 with SMTP id k16mr370992qct.13.1348665624407; Wed, 26 Sep 2012 06:20:24 -0700 (PDT) Received: by 10.49.81.73 with HTTP; Wed, 26 Sep 2012 06:20:24 -0700 (PDT) In-Reply-To: References: Date: Wed, 26 Sep 2012 15:20:24 +0200 Message-ID: Subject: Re: [AE] expression for facing away layers in precomp From: Py Fave To: After Effects Mail List Content-Type: text/plain; charset=ISO-8859-1 perhaps linking precomp camera's attributes to the main comp's one. tell me if it works! 2012/9/26 Robert Kjettrup : > Hi > > I am using this expression to make the layers that face away from the camera > be invisible. > > if (toCompVec([0, 0, 1])[2] > 0 ) value else 0 > (found via Dan's site here: > http://www.motionscript.com/design-guide/invisible-facing-away.html) > > But when i use the comp as a precomp with continious rasterize option turned > on, the 3d layers that i has the expression ofcourse don't respect the > camera in the master comp. Is it possible to write an expression that uses > the display camera in the master comp that affects the opacity og the 3d > layers in the continious rasterized precomp? > > > Robert Kjettrup / Grafiker / STV Mayday > Mobil: 25 18 95 16 > Mail: robert@stvmayday.dk