IF SPACEKEY()
WAIT 200
SAVE IMAGE \"TESTING2.JPG\", 2
SAVE IMAGE \"TESTING3.JPG\", 3
SAVE IMAGE \"TESTING4.JPG\", 4
SAVE IMAGE \"TESTING5.JPG\", 5
SAVE IMAGE \"TESTING6.JPG\", 6
SAVE IMAGE \"TESTING7.JPG\", 7
ENDIF
Unfortunately this only gives you 256x256 images
dc make cubemap 256,2,3,4,5,6,7 <-- This only creates at most 256 nothing above will work
Add this code to the loop of the default Dark Clouds example code to see the images created in the same folder...
These images later become images 2,3,4,5,6,7 in this code
set cube mapping on 1,2,3,4,5,6,7
Obviously depending on their actual image ID numbers in your program
So load them into a new test project, map them to a cube and invert that cube by setting its size to a negative number for a simple skybox... [Will require some testing and rotating the images] been a while since I played with that sort of thing but it sounds about right...
GL.
EDIT
Something I put together for you
LOAD IMAGE \".\\TESTING2.JPG\",2
LOAD IMAGE \".\\TESTING3.JPG\",3
LOAD IMAGE \".\\TESTING4.JPG\",4
LOAD IMAGE \".\\TESTING5.JPG\",5
LOAD IMAGE \".\\TESTING6.JPG\",6
LOAD IMAGE \".\\TESTING7.JPG\",7
MAKE OBJECT CUBE 1, 256
SCALE OBJECT 1, -512, -512, -512
set cube mapping on 1,2,3,4,5,6,7
DO
CONTROL CAMERA USING ARROWKEYS 0, 1.5,1.5
SYNC
LOOP
Ideally you create 6 planes, and texture each of them with the image for a skybox...
But the effect here is just sweet to look at