Here is some DirectX code. The values x y and z are your bog standard 3d coordinates. The values tu and tv determine the part of the bitmap that is drawn but what do nx, ny and nz mean?

Please some1 help me!

Function MakeVertex(x As Single, y As Single, z As Single, nx As Single, ny As Single, nz As Single, tu As Single, tv As Single) As D3DVERTEX

With MakeVertex
.x = x
.y = y
.z = z
.nx = nx
.ny = ny
.nz = nz
.tu = tu
.tv = tv
End With
End Function

Thanks in advance Dan

PS Please could you make any explanations as simple as possible and give examples as well please. Thankyou .