[PD] GEM - alpha blending of images over movies

Item State itemstatechanged at yahoo.de
Fri Feb 16 18:44:32 CET 2007


i'm trying to port a former jitter patch to pd/gem
i have problems getting overlayed images to display
properly. i have four rectangles fed by pix_movie,
then i need to fade in and out a rendered text image.
i tried using pix_image -> pix_texture and [alpha 1].
the images are .png with transparent portions. i once
got it to display correctly, but now if i open the
patch, the videos all show up with wrong colours:

(see attached patch gemTest2.pd)

once i remove the pix_image and pix_texture, save the
patch and re-open it, the videos show up correctly

(see attached patch gemTest2B.pd)

... also, i don't know how to fade in the text (the
"action" string). is there an alpha-channel multiplier
for pix_image? thanks for hints!

is it possible to stretch the video so that the
rectangle stays the same, but only the top part of the
video is shown (vertically zoomed without
interpolation, so that you can see the pixels)?

ciao, -sciss-

Send instant messages to your online friends http://au.messenger.yahoo.com 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gemTest2.pd
Type: application/octet-stream
Size: 3074 bytes
Desc: 33174517-gemTest2.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070217/0ccac6b8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gemTest2B.pd
Type: application/octet-stream
Size: 2628 bytes
Desc: 1404995639-gemTest2B.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070217/0ccac6b8/attachment-0001.obj>

More information about the Pd-list mailing list