0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / opengl / data / clipping / bug25060
1 puts "============"
2 puts "CR25060: Capping breaks highlighting of shaded AIS_Shape with displayed edges."
3 puts "============"
4 puts ""
5
6 pload MODELING VISUALIZATION
7 vinit View1
8 box b 10 10 10
9 vdisplay b
10 vaspects b -setFaceBoundaryDraw 1
11 vclipplane create pln1
12 vclipplane set pln1 object b
13 vclipplane change pln1 equation 0 1 0 -5
14 vclipplane change pln1 capping on
15 vsetdispmode 1
16 vfit
17 vmoveto 304 146
18 checkcolor 304 146 0 1 1
19 if { $stat != 1 } { puts "Error : Highlighting is broken." }
20
21 vdump $imagedir/${casename}.png