hey people,
i recently got dbpro,and i emerced my self in the 3d aspects of coding almost immediately,i figured out some of the coding thingys, and i was able load in a terrain .x file that i made from L3DT, i also got my hands on a skybox.now, here's the problem,
HOW DO I STOP MY BOX from floating
the skybox seems to disappear,even though its cull is set to 0.
someone help me solve this please,
it might be simple to you but am still a noob :p
autocam on
backdrop off
set window position 0,0
set display mode 860,600,0
make matrix 1,1000,1000,50,50
make object cube 1,4
position object 1,0,-30,0
load object "cloudcube.x",4
scale object 4,50000,50000,50000
position object 4,0,-40,0
set object light 4,0 : set object texture 4,2,0
set object cull 4,0
load object "tres.x",3
load image "tres_TX.jpg",1
xrotate object 3,90
scale object 3,40,40,40
position object 3,0,-30,0
texture object 3,1
set object cull 3,0
set camera to object orientation 1
automatic object collision 1,0,0
set object collision to spheres 1
do
text 10,10,str$(screen fps())
If Upkey()=1
Move Object 1,0.8
endif
If Downkey()=1
Move Object 1,-0.8
endif
If Leftkey()=1
Dec a#,0.9
endif
If Rightkey()=1
Inc a#,0.9
endif
yrotate object 1,a#
posx#=cos(270-a#) * 30 + object position x(1)
posz#=sin(270-a#) * 30 + object position z(1)
Position Camera posx#,object position y(1)+1,posz#
Point Camera object position x(1),object position y(1)+1,object position z(1)
sync
loop
end
dmann