Pixelation

General => General Discussion => Topic started by: difrnt on September 20, 2006, 02:36:45 pm

Title: Anti-Aliasing Calculator [GIFT]
Post by: difrnt on September 20, 2006, 02:36:45 pm
Here is a Anti-Aliasing Calculator that I made.
I originally did it in C++ but just re-coded it in PHP.
It's your guy's to use freely, tell me what you think.
Tell me any errors you find so I may fix them.

http://www.portmonkey.com/aacalc

Thanks!
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: ptoing on September 20, 2006, 02:55:52 pm
i guess sliders and realtime update would be nice, then again i don't need this, promotion has ramping :B
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: difrnt on September 20, 2006, 04:44:30 pm
Great idea ptoing!
I shall start working on this!
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Larwick on September 20, 2006, 06:40:21 pm
Also howabout being able to put two hex codes in as another option other than the RGB values? Seems really neat btw. :0'
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Ai on September 21, 2006, 02:17:04 pm
I noticed, the output is incorrectly formatted when any of the input values are < 16

for example:
# F F1E
is the AA color chosen for A=(10 10 10)  B=(20 20 50)
I expected #0F0F1E

Yeah, realtime update is pretty important.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: AdamAtomic on September 21, 2006, 05:40:19 pm
Yeah a slider so you could bias the values would be very nice, e.g. I usually blend at 35% or 65% rather than 50%.  Maybe have a slider for the # of values to return also?
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Helm on September 21, 2006, 06:04:21 pm
If the only thing in mind when you create a new buffer-shade is the two colors it's going to be buffering between, then you're not using that shade optimally. No automated tools are needed for this extremely human-intuition based choice, I think. But to each their own.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: AdamAtomic on September 21, 2006, 06:28:39 pm
I think this is more for calculating just the anti-aliasing shade for people using apps that don't have brush transparency.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Feron on September 21, 2006, 06:33:28 pm
I just use photoshop pencil - if i want an AA shade is just press '5' (sets to 50% opacity) pencil over the color i want to make an aa shade with, 'i' - click the color, ctrl Z, and then set pencil back to 100% opacity.  however, more often than not, i just chose my own AA color by eye, and i have found using desaturated tones for AA can work better.  This wold be harder to implement into your calculator.

A sliding version would make more sense and would be more efficient.  Props to your effort though - not many people would go to the effort to make tools like these.

Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: robotriot on September 21, 2006, 07:38:02 pm
I just use photoshop pencil - if i want an AA shade is just press '5' (sets to 50% opacity) pencil over the color i want to make an aa shade with, 'i' - click the color, ctrl Z, and then set pencil back to 100% opacity.

Heh, you do know that you can just press ALT for the colour picker, and that doing undo is unnecessary in that case, except when you set the pixel on a different layer? It won't have any transparency to it :)

I guess this is more fancy than my old AA-colourfinder :D http://omr.planet-d.net/trash/aac.zip
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: difrnt on September 21, 2006, 07:54:39 pm

Heh, you do know that you can just press ALT for the colour picker, and that doing undo is unnecessary in that case, except when you set the pixel on a different layer? It won't have any transparency to it :)

I guess this is more fancy than my old AA-colourfinder :D http://omr.planet-d.net/trash/aac.zip
Nope, it's not. That is actually where I got the idea for mine at.
Mine was so it didn't exit everytime.
It also was set so the output was in the color outputed color for AA.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Feron on September 21, 2006, 09:45:38 pm
Heh, you do know that you can just press ALT for the colour picker, and that doing undo is unnecessary in that case, except when you set the pixel on a different layer? It won't have any transparency to it :)

I guess this is more fancy than my old AA-colourfinder :D http://omr.planet-d.net/trash/aac.zip

Ummm, I use Mac OS X so color picker is I.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: AdamAtomic on September 21, 2006, 10:14:30 pm
he means that you can be using the pencil tool, and hold down the alt key while still on pencil to temporarily switch to the eye dropper.  this is a big helper for speed!
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Werewolf on September 24, 2006, 07:09:43 pm
add a div where the background-color equals the result, it would be good for copy and paste preview
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Elk on September 24, 2006, 07:36:33 pm
good work goboom
i just dont get how it works! ;D
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Feron on September 24, 2006, 07:39:35 pm
he means that you can be using the pencil tool, and hold down the alt key while still on pencil to temporarily switch to the eye dropper.  this is a big helper for speed!

:o... I've been using photoshop for years... I wonder how many other sneaky shortcuts there are!
thanks!
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: difrnt on September 28, 2006, 01:32:11 am
good work goboom
i just dont get how it works! ;D
You simply take your 2 RGB values and enter them in, and blamo! out comes your perfect 50% AA color.
Title: Re: Anti-Aliasing Calculator [GIFT]
Post by: Ai on September 28, 2006, 02:06:58 am
You simply take your 2 RGB values and enter them in, and blamo! out comes your perfect 50% AA color.
I think he was looking for something more like this:

aa_r = (c1_r + c2_r) / 2
aa_g = (c1_g + c2_g) / 2
aa_b = (c1_b + c2_b) / 2