movie window warping


    Apr 12 2007 | 12:02 pm
    hi,
    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 | 2:01 pm
      Have you tried jit.repos? It seems pretty well-suited for that.
    • Apr 12 2007 | 3:08 pm
      i did just find some info on that. im not sure that it will give me the control i need, but i am hopeful.
      thanks.
      ps, have just downloaded a bunch of freeframe plugz too which i think will help.
    • Apr 12 2007 | 10:03 pm
      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.
    • Apr 14 2007 | 4:51 pm
      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 | 5:02 pm
      If you're on Mac OS 10.4, there are several distortion Image Units you can use to get a funhouse mirror efect. Check out the help patch for jit.gl.imageunit. :)
      best, dan
    • Apr 15 2007 | 11:23 am
      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,
      steve
    • Apr 17 2007 | 8:20 pm
      Hi again,
      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 | 8:34 pm
      did you also look at texture mapping to jit.gl.nurbs? this is a great way to get plane warping
      -deK
      > Hi again, > > 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 | 8:39 pm
      jit.repos @mode 1 (relative) and create a distortion map ?
      On Apr 17, 2007, at 4:20 PM, steve kittner wrote:
      > > Hi again, > > 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.
      v a d e //
      www.vade.info abstrakt.vade.info
    • Apr 22 2007 | 5:28 pm
      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.
      cheers all
      especially Vade !!!!!