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.

Newcomers DBPro Corner / How do you texture a matrix with a checker board?

Author
Message
thedubdude
21
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 22nd Oct 2004 15:41
I have two textures stored as two seperate bit maps. I want to checker board these textures onto a matrix. The following code does not work. I don't want to combine the textures into one file. Can someone please help me. Thanks.

Don Wile
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2004 20:18
Matrices can only be textured with textures all stuck in one image. The trick, if you want them seperate is to load them individually, paste 'em on the screen, then use 'get image' to bung 'em all into one image.

PS There is no need for all that bitmap stuff you are doing. You can simply use LOAD IMAGE to load graphic straight into an image number (can be bmp,jpg,png...)

If you are unsure of any of my code, then just ask.


Boo!
thedubdude
21
Years of Service
User Offline
Joined: 24th May 2003
Location: San Jose, Ca.
Posted: 23rd Oct 2004 07:15
Most excellent. Thanks a bunch.

Don

Login to post a reply

Server time is: 2024-11-27 12:31:10
Your offset time is: 2024-11-27 12:31:10