Hi All
Not alot just something for playing with spotlights in DBPro.
might help get your lighting right.
Rem Project: spotlight
Rem Created: 19/02/2006 09:53:16
Rem ***** Main Source File *****
rem Standard Setup Code
sync on : sync rate 0 :
backdrop off
color backdrop rgb(0,0,128) : hide mouse
set text font "arial" : set text size 12 : set text transparent
autocam off
position camera 0,0,20,-180
load image "C:Program FilesDark Basic SoftwareDark Basic ProfessionalMediaTexturesconcrete_T.BMP",1
make object cube 1,10
make object sphere 2,10
make matrix 1,1000,1000,10,10
PREPARE MATRIX TEXTURE 1, 1,10,10
position matrix 1,-500,-10,-500
position object 1,-50,0,0
position object 2,50,0,0
make light 1
`SET POINT LIGHT=commandslightSET POINT LIGHT.htm=Light Number, X, Y, Z
`SET SPOT LIGHT=commandslightSET SPOT LIGHT.htm=Light Number, Inner Angle, Outer Angle
set spot light 0,10,100
set point light 0,50,10,60
set spot light 1,-10,-100
set point light 1,-50,10,60
color light 0,RGB(255,0,0)
color light 1,RGB(0,255,0)
do
sync
loop
Ps Why can't I delete light zero?
must rember to check title bar for lpelling misteaks!
No I hadn't look at the post before this about lighting.
I'm not getting you down am I, Ho Look! another fancy Door?