Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GET in a 3d array
#1
ok i need to use the function GET to populate an array the only problem is it is a 3d array

i have something drew on the screen lets say its this
Code:
line (1,1)-(32,18),10,bf

in need to get it into my 3d array called map
map is map(34,32,18 )

so i need to do something like
Code:
get (1,1)-(32,18), map(1 ... ' i dont know what to do from here

so i want whats on the screen to be in the map(1 part of the array can anyone tell me how to do this
ever wish for anything because if you have a wish in one hand and shit in the other what do you have?
Reply
#2
Is that even possible? :o

I tryied doing that with a 2D array (matrix) but with no luck.... Cry Sorry. It didn't like something I was doing.
i]"But...it was so beautifully done"[/i]
Reply
#3
with a 2d array all you do is
Code:
get (1,1)-(32,18), map
and map(32,18 ) would be your 2d array
ever wish for anything because if you have a wish in one hand and shit in the other what do you have?
Reply
#4
Ok...I has to be 32, 18 right?
cause on a 1D array You multiple the 32*18 then /2 +1 to get the size....hmmm...
i]"But...it was so beautifully done"[/i]
Reply
#5
Quote:Ok...I has to be 32, 18 right?
cause on a 1D array You multiple the 32*18 then /2 +1 to get the size....hmmm...

1D?!?! Do not you know the terms... there is 2D, Two axis:

[syntax="2D"]
^
|
1
|
|
--------2->[/syntax]

And 3D, Three axis:

[syntax="3D"]
^
|
1
|
|
--------2->
\
\
\
3[/syntax]

There is no 1D array.... As for the question, If you draw a 3D object on the screen, you can GET it normaly by the area it takes on the screen, but it transfers the info to a solid 2D object..

See, all 3D object done in QB are actuly 2D,. all of that trig positions the 2D ellements as tho they are 3D.. well all 3D in games is really 2D, it all goes thru trig algos to give it that 3D edge... :wink:

So, you can GET the 2D part you see that looks like its 3D, but its just like a photo, stuck in that position.. Smile
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply
#6
Ummm Rattra: a 1D array is a line? a 2D is a table/Matricy, a 3D is a cube like table....

[syntax="1D"]
<----------------1-
[/syntax]

I know first hand the difficles of 3D objects in QB....
A 1D array: (1); a 2D array: (1,1); a 3D array: (1,1,1); a 4D array: (1,1,1,1). Those ARE the terms.

Now for GET, he was talking about getting a 3D object and storing it in a 3D array?!?!?!? wow how did I miss that..... :roll:
i]"But...it was so beautifully done"[/i]
Reply
#7
Um, 4D is time.
url=http://www.sloganizer.net/en/][Image: style4,TheDarkJay.png][/url]
Reply
#8
0D is... non-existance.

Nemesis
Reply
#9
Technically 0D is just a dot... but in BASIC it's nonexistant.
1D = Line
2D = Square
3D = Cube
Technically 4D is time... but in BASIC it's a(1,2,3,4)


5D is some weird thing that you can't visualize..... Isn't it supposed to be a mobius strip?



oh something... i'm tired...
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#10
5D is being able to move across great distances in a short time.

Its also the name of an old band. :wink:

Tiger....0D is NOT a dot. A dot is 2D.

0D is technically a point which has no dimensions.
i]"But...it was so beautifully done"[/i]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)