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 / my matrix is all white wtf?

Author
Message
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 6th Jan 2005 00:34
how come when i try to texture my matrix it just turns out white ? please hellp me

For when they said I couldn't, I did...
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 6th Jan 2005 01:06 Edited at: 6th Jan 2005 01:09
put the code here and ill check it out

"Well, if he dies, it'll teach him not to do it again." - Me
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 6th Jan 2005 01:41
Textures not in your GPU's memory properly.

The only thing that springs to mind to cause this is either (obviously) a bad video card, or changing resolution.

Only change resolution at the start of a program (or maybe in a menu), and I recommend, if only out of habit that you put a 'wait 50' after it, to let the system do the final touches.

Also, try restarting your computer.

2005 - Year of cartoony red cubes (look! black outline!), for me at least.
Los
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Location:
Posted: 6th Jan 2005 07:51
wicked advice Blanky. I wonder if a game could crash on earlier computers because our programs don't allow for cpu or gfx to figure out stuff.
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 6th Jan 2005 20:50 Edited at: 6th Jan 2005 20:52
just like this
make matrix 1,2500,2500,25,25
load image "floor.bmp",1
prepare matrix texture 1,1,1,1
update matrix 1

i have pII chepo 300mhz computer with dbc demo version 1.13
the earliest free version of dbc works perfectly

please help!

For when they said I couldn't, I did...
PiratSS
22
Years of Service
User Offline
Joined: 18th Oct 2002
Location:
Posted: 6th Jan 2005 22:03
try another texture, that bmp file might not actually be a bmp format.
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 7th Jan 2005 01:17
You're missing out the command that actually applies the texture onto the matrix.

make matrix 1,2500,2500,25,25
load image "floor.bmp",1
prepare matrix texture 1,1,1,1
update matrix 1

Should be:

make matrix 1,2500,2500,25,25
load image "floor.bmp",1
prepare matrix texture 1,1,1,1
fill matrix 1,1,1
update matrix 1

- That'll set every grid square in the matrix to a height of 1.0, as well as (what we want) texturing every square with your texture.

2005 - Year of cartoony red cubes (look! black outline!), for me at least.
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 7th Jan 2005 06:00
here's a snapshot of what's going on.

so you see my problem - cud it be cuz i'm using trial (30day 60 run) version of dbc version 1.13? what ever it is i'm stumpted :-X

For when they said I couldn't, I did...

Attachments

Login to view attachments
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 8th Jan 2005 10:30
hmm, your exact code works on my computer... have you tried using a different texture?

DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 10th Jan 2005 01:29
let me describe the situation perfectly to everyone out there.

I downloaded version 1.13 of DarkBASIC classic off the web (you know, the 30-day, 60-runs trial version?) to see if it works because i was just about to buy the full version (haven't gotten it yet).

but when i was browsing through the commands in darkbasic help files, i crossed the matrix commands and just lazily [] clicked texturing a matrix (the example).

remember that this was made by the darkbasic creators.... however EVEN THEY'RE EXAMPLE DIDN'T WORK PROPERLY : the matrix just appeared fully white (see the image in my reply further up).

so that's my whole problem - but wait! there's more

I also have the VERY FIRST RELEASE of a DB demo from PC Gamer (UK) - the free version - Version 1.0.6 (13/JUN/2000) and THIS VERSION WORKS PERFECTLY.

I don't know what the problem might be seeing as the old version works perfectly and the new one doesn't.

Unfortunately, my trial version (version 1.13) of DBC is up so I 'll ahve to wait for the full package to arrive: until then - no more testing of matrices.
none the less all help and tips and advice and what all else will be HIGHLY (i mean HIGHLY) appreciated

thanks

For when they said I couldn't, I did...
Zotoaster
20
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 11th Jan 2005 01:35
i think its because u either have a bad gfx card, or because the trial version hasnt downloaded properly

"Well, if he dies, it'll teach him not to do it again." - Me
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 11th Jan 2005 07:07
hmm... well - i'll get the full version soon - but gfx card? how can it be a bad one?

For when they said I couldn't, I did...
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 17th Jan 2005 02:05
Either physical damage, or bad drivers. Update to the latest version of DirectX, get the latest version of your video card drivers, etc., etc.

Anyway, for me at least, the version I got when I bought DB was v1.08, even though v1.13 had already been out for at least half a year...

Avatar - white cat in a snowstorm. Look closely.
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 19th Jan 2005 19:43
sorry i didn't rite for a long time - my connection in my country was all messed up

anyway - I've got the full db (version 1.13 of dbc) and the matrix is still white - now what?

if my graphics cards is bad - how do i check what card i have? i have something like primary display driver, s3 inc. virge Gx2 - wot's that?

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 19th Jan 2005 19:44
and where 2 get update drivers? any payment involved?

For when they said I couldn't, I did...
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 20th Jan 2005 08:15
no payment but what kind of card do you have becuase some older cards ie mine didnt support direct3D, but all thAT changed when i got my new comp

Benjamin
22
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 20th Jan 2005 08:20 Edited at: 20th Jan 2005 08:24
Quote: "You're missing out the command that actually applies the texture onto the matrix."

Prepare matrix texture does the trick normally.

CURRENT PROJECT: Chaos Hizzle Demo
STATUS: Release of BETA imminent!
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 26th Jan 2005 18:45
Same difference.

Avatar - white cat in a snowstorm. Look closely.
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 28th Jan 2005 20:45
connetions' messed up again!

anyway - i have NO 3dfx drivers e.g. glide - i have display adapter s3 inc. virge gx2 - now what?

For when they said I couldn't, I did...
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 31st Jan 2005 02:49
. Latest version of DirectX.
http://www.Microsoft.com/DirectX

. Latest vid. drivers - go to S3's website and download 'em - all completely free, although they may be around the 5MB mark.. Yeah, I know, 56k.. Just persevere..

. And try someone else's example.. You never know, something stupid might've happened (i.e., texture is white)...

Avatar - white cat in a snowstorm. Look closely.
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 3rd Feb 2005 08:10
you no something - thanks alot! that really helps!

also - i agree - at 56k - it's horrible - not only the time but the cost

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 3rd Feb 2005 21:01
can anybody give me the exact site for updating s3 virge gx2 drivers please

For when they said I couldn't, I did...
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 5th Feb 2005 03:45
now i'm going to cry unfortunately even after updating my drivers
to version 2003 this is the new result

*eyes tear up* wwwwaaaaa!!!

For when they said I couldn't, I did...

Attachments

Login to view attachments
Los
20
Years of Service
User Offline
Joined: 3rd Jan 2005
Location:
Posted: 7th Feb 2005 17:55
Can you texture plains? make object triangle, texture object? make object cube, tried texturing that? I don't like to see you getting upset over the matrix not texturing properly.

Try downloading this program. It's a matrix editor and it's been set up to texture individual texture tiles > http://www.matedit.com/zips/matedit1_6.exe

" Ahh to finish something! My boy, have you ever accomplished anything? "
DeHonCha
20
Years of Service
User Offline
Joined: 2nd Dec 2004
Location: A world of my own...
Posted: 8th Feb 2005 05:19
plains texture properly - just matrices dont

thanks for the download - i'll try it out now

For when they said I couldn't, I did...

Login to post a reply

Server time is: 2025-05-25 02:43:23
Your offset time is: 2025-05-25 02:43:23