Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-03-2009, 04:39 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Auto Anti-alias

findimg(200).autoaa = true;

Will automatically anti-alias an image... This is mainly for images that are resized/rotated and such, as images at such low resolutions tend to look HORRIBLE without AA. Could also add a setting in options as to whether players WANT any AAing at all, like most games have for video settings.
Reply With Quote
  #2  
Old 08-03-2009, 05:17 AM
Soala Soala is offline
Ideas on Fire
Soala's Avatar
Join Date: Jun 2007
Location: In my head
Posts: 3,208
Soala is a jewel in the roughSoala is a jewel in the rough
Yeah that would be totally nice, mostly 3D Games have that.
Reply With Quote
  #3  
Old 08-03-2009, 05:29 AM
Tigairius Tigairius is offline
The Cat
Tigairius's Avatar
Join Date: Jan 2007
Location: Missouri, USA
Posts: 4,240
Tigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant futureTigairius has a brilliant future
Yeah, this is a good suggestion.
__________________


“Shoot for the moon. Even if you miss, you'll land among the stars.”
Reply With Quote
  #4  
Old 08-03-2009, 04:57 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
You mean image interpolation. That's what helps smooth out rotated images & resized images

Anti aliasing is a different story. More of a text/lines/polygons sort of deal. In a stupidly general sense

Both would be very nice, though! Anti aliased polygons would be cool.

Last edited by _Zelph; 08-03-2009 at 05:13 PM..
Reply With Quote
  #5  
Old 08-03-2009, 05:33 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by _Zelph View Post
You mean image interpolation.
No. He says anti-alias, and means it.
Reply With Quote
  #6  
Old 08-03-2009, 06:02 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
Is this not what we're talking about?

Reply With Quote
  #7  
Old 08-03-2009, 06:05 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I originally was just thinking of edges, but that's cool too if it's not too graphically intensive
Reply With Quote
  #8  
Old 08-03-2009, 06:14 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by DustyPorViva View Post
I originally was just thinking of edges
So I was right in my assumption!
Reply With Quote
  #9  
Old 08-03-2009, 06:44 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
I still think he's talking about interpolation. Here, I made a demo for you guys:

Reply With Quote
  #10  
Old 08-03-2009, 06:50 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I know what interpolation is... but when I originally thought about this all I was interested in were edges, mainly because that's all I thought about when I was thinking of 3D games(as they only AA edges of polygons to make them look smoother).

Thing is, interpolation actually blurs the image quite horribly. AA does not do that. AA blends the edges, not blurs them, which is a bit different and looks somewhat different as well. However, I'm not sure, from a programming standpoint, how the two would be implemented in a game and such. I don't think bilinear is much of a step up from nearest neighbor...
Reply With Quote
  #11  
Old 08-03-2009, 07:15 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
Here's a second demo for the hell of it



Images are just grids of pixels. When you resize or rotate them, you basically have to insert new pixels/data (i.e. interpolate) based on what sort of end result you want. Nearest neighbor is the fastest because all it does is make the new pixel the same color as the closest original.

In broader terms, though, I guess you could say this is the same as anti aliasing (Not that I'm directing this at anyone)

Long story short, most people have better computers now than they did 10 years ago and it'd be nice to see some of this
Reply With Quote
  #12  
Old 08-03-2009, 08:15 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
It really depends on the situation. Interpolation can come in pretty handy, but I wouldn't mind AA'ed edges of something resized/rotated either.
Reply With Quote
  #13  
Old 08-03-2009, 08:57 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
Quote:
Originally Posted by Crow View Post
It really depends on the situation. Interpolation can come in pretty handy, but I wouldn't mind AA'ed edges of something resized/rotated either.
But interpolation is how they're anti aliased

Edit: It should be a client option, similar to how light effects has an option
Reply With Quote
  #14  
Old 08-03-2009, 09:02 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by _Zelph View Post
But interpolation is how they're anti aliased

Edit: It should be a client option, similar to how light effects has an option
No no, I mean, let's say we have an image of a one-colored rectangle, and I rotate that by, say, 72 degrees. Then the edges of the image are jaggy! And I only want the edges anti-aliased, I don't care if things that I might draw onto the rectangle later are jaggy or not.
Reply With Quote
  #15  
Old 08-03-2009, 09:08 PM
_Zelph _Zelph is offline
Registered User
Join Date: Mar 2003
Posts: 78
_Zelph is on a distinguished road
Quote:
Originally Posted by Crow View Post
No no, I mean, let's say we have an image of a one-colored rectangle, and I rotate that by, say, 72 degrees. Then the edges of the image are jaggy! And I only want the edges anti-aliased, I don't care if things that I might draw onto the rectangle later are jaggy or not.
But that can't be done with bitmap images (png, gif, bmp, etc). At least not with any method that I've heard of. If there WAS one, it'd be a total crapshoot no doubt

With vector graphics, though, yeah. In that case you'd be using a polygon =p
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.