Commit | Line | Data |
---|---|---|
f68acbf4 | 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 | |
8e0a2b19 | 7 | vclear |
8 | vclose ALL | |
9 | vinit View1 | |
f68acbf4 | 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 |