1 puts "================"
3 puts "================"
4 ###############################################################
5 ## The shading is false: objects seem to be situated in front of the others while they are behind.
6 ###############################################################
8 if { [array get env os_type] != "" } {
11 if { [string compare $os "windows"] == 0 } {
23 QASetViewCharac 4.9487928 89.23589 4.1505 0.7329295 0.59461397 0.33052679 -0.536849 0.2071041 0.81786 71.971878 -17.250309 33.509651
25 set color [QAGetPixelColor 171 171]
26 regexp {RED +: +([-0-9.+eE]+)} $color full rd
27 regexp {GREEN +: +([-0-9.+eE]+)} $color full gr
28 regexp {BLUE +: +([-0-9.+eE]+)} $color full bl
30 set rd_int [expr int($rd * 1.e+05)]
31 set gr_int [expr int($gr * 1.e+05)]
32 set bl_int [expr int($bl * 1.e+05)]
34 if { ${rd_int} != ${rd_ch} || ${gr_int} != ${gr_ch} || ${bl_int} != ${bl_ch} } {
35 puts "Error : The shading is false. Colors are not equal"