Quote: "Hi, I used your code and now I can't see the box sometimes."
Sorry, my fault (I didn't have DB with me when I posted, so I couldn't test at the time). You don't actually need the "Scale Object" command, and calling it was messing everything up

. You can actually turn the skybox inside out at the moment you create it by specifying
negative dimensions:
Make object box 2, -1000, -1010, -1000
Position Object 2, 0, 490, 0
Set Object 2,1,1,0
I've also added the Set Object command - the only relevant bit is the final 0, which makes DB draw every polygon on screen. This just means you can see the box when you're outside it. You'll also notice I've modified the Position Object command. By positioning the skybox at -10, I was actually putting 490 units above the matric and 510 units below (object positions go from the object's centre, which would actually have to be well above zero).
One other thing I noticed (I only got a chance to run your code earlier today) was that the matrix didn't line up with the skybox. Again, this is coordiantes - X=0, Z=0 will centre an object about 0, 0 but X=0 and z=0 positions one corner of a matrix to 0, 0 (can't think which one off the top of my head). Anyway, try running this:
load object "media\models\static\h\HELICO11.x",1
position object 1,25,10,35
yrotate object 1,180
fix object pivot 1
load bitmap "media\bitmaps\textures\real\water\water2.BMP",1
get image 1,0,0,256,256
delete bitmap 1
REM Load the new bitmap textures here.
load bitmap "media\bitmaps\textures\real\stone\dark02.BMP",2
get image 2,0,0,64,64
Rem don't load textures beyond here
x = object position x(1) - 20
y = object position y(1) - 20
z = object position z(1) - 20
Rem create world
Make object box 2, -1000, -1010, -1000
Position Object 2, 0, 490, 0
Set Object 2,1,1,0
texture object 2,2
make matrix 1,1000,1000,11,11
Position Matrix 1, -500, 0, -500
prepare matrix texture 1,1,2,2
randomize matrix 1,4
set matrix texture 1,0,1
sync on
draw to front
rotate camera 0,180,0
set camera range 1,1415
Set camera to follow x,y,z,0,50,10,10,1.0
do
x = object position x(1) - 20
y = object position y(1) - 20
z = object position z(1) - 20
Set camera to follow x,y,z,0,15,10,10,1.0
if downkey() = 1 then move object 1,-1
if upkey()=1 then move object 1,1
if leftkey()=1 then turn object left 1,2
if rightkey()=1 then turn object right 1,2
sync
loop
Hope it works!
Quote: ""And by the way, I really like your textures!"
LOL!"
Yes, I realise now that they're actually supplied with DB - or at least, the walls stone effect is. I can't find your seascape (and that's the one I really liked!)
It is said there are 10 types of people in this world - those who understand binary, and those who have friends!