jit.gl.videoplane – blend_mode alpha mask simple problem

Jun 18, 2011 at 3:48pm

jit.gl.videoplane – blend_mode alpha mask simple problem

Hi, a small problem but i don’t get (around) it.

I have searched the forum but haven’t find a good simple solution.

WHAT I HAVE:
1 big jit.gl.videoplane with video on
many small jit.gl.videoplane’s with still images with alpha (channel) mask

WHAT I WANT:
The many small jit.gl.videoplane’s with still images (.psd and or .png files) cut out with alpha mask move around on top of the big jit.gl.videoplane with video. Simple, so everything works, except the alpha masking.

WHAT I USE:
blend_enable 1 and tried all the possible blend_mode’s possibilities but no victory.

What is going wrong?

Please help, i can’t get it and get crasy because this has to be simple.
Thanks.

#57665
Jun 19, 2011 at 10:45am

Try using depth_enable 0 and specify the rendering order with the layer attribute.

Here:

– Pasted Max Patch, click to expand. –
#206631
Jun 22, 2011 at 4:57am

I have also been looking for a way to do just this sort of thing. THANKS!!!! I had no idea you could combine videoplanes in this fashion.

#206632
Jun 22, 2011 at 5:57am

Thanks, this helped me out too. I didn’t realize that videoplane had an @layer attribute.

#206633
Jun 28, 2011 at 11:24am

thanks

#206634
Jun 29, 2011 at 9:52am

Thanks. I have already get it working properly whitout @layer attribute.

Solution: alpha channels in .psd file format are working good and with @layer attribute better.
Very smooth images. Play with the @blend_mode attribute. I use the default 6 7 now.

#206635
Jul 17, 2011 at 6:47am

Hi There, I am having a similar problem…

I have looked in the above patch and used bits of it. Good stuff.

Problem I am having though is I need to blend/not show alpha so that I can create my kaleidoscope. Here is what I have so far… I want to be able to fill the whole screen with these kaleidoscopes.

– Pasted Max Patch, click to expand. –
#206636
Jul 18, 2011 at 7:50pm

“Problem I am having though is I need to blend/not show alpha so that I can create my kaleidoscope. Here is what I have so far… I want to be able to fill the whole screen with these kaleidoscopes.”

If you want to shrink the kaleidoscopes, you can use the scale attribute in jit.gl.videoplane. If you want to change the shape, you can use an alphamask. Is that what you meant?

#206637

You must be logged in to reply to this topic.