|
-
Nov 29th, 2004, 03:50 AM
#1
Thread Starter
Fanatic Member
[vb6] Vertex
If I just wanted a square, with a 512x512 texture, using a Trianglestrip would the following be appropriate?
VB Code:
''CreateVertex ( x, y, z, tU, tV )
terrain(0) = CreateVertex(-10, 0, 10, 0, 0)
terrain(1) = CreateVertex(10, 0, 10, 1, 0)
terrain(2) = CreateVertex(-10, 0, -10, 0, 1)
terrain(3) = CreateVertex(10, 0, -10, 1, 1)
It renders as a square but the weird thing is that when I render it by itself with nothing else going on in the scene it applies the texture correctly, but as soon as I add the skybox it screws up again, or anything for that matter... I put a ship off screen and it started doing it again.
Last edited by dsheller; Nov 29th, 2004 at 04:08 AM.
"X-mas is 24.Desember you English morons.." - NoteMe
-
Nov 29th, 2004, 04:08 AM
#2
Thread Starter
Fanatic Member
"X-mas is 24.Desember you English morons.." - NoteMe
-
Nov 30th, 2004, 11:17 PM
#3
Careful! Some cards don't support textures over 256x256.
-
Dec 1st, 2004, 12:01 AM
#4
Thread Starter
Fanatic Member
That may just explain why it didn't work at school... =)
"X-mas is 24.Desember you English morons.." - NoteMe
-
Dec 1st, 2004, 12:07 AM
#5
Originally posted by dsheller
That may just explain why it didn't work at school... =)
ARe you sure you have the redistro at school at all?
-
Dec 1st, 2004, 02:56 PM
#6
Thread Starter
Fanatic Member
Yea, I have ran stuff on there before, last year though... I don't think they would have cleared it off though...
"X-mas is 24.Desember you English morons.." - NoteMe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|