How to map a scene on a cube

Blitz3D Forums/Blitz3D Programming/How to map a scene on a cube

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.

Tex = CreateTexture(256,256,1+16+32+256)
Buffer = CreateImage(GraphicsWidth(),GraphicsHeight())

RenderWorld
CopyRect 0,0,GraphicsWidth(),GraphicsHeight(),0,0,BackBuffer(),ImageBuffer(Buffer)
ResizeImage Buffer,256,256
CopyRect 0,0,256,256,0,0,ImageBuffer(Buffer),TextureBuffer(Tex)


I think it goes something like that, but I could be wrong, since I really don't do that much stuff like this at all (any more, at least).