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 Discussion / Strangeness with DB "tank" demo

Author
Message
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 3rd Mar 2003 04:06
I fired up the "tank" demo on my AMD 900 system with Radeon 8500 6MB AGP, and for the most part it works like a charm. There are two problems I notice (having seen the demo run on the DB demo version on another system):

1) The enemy tank is all "tan" with black tracks - no texturing.

2) The fire from the enemy tank is mostly black with only a little red.

Anyone see this happen before? How can I fix it?

Thanks,

Ed
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 3rd Mar 2003 20:25
I downloaded the .EXE version of the "tank demo 2" from the DB site and tried it on my laptop (P3 850, GF2Go 16MB) and I think I can see part of what the difference is now between this one and the one I run from source using DB.

1) The enemy tank doesn't have textures, so it's supposed to be all "tan" with black "tracks". Maybe there's just a problem with the shading that makes it look like it almost all the same color (tan parts) on my Radeon without any flat/Gouraud shading...? What does it look like for you guys?

2) The fire from the enemy tank in the compiled version that I downloaded is definitely red with no black whatsoever. It's almost as if there is a black color key that's not being set up correctly when I run it from the source, so I'm getting a lot of black border color that ends up covering most of the red... anyone else see this when running from source? Maybe they fixed this in the pre-compiled version available for download?

3) Another issue that I didn't notice before: the smoke is white in the compiled version I downloaded. The smoke is black in the one I run from source with DB. Could this be a color key problem in the source that they fixed for the pre-compiled download?

Thanks,

Ed

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 4th Mar 2003 21:17
1) the enemy tank is NOT textured and is not suppose to be
2) post a screenshot
3) sound like you've done something to the source, i.e. inverted the colours (which would probably explain the prior problem too)

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 08:36
Okay... the tank.dba file hasn't been modified.

Here's a screenshot showing the black smoke and black-edged fire:

http://udel.edu/~ed/db/snapshot2.bmp

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 08:40
Grrrr... try this:

<a href=http://udel.edu/~ed/db/snapshot2.jpg> Black Smoke Black Fire </a>

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 08:41
ARRGH! Just pull the URL out of the last one...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 08:47
I put two more shots up - get all three here:

http://udel.edu/~ed/db

Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th Mar 2003 15:28
http://http://udel.edu/~ed/db

xxxpetratxxx
B. R. W
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 6th Mar 2003 15:31
ya know, this is a bit silly sometimes...
http://udel.edu/~ed/db

xxxpetratxxx
B. R. W
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 17:47
Phoenix (Mozilla) doesn't seem to want to do anything with Code Snippets or the "href", "img", etc., buttons in the message composer.

What browser works with this thing?

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 17:49
I'll try IE 5.5...

http://udel.edu/~ed/db

Okay, I see now... it puts in its own tags... I can type them by hand in like this:

http://udel.edu/~ed/db

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 17:50
Weeeeeeee.... here goes an image...



EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 17:54
Let's try some code:



There's the source for the "tank" demo that I got the snapshots from.

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 6th Mar 2003 17:56
Okay... I'm learnt now... so maybe I won't annoy people so much with my lack of tag understanding...

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 7th Mar 2003 01:12
i can't be arsed to actually explain what section was wrong



there's the working version ... it was altered quite a bit in certain places from the original - i'd suggest before you post about bugs again your REINSTALL the demos from the CD

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 7th Mar 2003 19:14
Maybe the version that comes with DBLite is different from the pre-compiled demo...

I'll take a look at the one you posted and compare it to the unaltered one that got installed with DBLite.

And about the reinstall... of course, I've already checked to make sure I have an unaltered copy of the demo and that's what I posted. The version of the "tank" demo I posted above comes straight from the DBLite install.

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 8th Mar 2003 06:40
The version that came with my DBLite _is_ in fact different than the one Raven posted. It is a minor difference involving the extra logo routine at the end. I can't run this version because the logo image is missing in my "tank" directory that got installed with DBLite.

Raven, can you post a ZIP of your "tank" directory so that I can try it and see if it works any differently?

Still, the point remains that the DBLite version of the tank demo looks different on my laptop (GF2Go) than it does on my desktop machine (Radeon 8500):

1) The smoke is black on the Radeon and white on the GF2Go (and everything else I'd imagine).

2) The fire has a huge amount of black in it on the Radeon, and has no black in it on the GF2Go (and everything else).



Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 9th Mar 2003 01:55
well then i'd say your Raedon is to blame then and contact DBS about it, because the smoke is suppose to be white

