FORUMS: list search recent posts

How do I control the opacity of individual pixels?

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Dawood Al-Kiyumi
How do I control the opacity of individual pixels?
on Aug 11, 2012 at 2:21:08 am

Hello everyone,

I searched on the internet but found nothing.

I want to control each pixel's opacity depending on another pixel's color on another layer.

For example: if a pixel in a layer 1 has the same color (hsla) as the pixel in layer 2, the pixel opacity of layer 1 becomes 0. Otherwise the opacity is 100.

I don't know if this is actually possible.

Thanks a lot in advance,
Dawood


Return to posts index

Dan Ebberts
Re: How do I control the opacity of individual pixels?
on Aug 11, 2012 at 3:41:22 am

I think you'd need to create a plugin to do that.

Dan



Return to posts index

Dawood Al-Kiyumi
Re: How do I control the opacity of individual pixels?
on Aug 11, 2012 at 11:47:20 am

Hi Dan, Thanks.

Do you know any good website or tutorial that you can suggest to me on how to create a plugin?

I know it's not that easy. But I'm kind of desperate to have this kind of control.


Return to posts index


Dan Ebberts
Re: How do I control the opacity of individual pixels?
on Aug 11, 2012 at 4:47:37 pm

The best tutorial I know of is the SDK documentation itself. It sort of takes you through what you need to do to convert one of the example plugins to be your own. That part's not too tough. However, there's a pretty steep learning curve on figuring out how to make it do something different (like in your case--adding a layer control, checking out that layer, and getting pixels from it).

It's actually quite a bit of fun figuring it all out and getting a new plugin to work, it's just that first one will take quite a while.

Dan



Return to posts index

Dawood Al-Kiyumi
Re: How do I control the opacity of individual pixels?
on Aug 11, 2012 at 6:23:35 pm

Thank you very much, Dan.
You are always helpful to us. ;D

I'll try my best and see what I can get.

Chears,
Dawood


Return to posts index

Xavier Gomez
Re: How do I control the opacity of individual pixels?
on Aug 11, 2012 at 9:20:21 pm

I confirm, steep is the slope....


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]