0027958: Visualization, AIS_Trihedron - add shaded presentation option
[occt.git] / tests / bugs / vis / bug23407_2
1 puts "============"
2 puts "CR23407"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Draw face outlines for XDE objects
7 #######################################################################
8
9 box b 10 10 10
10 vinit
11 vdisplay b
12 vsetdispmode 1
13 vshowfaceboundary b 1 255 0 0 10 1
14 vfit
15 vaspects -setwidth 5
16
17 if { "[vreadpixel 183 190 rgb name]" != "RED"
18   || "[vreadpixel 314 344 rgb name]" != "RED"
19   || "[vreadpixel  26 267 rgb name]" != "RED"
20 } {
21     puts "Error : Boundary of face is not changed"
22 }
23
24 checkview -screenshot -3d -path ${imagedir}/${test_image}.png