0027860: Visualization - clean up Transformation Persistence API
[occt.git] / tests / bugs / vis / bug25229
CommitLineData
8aeeca44 1puts "============"
2puts "CR25229"
3puts "============"
4puts ""
5#######################################################################
6# Cappings have gray tint if setting color with vclipplane command.
63c629aa 7#######################################################################
8box b 100 100 100
9vinit
10vsetdispmode 1
11vdisplay b
12vclipplane create pln1
13vclipplane change pln1 equation 0 0 -1 20
14vclipplane set pln1 object b
15vclipplane change pln1 capping on
16vclipplane change pln1 capping color 1.0 1.0 1.0
8aeeca44 17vtop
18vfit
19
20set x_coord 100
21set y_coord 100
22checkcolor $x_coord $y_coord 1 1 1
23if { $stat != 1 } {
24 puts "Error : Capping color is broken."
25}
26
5747059b 27checkview -screenshot -3d -path ${imagedir}/${test_image}.png