0032237: Visualization, TKOpenGl - fix Gouraud shading within perspective camera...
[occt.git] / tests / bugs / vis / buc60740
CommitLineData
352ffd73 1puts "==========="
2puts "BUC60740"
3puts "==========="
4puts "=================================="
5puts "It takes visual check for this BUG"
6puts "=================================="
7
8vinit
9box b 0 0 0 10 10 10
10pcylinder c 10 10
11vdisplay b
12vsetdispmode b 1
13vdisplay c
14vsetdispmode c 1
15vfit
16vsettransparency c 0.5
17
18set x_coord 154
19set y_coord 257
20
352ffd73 21
22checkcolor $x_coord $y_coord 0.6 0.4 0.07
23
24if {$stat != 1} {
25 puts "Error :function vsettransparency works WRONGLY"
26}
27
5747059b 28checkview -screenshot -3d -path ${imagedir}/${test_image}.png