Photo Morphing

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

I'm trying to make a basic photo morpher, i'm basing the patch on jitter tutorial 39 about spatial mapping. What I've made so far seems to morph pictures but makes the pictures look awful before I begin morphing. What I ultimately want is to create morphs similar to those used by Ryoichi Kurokawa in his Ground installation http://www.creativeapplications.net/maxmsp/ground-maxmsp-sound/ from 1minute.20. I'm guessing the method I'm using isn't a particularly effective way of doing this and my knowledge of using matrixes is pretty limited. would anyone be able to give me a solution for this patch or point me in the direction of a tutorial or patch to dissect that could help me create image morphing.

tep's icon

first, you could use @adapt 1 attribute in matrix & jit.qt.movie objects to avoid ugly default dim 320x240.

Also you could have a look at the shaders (jit.gl.slab), many of the jitter objects like jit.repos exist in a .jxs version. And sometimes they have a much finer graphical result. Try also @fsaa 1 in the jit.window to have a smoother result.
You'll find interesting examples on how to use them here :
/examples/jitter-examples/render/slab-helpers/
And many other shaders can be easily found here and there.

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

I went through my patch and some other patches and came up with this

It seems a much smoother morph, the only problem is I bastardised the gl.pix object form another patch and am not really sure whats going on inside. I'm also not sure how the image is being sent to the pwindow, the reason that this is an issue is that whenever I move or resize the pwindow it resizes the dimesnions of the images ultimate morph output, also when i tried tidying up the patch i left the pwindow out of the presentation, it seems that nothing will happen unless the pwindow is visible in the max window, any ideas why and how would i go about solving this? Cheers

Aaron Wharton's icon

Just checking to see if atarilover123 ever found a deeper understanding over this last patch and/or if anyone else has resources they'd care to share for similar methods. cheers!