3 puts "Visualization - transparent object breaks Z-Layer depth buffer clear"
7 pload MODELING VISUALIZATION
15 vdisplay -noupdate -dispMode 1 -top r g b
16 vsetcolor -noupdate r RED
17 vsetcolor -noupdate g GREEN
18 vsetcolor -noupdate b BLUE
22 vzbufftrihedron -on -position left_upper
24 vsettransparency b 0.5
26 if { [vreadpixel 150 150 rgb name] != "GREEN2" } { puts "Error: wrong color - GREEN box should overlap RED one" }
27 if { [vreadpixel 84 64 rgb name] == "RED2" } { puts "Error: wrong color - Trihedron should overlap RED box" }
29 vdump $imagedir/${casename}.png