puts "========" puts "OCC26404" puts "========" puts "" ########################################################################################### # Visualization, Ray Tracing - use solid background color when gradient color is disabled ########################################################################################### box b 1 2 3 vinit View1 vclear vaxo vsetdispmode 1 vbackground -color GRAY4 vdisplay b vfit vraytrace 1 set bug_info_1 [vreadpixel 50 50 rgb name] if {$bug_info_1 != "GRAY4"} { puts "ERROR: OCC26404 is reproduced. Background color is invalid (case #1)." } vbackground -gradient RED BLUE -gradientMode HORIZONTAL vbackground -gradient RED BLUE -gradientMode NONE set bug_info_2 [vreadpixel 50 50 rgb name] if {$bug_info_2 != "GRAY4"} { puts "ERROR: OCC26404 is reproduced. Background color is invalid (case #2)." }