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