VBGamer |
|||||||||||||||||||||||||||
RE: TriangleStrip only visible from underneath ??? Carl (1 reply, 0 views) (2000-Jul-22) Jack I'm not sure you've figured out those positions correct, try drawing them on paper, with X along the horizontal and Z along the Vertical and you'll see what the grid will look like.
But I think you need the vertices in these co-ordinates (I'm going from Vertex(1) up to Vertex(12))
Vertex = (X,Y,Z)
V1 = (5,Height,-10)
V2 = (-5,Height,-10)
V3 = (5,Height,-5)
V4 = (-5,Height,-5)
V5 = (5,Height,0)
V6 = (-5,Height,0)
V7 = (5,Height,5)
V8 = (-5,Height,5)
V9 = (5,Height,10)
V10 = (-5,Height,10)
V11 = (5,Height,15)
V12 = (-5,Height,15)
These should work.
People won't know what that CubeScale = ... is until they read my tutorials on your site because its something I used to scale everything by.
Also I find it easier to define your vertices from 1 upwards, it makes it easier to understand.
If you find that you can only see your objects from behind then that means you've defined them backwards, and they are in an anti-clockwise order.
|