Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Antialiasing

Author
Message
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 9th Apr 2006 14:44
Does DarkBASIC enables me to use antialiasing so I'll get rid of all this pixelness in my games?

www.godhatessweden.com

Good laughter!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 9th Apr 2006 16:41
There is a filter flag which uses AA, but it is already on by default. The only way to fix the edges of objects is to use a higher res, or put a larger transparent object over the main object.

Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 9th Apr 2006 23:00
How do you mean? Something like "Scale object 2,101,101,101:Ghost object on 2"?

www.godhatessweden.com

Good laughter!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 9th Apr 2006 23:33
Yeah, using some greyscale texture probably. Seems a lot of effort to fix the jaggies though.

Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 10th Apr 2006 00:03
Ok, I think I get the picture. But I guess that it's kinda obvious that it's another larger object that's smoothing out the edges, then?

www.godhatessweden.com

Good laughter!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 10th Apr 2006 02:20
Not sure how obvious it will be. You could put a reflection on the transparent object as well. Then you get realistic metal effects to go with your AA. I've seen the reflections done before, but nobody has been too bothered by the jagged edges. Probably, if they bother you too much, it is better to get DB Pro.

X Trade
21
Years of Service
User Offline
Joined: 19th Feb 2004
Location: near bristol, UK
Posted: 10th Apr 2006 03:54
the general way to do it is to increase the resolution.. as this makes the game run much 'prettier' and allows more detail. the only way to make your models less 'jagged' is to redesign your models so they have more polys but more smoothing areas/beveled edges.
in DBP there is a way to enable antialising, but unfortunately not in DB..

www.AoFP.co.uk
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 10th Apr 2006 13:12
By increasing the resoultion I guess that the framrate will decrease. Correct?

@Pincho
Ok, now I don't understand. How do you mean by putting a reflection on the transparent object?

www.godhatessweden.com

Good laughter!
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 10th Apr 2006 15:46 Edited at: 10th Apr 2006 15:47
Some old demos by Crossleo....
Reflection, and Cell shading.

They are just scaled up models repeated. The cell shading seems to get rid of the jaggies quite well.

Attachments

Login to view attachments
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 10th Apr 2006 17:55
Cool looking demos there.
I get what you meant by using larger transparent objects, now. Thanks.
However, it wasn't quite what I had i mind, but I guess DarkBasic doesn't have this function... Which is a little sad.
(Even though cell shading, as you said, are reducing the pixel look.)

www.godhatessweden.com

Good laughter!

Login to post a reply

Server time is: 2025-05-23 19:46:27
Your offset time is: 2025-05-23 19:46:27