We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
Alpha Channel on quicktime movies (Read 824 times)
Alpha Channel on quicktime movies
Mar 19th, 2008, 7:20pm
 
Hi, Is there a way to open quicktime movies that have an alpha channel set up for tranparency reasons ?

I've done this before with Max/MSP/Jitter, but I can't get it working in Processing.

I've already tried using two separated movies, one with the colors and another with a Gray scale Image that I used as an alpha mask, but the result is realy poor.

Is there another way of doing that ?

Can anyone help me ?

Thanks.
Re: Alpha Channel on quicktime movies
Reply #1 - Apr 7th, 2008, 1:54pm
 
I was asking the same question a week ago, The way to do it is not what you'd expect. Import a Quicktime file with an alpha channel and RGB channels. Then display that file and also use the same file as the mask.

eg,

   image(myMovie, 0, 0);
   myMovie.mask(myMovie);

hope that helps.
Page Index Toggle Pages: 1