f55ba97f |
1 | puts "========" |
2 | puts "OCC27083" |
3 | puts "========" |
4 | puts "" |
5 | ################################################################## |
6 | puts "Visualization, Ray Tracing - shape with visible face boundaries disappears after turning the ray-tracing on" |
7 | ################################################################## |
8 | |
9 | pload VISUALIZATION MODELING |
10 | |
11 | box b 1 1 1 |
12 | |
13 | vinit |
14 | |
15 | vdisplay b |
16 | vfit |
17 | vsetdispmode 1 |
18 | vshowfaceboundary b 1 255 0 0 3 |
19 | vraytrace 1 |
20 | |
21 | if {[vreadpixel 295 255 name] != "GOLDENROD4 0"} { |
22 | puts "ERROR: the box with boundary aspect set is not shown in ray-tracing mode!" |
23 | } |
24 | |
25 | if {[vreadpixel 105 58 name] != "RED 0"} { |
26 | puts "ERROR: the box's boundaries are not shown in ray-tracing mode!" |
27 | } |
28 | |
29 | vdump $imagedir/${casename}.png |