you have coloured the object rather than texturing it, for some reason DB doesnt think that a green coloured cube is the same as a green textured cube (I say cube because I used a cube in the example), if you use a texture to give the object it`s colour then all is well, if you just use the colour object command then it just doesn`t work as it should (yet another bug)
sync on:sync rate 40
autocam off
ink rgb(0,255,0),0
rem making a green texture
box 0,0,8,8
get image 1,0,0,7,7
rem making a green texture
cls
set camera range 0.5,1000
position camera 0,0,0
make object cube 1,0.1
rem texture rather than colour object
texture object 1,1
rem texture rather than colour object
set object ambient 1,0
set object light 1,0
position object 1,camera position x(),camera position y(),camera position z()
for i=2 to 50
make object cube i,rnd(2)
position object i,25-rnd(50),25-rnd(50),25-rnd(50)
color object i,rgb(rnd(255),rnd(255),rnd(255))
next i
do
if leftkey()
turn object left 1,1
turn camera left 1
endif
if rightkey()
turn object right 1,1
turn camera right 1
endif
move object 1,1
sync
move object 1,-1
loop
Mentor.
ps: press left/right keys to turn the camera left and right.
PC1: P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.