Rem Project: Test
Rem Author: Nadeem Rasool
Rem Copyright 2003-2004
Rem Created: 28/12/2003 19:24:23
Rem ***** Main Source File *****
AUTOCAM OFF
SYNC ON
SYNC RATE 50
cls
color backdrop 0
SET NORMALIZATION ON
LOAD OBJECT "Mediaopeningscene.x",1
POSITION OBJECT 1,10,10,10
SCALE OBJECT 1,100,100,100
rem set camera range
set camera range 1,10000
POSITION CAMERA 0,100,2000
load object "Mediasky08.x",2
POSITION OBJECT 2,10,0,10
set object cull 2,0
scale object 2,40000*2,20000*2,48000*1
set object fog 2,0
set object ambient 2,0
point camera 180,0,0
make light 1
POSITION LIGHT 1, 10, 1000, 0
color light 1,255,255,255
set ambient light 50
fog on
FOG DISTANCE 4500
fog color rgb(55,55,55)
DO
set cursor 0,0
print "Nadeem DarkBasic Pro Test"
print "Just to see what can be done"
print "Frames Per Second: ";screen fps()
SYNC
CONTROL CAMERA USING ARROWKEYS 0,20,10
LOOP
works here, not too sure about the fog colour or density though, I inverted the skybox (it was the wrong way up) and made it insensitive to ambient so that you can`t see the seperate faces apart from where the texture joins, also the skybox was set to be wireframe, so I turned that off and fiddled with the camera range, cheers.
Mentor.
System spec : Pentium 3.0Ghz, 512MB DDR, 2x160Gb HD (using icewave hd coolers ), DVD RW/CD RW (all modes), multimedia front panel, 6 way surround sound, ATI radeon 9800Pro 128mb.