SRL Archive - SRL Bugs

GetBestColor


weequ

2011-10-27 19:06:22

GetBestColor:
GetBestColor function in color.scar returns different values than ACA v2 by Nielse95 and Sumilion does. This might be a bug in ACA as well. Or could those values end up with same results?

Here is what I got with ACA (CTS2):
Best Color: 2845828
Tolerance: 2
Hue mod: 0.48
Sat mod: 1.28

Here is what I got with GetBestColor (CTS2)
Best Center Color: 2780292
Tolerance: 3
Hue: 41.5679012345679
Sat: 22.3112338858195


Used same values in both. Made me confused.

Coh3n

2011-10-28 01:57:22

I'm not sure what's up with that, but I suggest using the ones from ACA. I've always done it that way and it hasn't failed me yet.