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.

Author
Message
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 16:12 Edited at: 4th Jul 2013 19:19
SOLVED !!!

Antialising - FXAA
I turned that option to off and boom, now I see text clearly again.



This is my original post below.
--------------------------------------
I did a search for blurry text here on the forum and got only GDK stuff. Which didn't help me in DBPro.

I been racking my brain for two years on how to solve this. I have made work arounds, but after a bit it really drops the frame rates. So I am wondering if there is a command that disables the blurry text when you use print or text commands on the screen. Keep in mind, not all graphic cards do this. I know because on my laptop, everything looks fine. But on my desktop, with a different video card, the text is blurry. No matter what I try. I tried it on my friends computer who also has an NVidia card like I do, and it has the same blurry text problem. NVidia related ? Can I fix this if it detects NVidia card maybe ?

Here is the kicker.. its like it's drawing it blurry over a few seconds of time, even though it isn't blurry for the very first second. Like Anti-Aliasing takes over. I need to find a way to disable that. I have tried other work around and eventually it will go blurry.

So is there a way to disable anti-aliasing or some other command I am just not aware of that can fix this ?

Example of what I mean here :
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 16:25
Go into your graphics card settings under anti-aliasing. Make sure Morphological Filtering Box is NOT checked off. It will cause a "smoothing" function to take over on all surfaces, which is many games includes text. I have had this problem is games such as starcraft.
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 16:29 Edited at: 4th Jul 2013 16:46
EDIT UPDATE : I just looked for Morphological Filtering in all my NVidia card settings. I do not even have that as an option.

Is there a way to do that without the user always having to change that option in their card though ? That makes no sense that I am forcing all my users to have to modify their settings just because of this. Because this is a glitch with DBPro.

Here is what i'm getting at...

If I use this code :


It looks fine here on the same NVidia computer :


But this code makes it blurry.


Anytime I have to convert a variable to a string, or if I have to convert anything in general even if I am not printing to the screen.. my text goes blurry.
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 16:33
Well idk how dbpro works in terms of text but it looks like it turns it into an object of some sort.. thus the filtering. And it would not just be your game. I mean I have it alwsys off because all of my games tezt becomes blurry from it. Simply If u make settings for resolution color bit and fullscreen/window mode just have a message pop up making sure that morph filtering Is disabled
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 16:35 Edited at: 4th Jul 2013 16:44
But this only does this in NON-FULL screen. I am not trying to make this in full screen. I need it to be just a simple default window. My games do not do this anyhow. Only Darbbasic does this to me.

There has got to be a command in DBPro that can fix this. Otherwise this is a bug.
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 16:45
Yeah I have AMD gfx cards. If u want to send me a link I can test it on my amd and let u no if its blurry
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 16:47 Edited at: 4th Jul 2013 16:49
Quote: "Yeah I have AMD gfx cards. If u want to send me a link I can test it on my amd and let u no if its blurry"


A link ? Link to what ? Just test the code I posted above if that is what your referring too. I posted example code on my 2nd post.
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 16:51
Okay I tested and both are fine on an AMD computer.
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 16:53 Edited at: 4th Jul 2013 16:56
Quote: "Okay I tested and both are fine on an AMD computer."


Exactly my point. On NVidia cards, it goes blurry. And this ONLY happens when I use DarkBasic Pro and try to convert val() command from a string or a str$() from an integer. Basically, if I convert anything at anytime, no matter if I am printing or not, it goes blurry. This is a DBPro BUG when it comes to NVidia Video Cards. My other two computers do not use NVidia as their video card, so I do not get this issue.
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 16:58
Post in the bugs section?
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 17:09 Edited at: 4th Jul 2013 17:15
Quote: "Post in the bugs section?"


I would.. but I have been told repeatedly that Darbasic Pro is no longer supported nor is it going to be updated. So it would do no good. As far as TGC is concerned.. DBPro is a dead project. They are working on AppGameKit Version 2 and FPS Creator only.

LeeBamber, one of the lead developers, gave us hope last year with the idea of DarkBasic Elite. But even that got canceled.
Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 17:15
That's upsetting especially since I am coding my full game with it
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 17:15 Edited at: 4th Jul 2013 17:27
Quote: "That's upsetting especially since I am coding my full game with it"


Welcome to the club. Most of us are irritated about this.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Jul 2013 17:49
It's odd that you seem to be the only person on here with blurry text. Do you get the same thing with the text command?

JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 18:19 Edited at: 4th Jul 2013 19:17
Quote: "It's odd that you seem to be the only person on here with blurry text. Do you get the same thing with the text command?"


These questions were already answered in the original post.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Jul 2013 18:32 Edited at: 4th Jul 2013 18:34
I had Nvidea last year, and I didn't have this problem. I always use this version of the code...

Text 0,10, "Here are some random numbers : " + str$(a)

JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 18:34 Edited at: 4th Jul 2013 18:48
Quote: "I had Nvidea last year, and I didn't have this problem."


What card ? And why HAD ? What card do you on now ?

And what version of Darkbasic Pro were you using at the time ? And were you using the matrix1 plugins ?

All of this could be a factor in this. If I could nail this down, then maybe it would solve two years of heart ache.

Quote: "I always use this version of the code...

Text 0,10, "Here are some random numbers : " + str$(a)"


As I mentioned above, this causes the same problem. It's not the video card per say, its DBPro when it comes to conversions. Look at the code I posted above. You will see what works and what doesn't. I posted pictures so you can understand it better.

Point is, its not about the Video card per say, its DBPro's compiler when it is on NVidia video cards. But what I do not know is if its a DLL issue from the matrix1 plugins or if its the compiler version itself.

EDIT UPDATE 1 : I compiled an EXE on my non-nvidia computer. And then ran the EXE on my computer WITH NVidia. I get the same blurry screen. So I don't get it. I have went through EVERY option in my video card I could find. None of them fixed it. I sent this to my friend through GTalk for him to test and he too, on his NVIdia video card is ALSO getting the blurry screen.

EDIT UPDATE 2 : I sent this to another friend on my gtalk and he also says he has NVidia, he also says its not blurry on his. So now I'm confused.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Jul 2013 18:41 Edited at: 4th Jul 2013 18:41
Only your card is important, it's the one that doesn't work. If we go through all of the cards that work it will take another 2 years. Why is no-one else posting the same problem? It's a common line of code in nearly every project.

JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 18:46 Edited at: 4th Jul 2013 18:49
Quote: "Only your card is important, it's the one that doesn't work."


As I said many times, its not just my card.

Quote: "Why is no-one else posting the same problem? It's a common line of code in nearly every project."


I agree, why is no one else is reporting this.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Jul 2013 18:59 Edited at: 4th Jul 2013 19:03
Quote: "As I said many times, its not just my card."


Quote: "I tried it on my friends computer who also has an NVidia card like I do, and it has the same blurry text problem."


You, and a friend is still you using a friend's computer. So it's still you. The error is still only being created by you. How do you know that you didn't put the error on the friend's computer? You could have put something on his computer like your Direct X 9c to test your program out. Or your codecs.

Friends tend to share, so they also share the same error on the computer.

JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 4th Jul 2013 19:11 Edited at: 4th Jul 2013 19:18
Solved !!

It turns out that there is an option in NVidia that my friend and I had enabled that my other friend did not have enabled.

Antialising - FXAA
I turned that option to off and boom, now I see text clearly again.

As per the instructions given to me earlier, I will have to find a way to detect this and either shut it off, or send a message to the user to shut it off.

@Pincho Paxton, I understand where your coming from, but it wasn't like that. But thanks for trying to help.

@Master SeePlusPlus, I dug into your option for AMD and found that NVidia has the same option, but as you can see, it was named differently. Thanks for the help.
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 4th Jul 2013 19:22 Edited at: 4th Jul 2013 19:23
Quote: "@Pincho Paxton, I understand where your coming from, but it wasn't like that. But thanks for trying to help."


Actually I was going to say that it was your AA anyway. It was the same on my Nvidea card. But being as you already looked for it earlier I didn't bother.

Master SeePlusPlus
13
Years of Service
User Offline
Joined: 30th Dec 2012
Location:
Posted: 4th Jul 2013 21:08
@JackDawson glad to hear it works! Yeah it is an odd option the companies add.. there really is no point to it haha
Burning Feet Man
18
Years of Service
User Offline
Joined: 4th Jan 2008
Location: Sydney, Australia
Posted: 4th Jul 2013 23:52
Gotta love the graphics driver program profiles. At least you can configure profiles correctly with nVidia cards, the last time I tried to do this with my AMD it was no dice! It was adjust your video settings for all or none!

Help build an online DarkBASIC Professional help archive.
DarkBasic Help Wikia
JackDawson
14
Years of Service
User Offline
Joined: 12th Jul 2011
Location:
Posted: 5th Jul 2013 01:12 Edited at: 5th Jul 2013 01:13
Quote: "Gotta love the graphics driver program profiles."


Yea I love that part.

Quote: "glad to hear it works! Yeah it is an odd option the companies add.. there really is no point to it haha "


Agreed. It's been nothing but trouble. And thanks again for the help.

Login to post a reply

Server time is: 2026-07-06 18:37:47
Your offset time is: 2026-07-06 18:37:47