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.

Dark GDK / Anti-Aliasing

Author
Message
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 15th Mar 2009 04:55
Ive seen a few threads about this but i see no one has had success, however Ive come up with an idea...

What if within the winmain function (Before DarkGDK takes over) you talk to the system drivers and change its mode to force AA, and when the game closes, turn if off?

Would that be possable?... And dose anyone know how do it..
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 15th Mar 2009 09:17
It is not a case of turning on AA. Even the game library can do that.
It is a case of keeping AA enabled under various conditions when the library is actually running.
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 15th Mar 2009 12:42
forcing AA on would overcome that issue as proven by using the nvidia or ati control panels, thats what im talking about...

The library can turn AA on? wheres this function...
dark coder
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 15th Mar 2009 13:04
It's a very bad idea to change the driver settings just so a single application can have anti-aliasing. After all, to enable it you only need to change a single parameter on the call to create or reset the D3D device, why this wasn't implemented from day 1 I don't know.

zapakitul
17
Years of Service
User Offline
Joined: 1st Mar 2007
Location: In my world
Posted: 15th Mar 2009 17:33
Dark coder, can you tell us a way of turning on AA?
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 15th Mar 2009 17:43
There is no way at current zap, The only way to properly turn AA on is when the Direct3D Device gets created/reset as Dark Coder has said, And we have no control over the creation or reset of the device as its handled inside the engine

Sigh, i know exactly how simple it is... Witch is whats annoys me the most, there is no function to do it
Diggsey
18
Years of Service
User Offline
Joined: 24th Apr 2006
Location: On this web page.
Posted: 15th Mar 2009 21:33
Yes it is possible to turn AA on, it's just an extra parameter to set display mode...

[b]Yuor signutare was aresed by a deslyxic mud...
BOX2D V2 HAS HELP FILES! AND A WIKI!
prasoc
16
Years of Service
User Offline
Joined: 8th Oct 2008
Location:
Posted: 15th Mar 2009 23:48
That is not turning it on properly though. If you draw a sprite to the screen, it turns off.
sydbod
16
Years of Service
User Offline
Joined: 14th Jun 2008
Location: Just look at the picture
Posted: 16th Mar 2009 11:53
You want to look at "dbSetDisplayModeAntialias ()" function call.

it is within the current latest Dark GDK.

As I mentioned before, it has problem with things like sprites and images displayed to the foreground. These tend to turn the AA off again.
Ice125
15
Years of Service
User Offline
Joined: 4th Mar 2009
Location:
Posted: 16th Mar 2009 13:37
That function dosent exist... Unless its in the Nov08 update in witch case i'v been warned not to use it, To buggy and it will interfere with one of my librarys

Login to post a reply

Server time is: 2024-11-25 18:05:14
Your offset time is: 2024-11-25 18:05:14