Hi am using dbc and i have loaded my sky boxes here is the code
rem Activate manual sync
sync on
fog on
make matrix 1,1000.0,1000.0,25,25
load bitmap \"floor_U2_02.bmp\",1
get image 1,0,0,256,256
delete bitmap 1
prepare matrix texture 1,1,2,2
randomize matrix 1,10.0
set matrix height 1,12,12,10.0
update matrix 1
load object \"sky01.3ds\",5
scale object 5,5500,5500,5500
position object 5,500,0,500
MAKE OBJECT sphere 1,10
yrotate object 1,360
fix object pivot 1
scale object 1,100,100,100
rem How fast player move
speed#=3.0
rem position player
posx#=500.0
posz#=500.0
rem Begin main loop
do
rem Control Player with the cursor keys
if upkey()=1
posx#=newxvalue(posx#, angle#, speed#)
posz#=newzvalue(posz#, angle#, speed#)
endif
if downkey()=1
posx#=newxvalue(posx#, angle#, 0-speed#)
posz#=newzvalue(posz#, angle#, 0-speed#)
endif
if leftkey()=1 then angle#=wrapvalue(angle#-speed#)
if rightkey()=1 then angle#=wrapvalue(angle#+speed#)
rem get then matrix ground height for player to walk on
ground#=get ground height(1,posx#,posz#)+10
rem Update the object with these new values
position object 1,posx#,ground#,posz#
rem rotate player
yrotate object 1,angle#
rem Camera follow player
camdist#=35.0 : camhigh#=ground#+10.0 : camfade#=3.5
set camera to follow posx#,posy#,posz#,angle#,camdist#,camhigh#,camfade#,1
rem Update Screen
sync
loop
what i need is. how do u position the camera so that it is in the sky box, and how do i stop it so i cant leave the sky box.
200GB HARD DRIVE 1GB RAM 256MB GRAPHICS CARD