Import sidesign.minib3d Graphics3D 800, 600 cam = CreateCamera() MoveEntity cam, 0, 0, -15 cube = CreateCube() EntityFX cube, 1 tex1 = LoadTexture("part1.bmp") tex2 = LoadTexture("test.bmp") ''method 1 EntityTexture cube, tex1, 0, 0 EntityTexture cube, tex2, 0, 1 Rem'method 2 brush = CreateBrush() BrushTexture brush, tex1, 0, 0 BrushTexture brush, tex2, 0, 1 PaintMesh cube, brush EndRem Repeat TurnEntity cube, 0, 1, 0 RenderWorld() Flip Until KeyHit(key_escape) End
Multitexture, Howto?
BlitzMax Modules Forums/MiniB3D/Multitexture, Howto?The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.