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 Professional Discussion / is there a way to turn off the auto blur on DB screens ?

Author
Message
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 22nd Sep 2002 22:25
I think the title resume all I need.
haggisman
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 22nd Sep 2002 23:15
Use fullscreen exclusive mode

Specs:- 1GHZ athlon, Radeon8500, 192mb ram
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2002 00:10
that do not work on my computer and when I use exclusive mode , some 2D drawings don't work correctly.
Richard Davey
Retired Moderator
21
Years of Service
User Offline
Joined: 30th Apr 2002
Location: On the Jupiter Probe
Posted: 23rd Sep 2002 02:20
The blur most likely comes from the anti-aliasing performed by your video card in DirectX mode. The drivers I have installed for my GeForce256 allow me to toggle this on and off from the desktop video settings and consequently I get smooth sprites. If DBPro has to "stretch" your display, then DX will anti-alias the sprites by default, for example if you're running in a desktop res of 1024x768 but your program is designed for 640x480 then it will resize to match your desktop res depending on the mode you run in (as configured by the settings panel in the IDE).

It's not DBPro itself that is smoothing out those graphics, it's a combination of DBPro using DX8 and video card settings unfortunately.

Cheers,

Rich

"Gentlemen, we are about to short-circuit the Universe!"
DB Team / Atari ST / DarkForge / Retro Gaming
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2002 16:20
Yes I also have disabled the anti-aliasing on my drivers (GeForce2TI64).
My desktop is actually in 1024x768x16
Then I have another ask for you Rich.
If your theory about blur is right , why commercial games that use 2D graphics does not have that problem with blur ?
I think it is a functionality that can be disabled in DX !

my desktop is 1024x768x16 and when I use 640x480x16 mode for a commercial game , there are no scretch !

I don't understand your means because in the DBPro project , is set display mode to 640x480x16 ( exclusive or windowed , on my computer it's the same , the only change is that exclusive mode fix to the screen refresh rate ) then DBPro does not have to perform scretch !
I think you use a double buffered mode where the hidden buffer does not have the same size than the displayed one ! I'm sure the problem came from here .

But I've seen something amazing .
In the source code of my scroll demo , if I don't add that line on beginning : set display mode 640,480,16
the screen is blurred. If I add it the screen look different nbot blured but strange.( like scretched but there are no reason for scretching 640x480x16 to 640x480x16 )
Freddix
AGK Developer
21
Years of Service
User Offline
Joined: 19th Sep 2002
Location: France
Posted: 23rd Sep 2002 16:57
in fact , i analized a bit my graphics sets for my demo and there is one that is auto blured .
The others are no more blured but 1 in particular that is 1 colored ( white , it's background is black ) . In fact there is only text on it. ( .bmp format )
When I load it in DBPro it is blured ( theres is a grey color that blured the white color )

Login to post a reply

Server time is: 2024-04-27 03:07:09
Your offset time is: 2024-04-27 03:07:09