A half assed way to accomplish my goal (two images "morphing")

Jan 15, 2011 at 1:23pm

A half assed way to accomplish my goal (two images "morphing")

Hi all,

This is part of another simple patch for a friend that needs to crossfade between two static images for a performance.
The first part is going ok, thanks to the help of various people here. The second part is a stab at replicating what h was able to do using the application he was using before to do this kind of things, KeyWorks.
In his previous app he was able to “morph” between two static images and the result was the edged and BW’ed.
The effect created a movement of the “cells” of one image somewhat moving to the location of the second image.
I thought jit.repos was the way to do it and wrapped up something really silly to approach his results:it’s intended use is with static images and the top fader fades both the images and the spatial maps..

– Pasted Max Patch, click to expand. –

It’s stupid at best but maybe it is the right direction?
I’d like to implement this in GL domain if this is a direcion good enough..

Any input appreciated

Thanks a LOT

#54423
Jan 16, 2011 at 5:06pm

Try playing with one of the sort of convolution effects like jit.wake jit.slide or jit.glop

I’ve had good luck in the past with a sort of cheap morph type look with jit.wake if you tune the fb parameter just right.

Instead of crossfading, you could bang the first image through, have the feedback set pretty high and just bang the second image and they would sort of fade between the two

jit.repos is a good way to go too

for a sort of ‘mercury’ look I’ve combined wake/sobel and repos: http://vimeo.com/628531

send straight video into one input of repos, and then send straight video into jit.wake into jit.sobel into the second input of jit.repos (mode 1) and you can mess with interpbits to change your smoothness

Could be done with opengl, but getting pretty fades can be a little more difficult because of how the framebuffers work

#196029
Jan 16, 2011 at 10:12pm

thanks!
a lot of food for thoughts!

#196030
Jan 17, 2011 at 12:03am

hi,
maybe it won’t fit at all, but you might consider trying MorphX (if you are on a mac)

http://www.norrkross.com/software/morphx/

#196031
Jan 17, 2011 at 11:45am

Thanks Vichug,
I’v tried the MorphX app and is indeed very powerful.
It’s offline nature doesn’t fit the bill though..

Thanks again

#196032
Jan 18, 2011 at 10:11pm

The root of a “morph” effect is a basic xfade combined with a distortion of the 2 images. At the beginning of the morph, the 1st image is undistorted while the 2nd image is distorted so that defined points are positioned to match the corresponding points on the first image. As the morph progresses, the first image distorts to match the 2nd image points, and the 2nd image becomes less distorted. One way to fake a morph-like look might be to have some OpenGL shapes mapped with the images that get distorted in some way while crossfading the images.

#196033

You must be logged in to reply to this topic.