jit.alphablend and jit.matrix


    Apr 17 2010 | 11:52 pm
    Hello,
    I'm using some 120 x 120 px PNG images (with transparency) that I'm trying to composite together. I read the image according to a key pressed, send it to alphablend to get rid of the alpha then to a matrix to position the resulting image using the destdim arguments.
    I can position the images or get rid of the alpha but I can't do both... Would anyone have a suggestion ?
    Here is the patch and I have also attached three images that can be triggered by the letters A B C (ASCII 97,98, 99). Thanks !

    • Apr 18 2010 | 11:44 am
      Have you considered the use of the trigger object to control the order of operations? That's always a good idea when you're interested organized sequences of more than one thing.
    • Apr 18 2010 | 1:37 pm
      Well, rather than processing the image's alpha first then placing it in another matrix, I have done the opposite and it works ! I have put the working code if anyone is interested using it or simply comment on it !