I`ve been working on a script to produce a 3D effect that works with 3D glasses. It takes three copies of a film and overlays one coloured red, one coloured green and one normal.
It works nicely, needs some tweaking, but the green is overpowering and results in a very notable green hue. Is there a way to reduce the green colour just a little?
The script is between the asterisks:
****
source=avisource("C:\AVI\video_data\video.avi")
source=ConvertToRGB(source)
left=source
right=source
left=RGBAdjust(left, 2, 1, 1, 1)
right=RGBAdjust(right, 0, 1.4, 0, 0)
right=ConvertToYUY2(right)
right=tweak(right, bright=45)
film=Overlay(left, right, mask = left.ShowAlpha("yuy2"), x=4, y=1, opacity=0.5)
film2=Overlay(film, source, mask = source.ShowAlpha("yuy2"), opacity=0.3)
film2=ConvertToYUY2(film2)
film2=tweak(film2, bright=33)
return(film2)
****
Thanks