Textures on a mesh/surface/triangle?

Blitz3D Forums/Blitz3D Beginners Area/Textures on a mesh/surface/triangle?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay so far i can creat ea "cube" ,etc mesh and texture it, but using Addvertex, addsurface, add mesh whenever i try to paintmesh, entitytexture, paintsurface, it all appears as 1 color. The texture i'm using is black/red checkerboard? Im guessing its only painted one pixel of it?
heres my code...
Graphics3D 800,600,16,3
SetBuffer BackBuffer()
light=CreateLight()
RotateEntity light,90,0,0
world=CreateMesh()
surf=CreateSurface(world)

v1=AddVertex(surf,0,10,0)
v2=AddVertex(surf,10,10,0)
v3=AddVertex(surf,10,0,0)
tri=AddTriangle(surf,v1,v2,v3)
surf2=CreateSurface(world)
v4=AddVertex(surf2,0,0,0)
v5=AddVertex(surf2,0,10,0)
v6=AddVertex(surf2,10,0,0)
tri2=AddTriangle(surf2,v5,v6,v4)
cam = CreateCamera()
UpdateNormals world
PositionEntity cam,0,2,-15
brush=LoadTexture("c:\blitz\checker.bmp")
EntityTexture world,brush
RenderWorld
Flip

WaitKey()
End