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 / Hmm... why games made in DBpro look blur.

Author
Message
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 3rd Jul 2003 05:25
I am just wondering, how come the games that made in DBpro looks blur, compare to other comercial games like Warcraft, which their models look crisp and sharp. Is it because of my texture size is not high-res enough? Or is there some other settings need to be done, like filtering, mipmapping, etc.

Any ideas?
Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 3rd Jul 2003 07:07
you tried running in fullscreen-exclusive or standard window mode
although being able to change which filtering might be a nice option, i'll put that on my todo list for my Dx9 DLL

Algae Man
23
Years of Service
User Offline
Joined: 11th Nov 2002
Location: Canada
Posted: 4th Jul 2003 00:23
Yeah, it's because it uses antialiasing I think. So it draws the 3d in 640x480, but then antialiases it, so it really runs in 1280x1024, or whatever your desktop resolution is. If you run in fullscreen-exclusive mode, like Raven said, it won't use filtering.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Jul 2003 01:59 Edited at: 4th Jul 2003 02:00
The DBP default setting is 640x480, and when you stretch this to fill say, a 1024x768 desktop, everything is blurred.

Set the screen to the desktop resolution or windowed mode with the window the same size as the DX surface and it will look fine.

Personally I think it was a big mistake of DBS, they should have made the default setting Windowed 640x480.

Download my plugin from the RGT website and do this

SET DISPLAY MODE GET DESKTOP WIDTH(),GET DESKTOP HEIGHT(),32

at the start of your program.

In addition, all images should be loaded with the ,1 flag to prevent blurring. There is a dithering issue which is fixed in P5 as well.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Wayne
23
Years of Service
User Offline
Joined: 3rd Jan 2003
Location:
Posted: 4th Jul 2003 04:30
yeah i learned that when i made snap shots and loaded em into ps. "Hey, that's not the res im using!" LOL

AIPX Rocks
Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 4th Jul 2003 05:26
Well... thanks for the info.

I think DB Team set Windowed mode as the default mode for a reason. Mainly, I personally think that Windowed mode is easier to debug, when comes to switching window between the debugger and your game. Exclusive mode is good for your final release.

Any comments?

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Jul 2003 06:06
i give the user an option between fullscreen & windowed mode as some system perform better windowed - but exclusive is the standard i use.

i've even edited the .cfg for the editor's standard dbpro so that it sets 640x480 windowed as the standard mode (as i prefer to use it for debug purposes)

i also only use 32bit mode (unless the desktop is different) because graphics card will handle 32bit operations quicker than 16bit operations as the colour is always converted to 24bit/32bit anyways. 16bit just seems a little redundant nowadays to be honest.

Rob K
Retired Moderator
23
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 4th Jul 2003 12:51
What I meant was, I think the team should set it like Blitz3D, where the window is the same size (in pixels) as the DX surface.

Do you want Windows menus in your DBP apps? - Get my plugin: http://snow.prohosting.com/~clone99/downloads/tpc_menus_103.zip
Darkheart
23
Years of Service
User Offline
Joined: 2nd May 2003
Location:
Posted: 4th Jul 2003 13:59
I've always felt the rendering in DB/P left rather a lot to be desired most scenes just look rather lacklustre in Darkbasic/Pro compared with most other similar packages.

Darkheart

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Jul 2003 21:25
DB/DBP look just like DirectX does natively without anything fancy ontop, standard shading, standard texture routines, etc...

Login to post a reply

Server time is: 2026-07-17 13:57:41
Your offset time is: 2026-07-17 13:57:41