0027986: Visualization - AIS_InteractiveContext::SetLocation() does not update dynami...
[occt.git] / tests / bugs / vis / bug22507
CommitLineData
7faaccfd 1puts "============"
2puts "OCC22507"
3puts "============"
4puts ""
5#######################################################################
6# Regression: shading of face is bad (wrong normals)
7#######################################################################
8
9set BugNumber OCC22507
10
11restore [locate_data_file OCC22507-bug589_f77_badshading.brep] result
12vinit
13vdisplay result
14vfit
15
16vsetdispmode 1
17
18set x 200
19set y 220
20
21set RED_R1 0.96470499038696289
22set GREEN_R1 0.68627399206161499
23set BLUE_R1 0.12156800180673599
24
25vmoveto $x $y
26
27checkcolor $x $y ${RED_R1} ${GREEN_R1} ${BLUE_R1}
28
5747059b 29checkview -screenshot -3d -path ${imagedir}/${test_image}.png