0024696: Lower performance of the new Edge/Edge intersection algorithm
[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
9vinit View1
10vclear
11vsetdispmode 1
12381341 12vaxo
392ac980 13vdisplay b
14vfit
15vrotate 0.2 0.0 0.0
16
17# take snapshot with fixed pipeline
18vdump $::imagedir/${::casename}_OFF.png
19vshaderprog b phong
20vdump $::imagedir/${::casename}_ph1.png
21
22vclear
23vdisplay b
24vshaderprog b phong
25vdump $::imagedir/${::casename}_ph2.png
26vmoveto 250 250