Hi everybody,
I've been working on a new project for the last months and I decided to use the old "DarkBasic" Classic and NOT DarkBasic Pro.
You could ask me why: well because of the crashing Windows Key (Alt+Tab) bug when making a fullscreen application. I don't want to use a windowed application and I don't want to use a maximized window. And I don't want to use "Fulldesktop" because this has other side effects with the screen ratio.
I know that I could try to handle the errors and reload the models with DarkBasic Pro but this does NOT work with matrices. When using a matrix and pressing Alt+Tab or Windows key, it's over!
And because I use matrix generation with this project => DarkBasic Pro is useless for me.
Okay anyway... DarkBasic Classic is a great product (and in my eyes even better than DarkBasic Pro) but I experienced a graphic problem and wanted to ask if anybody here could help me or has experienced the same problem?
What did I do:
I created one matrix for the landscape and one for water.
The water matrix is a ghost matrix. But a solid water matrix doesn't change anything... the problem occurs there, too.
I scroll the matrix down and everything works OK. Te landscape is generated and it works fine
BUT the landscape itsself looks distorted on new systems. When seen from top view the problem looks like the following:
Intel Core i5 680 - Geforce 450GTS - Windows 7
...but it should look like this:
Intel Pentium 4 - 3.4 GHz - Geforce 8600GT - Windows 7
Another screenshot:
Intel Core i5 680 - Geforce 450GTS - Windows 7
Intel Pentium 4 - 3.4 GHz - Geforce 8600GT - Windows 7
I tested it with different driver versions for the Geforce 450GTS ... I enabled/disabled VSync and neary tried all other settings I could change. Nothing changed this effect. Normal I use VSync On and set Tripple Buffering on (it doesn't work with Double buffering, too!)...
Both systems above have been configured identical as far as the Geforce drivers let me allow to do so.
I have a friend who uses a Geforce 9800 graphics card and the program runs fine without the distorted landscape. On the other hand - an Atom Netbook with integrated graphics shows the same problem with distorted landscape
So I think it might have something to do with the new graphics cards? Is there any possibility to change this problem with DarkBasic Classic?
I use DarkBasic 1.13 English Version because I like this version more than 1.21 because of German keyboard support. 1.21 is buggy and only uses American keyboard even if my system says my keyboard is German.
Anyway... - it doesn't change anything with 1.21 - the newer version 1.21 has exactly the same problem with the distorted landscape.
If you would like to test it on your system - then you could try the following example:
http://www.rylex.de/download/test.zip
Extract the files to a folder and run the EXE-file.
If you run the file:
- Press "v" key for top view to take a look at the landscape like above pictures.
- Press "ESC" to exit the program.
If you don't want to run this example you can create two matrices and scroll them down and take a look at them from above.
The top view however is not the worst problem. I want to position some trees on the landscape and so far this works perfect with old graphics cards.
Using new graphic cards the trees are distorted, too - when they are far away. The closer they get the less distorted they are. I guess this is a problem with the Z-buffer.
So if the landscape is OK, then the trees are OK, too.
If anybody here could help or has an idea please let me know.
One more thing:
I have bought an original DarkBasic Classic German Version but I use the English 1.13 version because the German version is bugged, too. However this English version I have here doesn't have any INI-files inside the program directory.
Update:
I've created an INI-File with the settings from here:
http://forum.thegamecreators.com/?m=forum_view&t=177465&b=10
The setup.ini files itsself seems to work because DarkBasic can now run inside a Window.
I thougt it could be the setting:
Quote: "; 3doverlay : 0=normal / 1=Utilize ZBuffer Clear for overlapped 3D rendering"
But setting this to 1 didn't help with the problem of this thread. Well... I didn't restart the system I just restarted DarkBasic. All the other settings inside the setup.ini file didn't show an effect so far.
If you have experienced this problem, too and have an idea about this problem, then please help me.
Thank you very much!
Rylex