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.




Reply With Quote