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