Quote: "I was just thinking it would be easier to make an animated sun that rotates your world"
Good idea wattywatts
autocam off
sync on
hide mouse
hide light 0
make light 1:position light 1,0,30,0:set light range 1,50
make object box 1,50,0,50:color object 1,rgb(100,70,0)
make object box 2,1,1,1:hide object 2
make object sphere 3,1:set object emissive 3,rgb(255,255,255)
position camera -50,50,-50
point camera 0,0,0
do
move object 2,0.01
g#=g#+0.045
if object position z(2)>20 then xrotate object 2,180
if object position z(2)<-20 then xrotate object 2,0
if object position z(2)>0 then set ambient light 0+object position z(2)*3
if object position y(3)>5 then t$="DAY" else t$="NIGHT"
set cursor 300,240:print t$
position object 3,0,0,0
move object 3,-30
xrotate object 3,g#
if object position z(2)>0 then color backdrop rgb(0,0,0+object position z(2)*3)
sync
loop
I'm not a grumpy grandpa
