0027715: Visualization - turn off deprecated OpenGL fixed-function pipeline by default
[occt.git] / tests / bugs / vis / bug23120
CommitLineData
e84189c5 1puts "============"
2puts "OCC23120"
3puts "============"
4puts ""
5###########################################################################
6# Transform persistence is not restored
7###########################################################################
8
e84189c5 9box b1 10 20 30
10box b2 10 20 30
11ttranslate b2 50 50 0
12vinit
af65fb19 13vdisplay b1 -trsfPers trihedron
14
e84189c5 15vdisplay b2
16vfit
17vsetdispmode 1
18vzoom 0.5
19vpan 100 0
20
f1aa2b62 21set x_coord 300
22set y_coord 130
e84189c5 23
f1aa2b62 24checkcolor $x_coord $y_coord 0.78 0.55 0.9
e84189c5 25
f1aa2b62 26if { $stat != 1 } {
e84189c5 27 puts "Error : Transform persistence is not restored"
e84189c5 28}
29
5747059b 30checkview -screenshot -3d -path ${imagedir}/${test_image}.png