I use this Key Command Key : Gradient Invert.
Is it somehow possible to do this with George?
-Mads
Invert Gradient with George
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
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!