0032237: Visualization, TKOpenGl - fix Gouraud shading within perspective camera...
[occt.git] / tests / bugs / vis / bug26960
CommitLineData
5396886c 1puts "========"
ba00aab7 2puts "0026960: Visualization, TKOpenGl - update transformation of dynamically highlighted presentation"
5396886c 3puts "========"
4puts ""
5396886c 5
6pload VISUALIZATION MODELING
7
8box b 1 2 3
9
10vclear
11vinit View1
12
13vdisplay -dispmode 1 -highmode 1 b
14vfit
15vselmode 4 1
16vmoveto 250 250
7b5e532f 17if {[vreadpixel 350 140 rgb name] != "BLACK"} { puts "ERROR: wrong initial location" }
5396886c 18vsetlocation b 0.5 0 0
ba00aab7 19if {[vreadpixel 350 140 rgb name] != "CYAN2"} { puts "ERROR: the transformation was not applied to highlight structure" }
5396886c 20
ba00aab7 21vdump ${imagedir}/${test_image}.png