Le 18-01-31 à 14:38, Roland Melkert a écrit :
> "Roland Melkert" <nomail@nomail> wrote:
>> I'm now using this, which seems to work fine.
>
> Edit: some corrections fyi
> ---------
> #macro getPngWarp(idx)
> #local doU=getPngNeedsURepeat(idx);
> #local doV=getPngNeedsVRepeat(idx);
>
> #if ((doU | doV) & !(doU & doV)) //xor
> #if (doU)
> warp { repeat x }
> #else
> warp { repeat y }
> #end
> #end
> #end
>
>
>
>
Now, you can add some changes:
warp { repeat x flip x}
Alternate the image with it's mirrored version.
or
warp { repeat x flip y}
Alternating normal and upside down.
Post a reply to this message
|