Missing mesh

Blitz3D Forums/Blitz3D Beginners Area/Missing mesh

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.

Hi all. I have created my first mesh (basic.x) but cannot see it!! any ideas?? Heres my code.

Graphics3D 800,600
SetBuffer BackBuffer()

camera=CreateCamera()
RotateEntity camera,90,0,0
PositionEntity camera,10,20,10

light=CreateLight(1)
RotateEntity light,45,0,0

; This cube appears
cube = CreateCube()
PositionEntity cube,10,0,0

;But this mesh does not!!! :(
test = LoadMesh("Models/Basic.x")
PositionMesh test,0,0,0

While Not KeyDown( 1 )

;PositionEntity camera,0,20,0

If KeyDown( 205 )=True Then TurnEntity camera,0,-1,0
If KeyDown( 203 )=True Then TurnEntity camera,0,1,0
If KeyDown( 208 )=True Then MoveEntity camera,0,0,-0.05
If KeyDown( 200 )=True Then MoveEntity camera,0,0,0.05

RenderWorld

Flip

Wend

End


cheers all