Archive: Alternative channel shift interface


14th February 2004 07:24 UTC

Alternative channel shift interface
Can you help a poor avser? ;)
I'm making a custom (dynamic) channelshift and need an interface for it. Here's a preset, the original order (3 top dots) is on top and arrows connect it to the output (3 bottom dots).
When a color on top is clicked, the arrow end will start following mouse and when I click on bottom dot, it changes the colors.
example:

before:

Red Green Blue
| | |
| | |
Red Green Blue

after:

Red Green Blue
\_/ |
/ \ |
Green Red Blue

So here's a preset that was intended to be like that (^) but is screwed up :)
gmegabuf(0) = output red (123 for RGB)
gmegabuf(1) = output green (-"-)
gmegabuf(2) = output blue (-"-)

So - help me please! I'll pay you 10$ via PayPal if you fix this mess :D

14th February 2004 15:36 UTC

I don't think I can help you here. But are you sure you need that interface? If you used white dots and a colour modifier like this:
red=red*equal(q,1);
green=green*equal(q,2);
blue=blue*equal(q,3);

You could make them appear to change colour. But otherwise, I can't help.


15th February 2004 04:37 UTC

I know, I have a colormod ready, I just want a fancy graphical interface for it :)


15th February 2004 04:50 UTC

Nevermidn, it works now :) Took me a while to figure out, it's all those "&" and "|" logical stuff :P


15th February 2004 20:41 UTC

I still don't get it, too much thinking:) I just like making pretty colours.