Hi there.
For all those who couldn't execute Stab in the darks sofware's example because of the annoying dlls, here's a new version that makes the same without those dlls and SITDS_Tools.dll.
I hope you don't mind
Stab in the Dark sofware, as this is just an adaptation to Dbpro for all the friends that don`t have those dlls.
See example attached.
autocam off
sync on
set ambient light 0
hide light 0
load image "barrel01.jpg",1
load image "pavorb1.jpg",2
load object "room.dbo",1
load object "barrel.dbo",2
position object 2,0,-5,0
load object "wheel.x",5
scale object 5,150,250,250
color object 5,rgb(0,255,0)
position object 5,0,100,0
clone object 3,2:position object 3,-40,-5,0
texture object 3,2
clone object 4,2:position object 4,40,-5,0
texture object 4,1
set global shadow color 0,0,0,200
set shadow shading on 1,0,1000,1
set shadow shading on 2,0,1000,1
set shadow shading on 3,0,1000,1
set shadow shading on 4,0,1000,1
set shadow shading on 5,0,1000,1
make light 1
set spot light 1,0,160
set light range 1,300
make object sphere 100,2
set object light 100,0
position camera -7,76,-210
point camera -7,76,0
y#=50
do
g#=g#+0.5
rotate object 5,g#,g#,g#
if upkey() then y#=y#+0.5
if downkey() then y#=y#-0.5
if leftkey() then x#=x#-0.5
if rightkey() then x#=x#+0.5
position light 0,x#,y#+20,-50
position light 1,x#,y#,-50
position object 100,x#,y#,-50
point light 1,0,0,150
sync
loop
Cheers.
I'm not a grumpy grandpa
