importmovie in a 1 plane matrix in max7 doesn't work

aartcore's icon
Max Patch
Copy patch and select New From Clipboard in Max.

my max6 patch didn't work in max7 cause of this... is it suppost to work like this or is it a bug?

Andro's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Yup, thats weird, simple solution though.

aartcore's icon

Thanks Andro for your reply,
if your remove the arguments it will be default a 4 planes matrix, and i wanted a direct 1 plane matrix image.

i already changed the parts with this importmovie thing in my max6 patches to let it work in max7, but i rather not have to check and fix my max6 patches to let them work in max7.

Andro's icon

Maybe use jit.gen.
a one plane matrix is just the alpha data.
Putting it into jit.gen
swiz a
vec 0
to output 1

Should be faster as well.

Rob Ramirez's icon
Max Patch
Copy patch and select New From Clipboard in Max.

hi aartcore. this is an issue with the AVF engine reading single plain images. you can either set the Video-Engine preference to qt for Max 6 behavior with jit.matrix importmovie, or you can use jit.movie @engine qt to read the image:

i'll take a look and see if avf engine can be improved to in this area.