movie window warping
Apr 12, 2007 at 12:02pm
movie window warping
im trying to create a digital mirror for a university project using jitter.
i would like to recreate the fun mirrors that we have all seen at funfairs, by that i mean that i want to be able to bend the input, from camera using jit.dx.grab, at different rates to create a warping image.
i have looked at a few possiblities but have not yet found the correct solution.
i have been looking at various freeframe plugz but agin nothing suitable found.
does anyone have any suggestions on this?
do you know of any good freeframe or the like plugz that may do the trick?
has anyone else done anything like this?
thanks in advance
Apr 12, 2007 at 2:01pm
Have you tried jit.repos? It seems pretty well-suited for that.
Apr 12, 2007 at 3:08pm
i did just find some info on that. im not sure that it will give me the control i need, but i am hopeful.
ps, have just downloaded a bunch of freeframe plugz too which i think will help.
Apr 12, 2007 at 10:03pm
I put together this little patch to show how jit.repos can make a “wobble map” with a sine wave to do a simple funhouse mirror effect.
#P window setfont “Sans Serif” 9.;
Apr 14, 2007 at 4:51pm
Nevermind that patcher I put together, the examples that come with Jitter have a much more elegant version of what I did, along with a lot of other ways of warping an image/video with jit.repos (just look in the Jitter examples folder instead of the tutorials). I’d be surprised if they don’t have almost exactly what you’re trying to do.
Apr 14, 2007 at 5:02pm
If you’re on Mac OS 10.4, there are several distortion Image Units you
Apr 15, 2007 at 11:23am
thanks for that.
i knew i saw a similar project somewhere – i have only been looking at the help files and tutorials – doh!
i spent the whole of yesterday sorting out some patches to allow me to change all the parameters on the freeframe plugz that i downloaded – i now have some really cool effects.
i just need to get my wobbly mirror working.
i looked at repos and resamp but didnt think that i could get the type of effects that i needed, ie, i could only get them to wobble a little where im after some relly extreme fxs.
i will give your patch a go and look at the exmples, and will let you know ho i got on tomorrow,
many thanks to you all,
Apr 17, 2007 at 8:20pm
the autorota 3rd party patch does offer some good results but it is still not quite what im looking for.
I want the image size to remain constant always with different amounts of compression/stretching at various points across the image.
eg, if i want to stretch the middle, pull it back, there would be different amounts of compression from the edge of the stretch region to the middle, with the middle being the most compressed and the outter the least.
The project has been hit really hard over the weekend and i now have nearly everything i want except the warping effect im after.
If anyone can help i would be very appreciative.
Apr 17, 2007 at 8:34pm
did you also look at texture mapping to jit.gl.nurbs?
> Hi again,
Apr 17, 2007 at 8:39pm
jit.repos @mode 1 (relative) and create a distortion map ?
On Apr 17, 2007, at 4:20 PM, steve kittner wrote:
v a d e //
Apr 22, 2007 at 5:28pm
cheers vade, it worked a treat.
i used the jit.expr to set a distortion map and then used the jit.rota object to move the warp around the screen.
Both of these objects were sent into the jit.repos object with the setting on 1,
and hey presto!
i have my warping mirror.
especially Vade !!!!!
You must be logged in to reply to this topic.