I'm making a solar system and for some reson it won't work. (Get the textures from 3dcafe.com)
AppTitle "Solar System Sim" Graphics3D 1280,1024,32,0 SetBuffer BackBuffer() camera = CreateCamera() light = CreateLight() Sun = CreateSphere() Mercury = CreateSphere(10,Sun) Yellow = CreateBrush(255,255,0) tex = LoadTexture("Mercury.bmp") brush = CreateBrush() BrushTexture brush,tex PaintMesh Mercury,brush FreeTexture tex FreeBrush brush PositionEntity Sun,0,0,0 PaintMesh Sun,Yellow FreeBrush Yellow While Not KeyHit(1) RotateMesh Sun,0,5,0 RenderWorld Flip Wend End