Log in

View Full Version : Peep Plugin


vcmohan
11th December 2008, 11:07
Peep inserts an image into an elliptic window an image from a corresponding position from a different clip. Blending and tapering off the blend , location width, height of window can be linearly varied over the clip length.

tin3tin
11th December 2008, 13:13
Hi vcmohan

I've just tested your new plugin. I found a few things mentioned in the uncommented lines. It would be nice if it would be possible to let the window enter from outside the screen and also cover the entire screen(that would be useful for transitions). Anyway good work. :cool:
loadPlugin ("peep.dll")
blankclip(100,1000,1000)
sp=colorbars(1000,1000).Trim(0,99).killaudio()

#Uncomment the following lines for checking potential bugs:
#Peep(last,sp,500,500,200,200,eh=400,ew=600)#circle enters screen on right side from frame #77
#Peep(last,sp,500,500,200,200,eh=600,ew=400)# CaviStreamSynth: System exception - Access Violation from frame #75
#Peep(last,sp,500,500,200,200,taper = 100, etaper = 0)#Frame 0 is not affected by taper
#Peep(last,sp,500,500,200,200,taper = 0, etaper = 0)#This gives the same results as...
#Peep(last,sp,500,500,200,200,taper = 100, etaper = 100)#...this?

vcmohan
12th December 2008, 13:17
@tin3tin :
Many thanks for testing thoroughly. I have (hopefully) corrected bugs and also enabled translation of window from outside to outside of frame. Please have a look.

tin3tin
12th December 2008, 13:51
Looks like you have solved those things. :) It works very well.

Would it be possibe to add window positions out side the screen? Like negative x,y or higher than the screen size. So the window can move in and out of the screen?

Nice plugin for making a magnifying glass, touch light, search lights and peep holes...

Maybe for use as a black-bar(covering ex. eyes...) function an optional rectangular shape would be nice? (And face tracking :p - just joking)

vcmohan
13th December 2008, 09:31
Would it be possibe to add window positions out side the screen? Like negative x,y or higher than the screen size. So the window can move in and out of the screen?



Yes. Negative x or y or values larger than frame size can be specified. Only limit is x + w should not be less than 0, or x - w greater than frame width - 1. Similarly for y and h. For eg: following script works on your input.
Peep(last,sp,x= -190, ex = 1590,y = 1390,ey = -300,h = 400, w = 200,eh=400,ew=600)
Peep(last,sp,x= -190, ex = 1590,y = 1390,ey = -300,h = 600, w = 700,eh=900,ew=1000)

tin3tin
13th December 2008, 10:41
Very nice. Works well.:)

vcmohan
14th December 2008, 07:34
Maybe for use as a black-bar(covering ex. eyes...) function an optional rectangular shape would be nice? (And face tracking :p - just joking)

Now rectangular window is an option. Tapering of blending is however, not possible in rectangular window.

Face tracking technique I am not familiar. I tried once to read it but gave up at the look of maths involved. May be there is a simpler way.

vcmohan
18th December 2008, 12:17
Now with the rectangular window option also taper can be specified, as with elliptical window.