Advertisement
tophf

fadetoTV

Jun 30th, 2011
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. fadetoTV( 450,470, 24,235 )
  2.  
  3.  
  4. ######################
  5. function fadetoTV(clip c, int frame1, int frame2, int black, int white){c.ReplaceFramesSimple(c.animate(frame1,frame2,"lumayv12",int(16.0*float(white-black)/219.0-black), 219.0/(white-black), int(16.0*float(236-16)/219-16),219.0/(236-16)), mappings="["+string(frame1)+" "+string(frame2)+"]")}
  6. ######################
  7. function fadefromTV(clip c, int frame1, int frame2, int black, int white){c.ReplaceFramesSimple(c.animate(frame1,frame2,"lumayv12",int(16.0*float(236-16)/219-16),219.0/(236-16)),int(16.0*float(white-black)/219.0-black), 219.0/(white-black), mappings="["+string(frame1)+" "+string(frame2)+"]")}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement