0031304: Configuration - TKACIS building failure due to duplicated symbol GeomFillFus...
[occt.git] / tests / bugs / vis / bug29051
CommitLineData
e21fec81 1puts "========"
2puts "0029051: Visualization, TKOpenGl - wrong color of transparent dynamic highlight with OIT tuned ON"
3puts "========"
4puts ""
5
6pload MODELING VISUALIZATION
7box b 1 2 3
8vclear
9vinit View1
10vdisplay -dispMode 1 b
11vfit
12vselprops dynHighlight -dispMode 1 -color RED -transp 0.2
13vmoveto 250 250
14vrenderparams -oit off
ba00aab7 15if { [vreadpixel 250 250 rgb name] != "ORANGERED2" } { puts "Error: wrong highlight color with OIT turned OFF"}
e21fec81 16vdump $imagedir/${casename}_oit_off.png
17
18vrenderparams -oit 0
19vreadpixel 250 250 rgb name
ba00aab7 20if { [vreadpixel 250 250 rgb name] != "ORANGERED2" } { puts "Error: wrong highlight color with OIT turned ON"}
e21fec81 21vdump $imagedir/${casename}_oit_on.png