you could always do the following, which works perfect for me for creating internal textures and images.
And then assign it to your mesh / object - with EntityTexture Mesh,Texture
Hope this helps ya matey,
Cheers - Clyde :)
Graphics3D 640,480 setbuffer backbuffer() Global Mesh=LoadMesh("object name") Global Texture=createtexture(Size,Size,Flags) ; size being 64,128, 256 etc - and flags is optional, remove if unneeded setbuffer TextureBuffer(Texture) Line 10,10,400,10 Line 400,10,400,200 Line 400,200,300,200 Line 300,200,350,150 Line 350,150,10,10 setbuffer backbuffer() ; rest of program
And then assign it to your mesh / object - with EntityTexture Mesh,Texture
Hope this helps ya matey,
Cheers - Clyde :)