my bad...
[ code ]
hide mouse
set ambient light 100
TEXT 0,0,"Loading......."
sync
for b=1 to 2
for a=1 to 2
inc c
inc d
mo$="map3\test("+str$(a)+","+str$(b)+").x"
mt$="map3\test("+str$(a)+","+str$(b)+").bmp"
load object mo$, c
load image mt$, d
position object c, (a-1) * 500.000, 0, (b-1) * 500.000
texture object c, d
next a
next b
sync off
color backdrop rgb(0,120,255)
fog on
fog color rgb(255,255,255)
fog distance 1500
position camera 338,48,380
CX#=25
CY#=321
CZ#=0
do
print screen fps()
if upkey()=1 then move camera 5
if downkey()=1 then move camera -5
cx#=wrapvalue(cx#+mousemovey())
cy#=wrapvalue(cy#+mousemovex())
cz#=wrapvalue(cz#+mousemovez())
if cx#>90 and cx#<180 then cx#=90
if cx#<270 and cx#=>180 then cx#=270
rotate camera cx#,cy#,cz#
sync
loop
[ /code ]
Man is the only animal that blushes -- or needs to.
-- Mark Twain