Page 1 of 1

about 2xSaI

Posted: Tue Mar 05, 2002 8:29 am
by artaxerxes
Extract from the 2xSaI web site:


>>
Now another thing. About Exult. I've been trying out some new stuff, but it seems the guys @ Exult either don't like my filter (proposed name 'Bilinear Plus'), or they compeletely forgot to add it (it's been over a month or two now since I proposed it). So here are the modifications needed to see it. In scale.cc under the function

void Scale_2xBilinear { } find the line which is

// upper left pixel in quad: just copy it in
//*to++ = manip.rgb(*ar, *ag, *ab);

and replace with

*to++ = manip.rgb(
(((*ar)> 3,
(((*ag)> 3,
(((*ab)> 3);

or alternatively with

*to++ = manip.rgb(
(((*ar)> 4,
(((*ag)> 4,
(((*ab)> 4);

This effectively demonstrates the new filter without too much work. It's like a TV effect, if I do say so myself :-). Unfortunately I don't have time etc, to create seperate functions and gumps are whatever they call it (so it shows up properly in the Exult GUI). So if you like it, see if you can add it yourself, or pester the main programmers :-).

<<

End of extract.

Is the Exult dev team going to put those bits of code into the main tree?

Artaxerxes

Re: about 2xSaI

Posted: Tue Mar 05, 2002 8:47 am
by nadir
Lack of time ?

Re: about 2xSaI

Posted: Tue Mar 05, 2002 11:26 am
by Karlos
He didn't ask why it hadn't been added; he just asked if it was going to be. :-)


-Karl

Re: about 2xSaI

Posted: Tue Mar 05, 2002 1:19 pm
by drcode
If you've noticed, our 'product planning' is a bit weak:-) My personal thought is that we have more than enough scalar choices, but perhaps one of the other developers will have more interest.

Re: about 2xSaI

Posted: Wed Mar 06, 2002 2:01 am
by Dominus
I took a look at it once and it does indeed look a bit better as the 2xbilinear. But keep in mind Nadir's response. Eventually it will be added I guess...

Re: about 2xSaI

Posted: Wed Mar 06, 2002 5:24 am
by Colourless
Ok, i'm adding it... finally. :-)

-Colourless Dragon

Re: about 2xSaI

Posted: Wed Mar 06, 2002 5:58 am
by artaxerxes
I think the author of the 2xSaI scaling prog would be happy if you tell him you included his patch.

After all, he even put on his site his disappointement at not being contacted back about the patch.


Artaxerxes-trying-to-be-a-good-samaritain

Re: about 2xSaI

Posted: Wed Mar 06, 2002 8:10 am
by Dominus
I think he will know it soon enough as he occasionally hangs out in #exult (as _Kreed_ or something like that). His remark on his homepage was meant in a funny way :-)

Re: about 2xSaI

Posted: Wed Mar 06, 2002 11:20 am
by Colourless
It was meant to get me off my ass, and actually put it in Exult.

-Colourless Dragon