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