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.

3 Dimensional Chat / Can any1 plz! plz! plz! help me with matrixes

Author
Message
DLS
22
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 20th Jan 2005 03:55
i been looking on how to make a matrix and though i tried the DBPro example i can't follow it properly. i got a textured plane and that was it. nothing like what the example said, and i followed it word for word.

if some1 could go through makeing a matrix step by step with me. what i want is a matrix about 100 square that looks like a desert with dunes. and have it repeat so it looks like a never ending landmass

i'll give any1 credit for it and i'll be so so so happy.

thanks

system specs: AMD XP 3000+, 512Mb DDR333, nvidia ge-force FX 5600 128MB, 1x8Gb & 1x40Gb HHD, 52x CD drive, DVD+RW 4x, Sound Blaster 128.... all in a Nokia 8310 case :0D
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Jan 2005 04:12
width = 1000
depth = 1000
make matrix 1, width, depth, 10, 10

load image "desert.jpg", 1
prepare matrix texture 1, 1, 1, 1

randomize matrix 1, 30

update matrix 1

"eureka" - Archimedes
DLS
22
Years of Service
User Offline
Joined: 6th Jul 2004
Location: Wet And Windy Britain
Posted: 20th Jan 2005 04:49 Edited at: 21st Jan 2005 06:29
Cool its working now. just one slight little problem y have i got a black grid near the camera? is it summat to do with the cameras position. this is totally new to me.

i've tried the camera positioning and it seems to be just one side the does it. that the side closest to the camera.

could the matrix be made to be a 9 by 9 square? (obviously it can) but so it looks seamless?

i'll play around with the cam for a bit and get to know that bit better. i'm gonna need it. at least if i can make it fly a set path and have the matrix(s) go forever then an into sequance might not be that hard to do using the games engine

oh btw i forgot to say THANKS Phaelax

[edit]
i'm sorry if this did get asked b4 but i'm really strugling with it and need some guidance. mostly with repeating the matrix and the grid problem. thats still beyond me.

thnx again for any help given

system specs: AMD XP 3000+, 512Mb DDR333, nvidia ge-force FX 5600 128MB, 1x8Gb & 1x40Gb HHD, 52x CD drive, DVD+RW 4x, Sound Blaster 128.... all in a Nokia 8310 case :0D

Login to post a reply

Server time is: 2026-07-10 16:24:17
Your offset time is: 2026-07-10 16:24:17