about 2xSaI
Posted: Tue Mar 05, 2002 8:29 am
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
>>
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