Allegro.cc - Online Community

Allegro.cc Forums » Programming Questions » anti-aliased stretch blit in allegro 4.2.2

This thread is locked; no one can reply to it. rss feed Print
anti-aliased stretch blit in allegro 4.2.2
Victor Williams Stafusa da Silva
Member #4,212
January 2004
avatar

Guys.

There is somebody here that has a quick and simple function to do a non-masked stretch_blit with antialiasing using allegro 4.2.2 or compatible? Don't need to be a ultra-fast implementation. A direct and simple implementation is enough.

I tried google but did not found one.
I tried to implement that myself, but the result was just a headache caused by the calculations programming.

(Note: This is for speedhack "Zoom! Zoom!" rule).

[The attack of the space bugs - Speedhack 2005] [Rambananas - Speedhack 2006] [Make clean - Speedhack 2009] [The source god - TINS 2010]

Arthur Kalliokoski
Second in Command
February 2005
avatar

I'd recommend putting this anti-aliasing off for the last, in case you run out of time, the game is still "done", otherwise it's a nice touch.

If you are already done with the rest, go for it (not that this helps).

They all watch too much MSNBC... they get ideas.

Thomas Fjellstrom
Member #476
June 2000
avatar

ooh, look up some 2xSAI type effects. I'm sure theres plenty implemented in Allegro 4. Also try SuperEagle and such.

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Go to: