Return-Path: Received: from [208.97.132.119] (HELO homiemail-a29.g.dreamhost.com) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP id 4837776 for AE-List@media-motion.tv; Thu, 06 Sep 2012 21:38:20 +0200 Received: from homiemail-a29.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTP id A3113674070 for ; Thu, 6 Sep 2012 12:39:24 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=louai.org; h=mime-version :in-reply-to:references:from:date:message-id:subject:to: content-type; q=dns; s=louai.org; b=MymIdCY2njI7Lhk1V4tCrhRja7sV tXrnpXhzY9Rie9pl8phJrZ9VGVAkRk9fQDZ5Noc65ILZTMzYtjua27o++ChFxppO ee/gWKpHVXH9hVAvpqg7d4xNiDxZlnqeSX4S8561PnRtpnFFXrnrAS00wDHE0gdr SorqQXu4cuyD3v0= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=louai.org; h=mime-version :in-reply-to:references:from:date:message-id:subject:to: content-type; s=louai.org; bh=BTxICBn4E1cJU7oQz2UZbHZwHRU=; b=or LQZ5mtX8S6qf2Zbtd/2UwuCg2jY+ifnirLv35yTJwQmTDclcdSeH7vXGSkoQ4xz0 x9A18vp0Yn/kg/YsGg98rKRYB4B9QdFVE5NP0ZkPbunc7OsWcvUgd4YwPPNb2KAJ V940gYPyjew+Z7jIF6Ubpos5+12ZjpvMbY223TRcs= Received: from mail-ie0-f169.google.com (mail-ie0-f169.google.com [209.85.223.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: me@louai.org) by homiemail-a29.g.dreamhost.com (Postfix) with ESMTPSA id 8471D67406A for ; Thu, 6 Sep 2012 12:39:24 -0700 (PDT) Received: by iec9 with SMTP id 9so3640974iec.28 for ; Thu, 06 Sep 2012 12:39:23 -0700 (PDT) Received: by 10.42.44.71 with SMTP id a7mr3797438icf.46.1346960363767; Thu, 06 Sep 2012 12:39:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.39.72 with HTTP; Thu, 6 Sep 2012 12:38:53 -0700 (PDT) In-Reply-To: References: From: Louai Abu-Osba Date: Thu, 6 Sep 2012 15:38:53 -0400 Message-ID: Subject: Re: [AE] "conditional" blending layers To: After Effects Mail List Content-Type: text/plain; charset=ISO-8859-1 Actually, instead of using an effect to set the blending mode, you could have duplicates of each layer, each set with the blending modes you want, and then using the collision expression to turn their opacity on and off so the one you want is blending. I think... On Thu, Sep 6, 2012 at 3:35 PM, Louai Abu-Osba wrote: > I think so. You'd need to use an effect that allows you set blending > modes, and then use sampleImage() to detect when the layers overlap > and then set the effect properly. Take a look at > http://www.motionscript.com/design-guide/collision.html > > It would probably run pretty slow. If expressions run too slow AE will > sometimes turn them off without telling you! > > -louai > > On Thu, Sep 6, 2012 at 2:28 PM, Teddy Gage wrote: >> How would I go about creating a "conditional" blending layer? What I mean is >> it possible to have say five circles called A,B,C,D,E randomly floating in >> space and overlapping, such that unless A is over B, A has "normal" blending >> mode, but when A overlaps B, it has an "add" blending mode? And then when A >> overlaps C it has multiply blending mode instead, just as an example? This >> is a puzzle... >> >> -- >> Animator & Editor >> www.teddygage.com >> Brooklyn >>