Rem Project: Dark Basic Pro Project
Rem Created: Wednesday, August 20, 2014
Rem ***** Main Source File *****
Sw=640 : Sh=480 : Depth = 32 : VSyncOn = 1 : Multisampling = 1 : Multimonitor = 0
`------------------------
SET DISPLAY MODE Sw, Sh, Depth,VSyncOn,Multisampling,Multimonitor
sync on : sync rate 60
autocam off
set camera fov 90
set camera range 0,0.01,100000.0
position camera 30,30,30
fog on : fog distance 1000
color backdrop rgb(201,201,201)
set ambient light 99
`---- Global's ----
global Terrain = 1
global NomalMap = 1
`--- Effect's ----
Load Effect "Media/Fx/NormalMapping.fx",NomalMap,1
`---- Object Textures ----
Load Image "Media/Texture/flat2.jpg",1
Load Image "Media/Texture/flat2_n.dds",2
Load Image "Media/Texture/flat2_s.dds",3
`---- Load Objects ----
Load Object "Media/Objects/flat2.dbo",Terrain
Position Object Terrain,0,0,0
`---- Texturing ----
Texture Object Terrain,1,1
Texture Object Terrain,2,3
Texture Object Terrain,3,2
Texture Object Terrain,4,1
`--------
Set Object Light Terrain,1
Set Object Effect Terrain,1
do
text 0,5, "Fps: " + str$( screen fps() )
sync
LOOP
.:: Http://DeanWorks.Ca ::.
My software never has bugs. It just develops random features.