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 / .x help in matrix

Author
Message
Yu Une
21
Years of Service
User Offline
Joined: 26th Apr 2004
Location: under my own little rock
Posted: 22nd May 2004 23:09
I need some assistance from you more knowledgeable people,my difficulty is that when I load in the .x like this

Though my question is how do I apply the texture to it, the reason is that I'm trying to creat trees and bushs to my matrix. I'm thinking of buying that programming book.

Thank in advance.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 23rd May 2004 12:07
whats the X file? It's not a matrix.

load image "grass.bmp", 2

make matrix 1000,1000,40,40
prepare matrix texture 1,2,1,1

Creates a matrix 1000x1000 with 40x40 segments. Then textures it with image 2.

"eureka" - Archimedes
Yu Une
21
Years of Service
User Offline
Joined: 26th Apr 2004
Location: under my own little rock
Posted: 23rd May 2004 14:16
Oh so I can't add authentic grass then? thanks.

Login to post a reply

Server time is: 2025-05-24 06:22:40
Your offset time is: 2025-05-24 06:22:40