0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / bugs / vis / bug23407_2
CommitLineData
a2d5ab2e 1puts "============"
2puts "CR23407"
3puts "============"
4puts ""
5#######################################################################
6# Draw face outlines for XDE objects
7#######################################################################
a2d5ab2e 8
a2d5ab2e 9box b 10 10 10
10vinit
11vdisplay b
12vsetdispmode 1
dfa3d64f 13vshowfaceboundary b 1 255 0 0 10 1
a2d5ab2e 14vfit
ccadc126 15vaspects -setwidth 5
a2d5ab2e 16
ccadc126 17if { "[vreadpixel 183 190 rgb name]" != "RED"
be375252 18 || "[vreadpixel 314 344 rgb name]" != "RED"
19 || "[vreadpixel 26 267 rgb name]" != "RED"
ccadc126 20} {
a2d5ab2e 21 puts "Error : Boundary of face is not changed"
22}
23
5747059b 24checkview -screenshot -3d -path ${imagedir}/${test_image}.png