puts "========"
puts "Per-pixel lighting using GLSL program (Phong shading)"
puts "========"

# create box
box b 1 2 3

# draw box
vinit View1
vclear
vsetdispmode 1
vaxo
vdisplay b
vfit
vrotate 0.2 0.0 0.0

vshaderprog b phong
vdump $::imagedir/${::casename}_1.png

vinit View2
vdump $::imagedir/${::casename}_2.png
vclose View2
