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