# Comments should be ignored!
# todo: music loading?
# time objname command args...
# Commands: SHADER, new, texture, shader, setpoint, setdirection, local, append, END
# 
# Default direction 0.5, 0.5, 0

# INIT
-1 main SHADER main.vert,,minimal.frag
-1 nolight SHADER minimal.vert,,nolight.frag
#-1 fire SHADER minimal.vert,,fire.frag
-1 cam new camera
-1 SCENE append cam
-1 cam setpoint 0,0,0
-1 cam setdirection 0.5,0.4999,0.0
#0 cam movepoint 0,0,-950,150


#IMAGE
-1 title1 new image
#-1 title1 shader main
-1 title1 texture circus.png
-1 title1 setpoint 0,0,-25
-1 title1 local aspect;2
-1 title1 scale 21
-1 cam append title1
7 cam remove title1

#-1 title2 new image
#-1 title2 shader nolight
-1 title2 timer 3.0
-1 title2 texture circus.png
-1 title2 setpoint 0,0,-25.1
-1 title2 local aspect;1
-1 title2 scale 21
#-1 cam append title2

#-1 title3 new image
#-1 title3 shader fire
-1 title3 timer 6.0
#-1 title3 texture zeppelin.png
-1 title3 setpoint 0,0,-25.2
-1 title3 local aspect;1
-1 title3 scale 21
#-1 cam append title3


#LOGO
-1 logo new model
-1 logo shader main
-1 logo texture tlftest.png
-1 logo local loadobj;data/models/tlf.obj
-1 logo scale 3
-1 logo setpoint 0,0,-10.0
0.1 logo movepoint 0,-7,-20.0,1
#5 logo rotatepoint 1.5,1,0,2
-1 logo deltadirection 0.2,0.0,0.0
7 cam append logo
17 logo movepoint -20,2.8,-10.0,1
18 cam remove logo


#realcube
-1 realcube new model
-1 realcube shader main
-1 realcube texture orange.png
-1 realcube local loadobj;data/models/testcube.obj
-1 realcube deltadirection 0,-0.1,-0.2



# PARTICULZ

-1 stars new particles
-1 stars setpoint 0,0,0
-1 stars local type;starfield
-1 stars local padx;200
-1 stars local pady;200
-1 stars local init;realcube
-1 stars texture orange.png
7 stars rotatepoint 2,4,6,20
7 cam append stars


-1 skydome new sphere
-1 skydome shader nolight
-1 skydome texture skydome11.png
-1 skydome local scale;500
-1 cam append skydome

-1 fps new text
-1 fps setpoint -0.72,0.34,-1
-1 fps scale 0.05
-1 SCENE append fps


76 DEMO END