0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / tests / v3d / glsl / phong_views
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
18vshaderprog b phong
34db9c00 19vdump $::imagedir/${::casename}_v1.png
392ac980 20
21vinit View2
34db9c00 22vfit
23vdump $::imagedir/${::casename}_v2.png
24vmoveto 250 250
25vdump $::imagedir/${::casename}_v2sel.png
26vactivate View1
27vdump $::imagedir/${::casename}_v1sel.png
392ac980 28vclose View2