0029564: STEP Import and Export failure
[occt.git] / tests / v3d / glsl / phong_box
CommitLineData
392ac980 1puts "========"
2puts "Per-pixel lighting using GLSL program (Phong shading)"
3puts "========"
4
5# create box
6box b 1 2 3
7
8# draw box
392ac980 9vclear
8e0a2b19 10vclose ALL
11vinit View1
392ac980 12vsetdispmode 1
12381341 13vaxo
392ac980 14vdisplay b
15vfit
16vrotate 0.2 0.0 0.0
17
18# take snapshot with fixed pipeline
19vdump $::imagedir/${::casename}_OFF.png
20vshaderprog b phong
21vdump $::imagedir/${::casename}_ph1.png
22
23vclear
24vdisplay b
25vshaderprog b phong
26vdump $::imagedir/${::casename}_ph2.png
27vmoveto 250 250