0030690: Draw Harness - provide XDisplay command for displaying XDE document
[occt.git] / tests / v3d / glsl / phong_dir1
CommitLineData
f68acbf4 1puts "========"
2puts "Per-fragment lighting using built-in GLSL program, one directional light source."
3puts "Visual comparison with the reference snapshot should be performed for this test case."
4puts "========"
5
6# setup viewer
8e0a2b19 7vclear
8vclose ALL
9vinit View1
f68acbf4 10vcaps -ffp 0
11vrenderparams -shadingModel phong
12
13# display shape
14restore [locate_data_file occ/fuse.brep] f
15vaxo
16vdisplay f -dispmode 1
17vfit
18vrotate -0.5 0.0 0.0
19vfit