and the source i gave you is the from the Demo version of DB 1.13 Enhanced

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 9th Mar 2003 03:46
the smoke is black with me

xxxpetratxxx
B. R. W
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 9th Mar 2003 06:35
Raven... isn't this the support forum. I thought that's what I was doing here...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 9th Mar 2003 06:36
xxxpetratxxx: What kind of video card do you have? What version of drivers?

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 9th Mar 2003 07:02
Ed this is a developers forum... where we try to help - but we're not the developers and we can't say that we'll look into it for you

email the team directly for a real response

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 9th Mar 2003 07:32
Ah... I didn't know we had to contact the DB team directly for *actual* support. When I click "Support" on the DBPro site, I ended up here so I figured DB was mostly "self-supporting" in these Forums (although it was strange not to find a forum named "Support").

You are a wealth of info. tonight Raven... THANKS!

Ed

Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 9th Mar 2003 23:45
I have:

nVIDIA MX400 64MB
256MB RAM
60GB HD
Athlon XP 1800+

xxxpetratxxx
B. R. W
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 10th Mar 2003 20:48
Hmmmm... well that's "good"... I thought it might be my Radeon 8500, but since you have a GF2, it's likely that it's a problem with DB itself, I guess.

What version of DirectX do you run? I have DX 8.1 on both of my machines... so it's probably not a DX problem... hmmmm...

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 10th Mar 2003 21:49
well this machine uses a GeForce2 Go! and i've not had a problem with it ... and i've never heard of any others complaining about problems of this nature from GeForce cards.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 10th Mar 2003 23:00
It's not obvious that the smoke is supposed to be white. Hard to miss the fact that the "fire" looks more like "burning tar" when the black is showing tho'. Like I said, my GF2Go in my laptop seems to display the smoke and fire correctly.

I realize that there are a lot of young people here, and quite a few issues are "user error"... so people tend to be quick with the "you must've screwed up your system" or "you just don't know what you're doin'" answers. In this case, there are at least 2 people seeing black smoke on one computer and white smoke on another... with completely different setups. So it'd be nice to figure out what is going wrong so that we can make DB better (not that they will actually fix DB, but knowing the problem is sometimes almost as good).

I'll start a new thread for people to report black or white smoke when they run the "tank" demo. I'll get a couple people to try it here at the office as well... since we have a wide variety of graphics hardware and Windows versions...

Thanks,

Ed

Hamish McHaggis
23
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 10th Mar 2003 23:38
Black for me in the dbc version, white for me in the demo version and downloadable version.

Why the hell'd you ask me for crying out loud!?!
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 10th Mar 2003 23:44
Ed... open up C:\Program Files\Dark Basic Software\Dark Basic\MyProj\Tank...

in there you will see the smoke.bmp - tell me what colour it is - THAT is why it is obvious what colour it is suppose to be.

try the line "if tnl available() then enable tnl()"
it'll change the render from HAL to TnL HAL - which might solve this problem on faster cards.
But it certainly seems bloody strange that in the 4years of using DarkBasic i personally have never seen this nor heard other note about this problem.

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 11th Mar 2003 00:35
Tank Demo

Compiled under DarkBasic 1.13 with a few enhancements
before anyone bitchs about the the speed, its suppose to be ALOT slower than the demo - it a debug version.
hopefully we'll find out what your problem is

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 14th Mar 2003 00:20
I get a "file not found" error...

EddieRay
23
Years of Service
User Offline
Joined: 28th Feb 2003
Location: USA
Posted: 14th Mar 2003 00:21
Notice above that someone else is seeing black smoke too...

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 14th Mar 2003 00:32
yes but petrat isn't what i'd call a reliable source (no offense ment)

spelt the link wrong (stupid how its taken fuckin' like 3days for someone to notice for me)
updated the link so is working now - if that doesn't work i should know what is going on, and if i don't get any data then it is a problem that DBS need to be informed about

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 14th Mar 2003 19:09
oh great raven..

xxxpetratxxx
B. R. W
Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 15th Mar 2003 13:56
actually, the smoke is black for me coz the Tank 2.0 folder has BLACK smoke in it saved as a bitmap! Raven, i dont think you are a very reliable source 'tut'

xxxpetratxxx
B. R. W
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 15th Mar 2003 15:51
you musta resaved it then, cause i've never seen it black - i think the reason being is that the transparency doesn't work quite as well with it black.

but still its a case of if you check the media you know what colour its suppose to be ... strangly yours is black, so no doubt there isn't a real problem - its just you have a freaky version

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?

Login to post a reply

Server time is: 2026-06-10 10:07:56
Your offset time is: 2026-06-10 10:07:56