I use this Key Command Key : Gradient Invert.
Is it somehow possible to do this with George?
-Mads
Invert Gradient with George
Invert Gradient with George
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Re: Invert Gradient with George
if your current gradient is only between 2 colors (from A to B),
you can invert it with this little script :
you can invert it with this little script :
Code: Select all
param none
tv_RangeGrab 0
parse result Ra Ba Ga Aa
tv_RangeGrab 255
parse result Rz Bz Gz Az
tv_RangeSet 0 Rz Bz Gz Az
tv_RangeSet 15 Ra Ba Ga Aa
Re: Invert Gradient with George
it could work but it seems to my to be buggy
this code
warn "0 0 0 0"
where it should warn "0 0 0 255"
This must be a bug or am I missing something?
-Mads
this code
Code: Select all
tv_RangeSet 255 0 0 0 255
tv_RangeGrab 255
tv_warn result
where it should warn "0 0 0 255"
This must be a bug or am I missing something?
-Mads
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Re: Invert Gradient with George
try with :madsjuul wrote:it could work but it seems to my to be buggy
this codewarn "0 0 0 0"Code: Select all
tv_RangeSet 255 0 0 0 255 tv_RangeGrab 255 tv_warn result
where it should warn "0 0 0 255"
This must be a bug or am I missing something?
-Mads
tv_RangeSet 15 0 0 0 255
it looks like for tv_RangeGrab, the position is from 0 to 255,
but for tv_RangeSet the position is from 0 to 15
( ... old code, only 16 positions, because 16 colors max can be set to define the gradient)
Re: Invert Gradient with George
Thank you Zigotto. It works!
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2