0027607: Visualization - Implement adaptive screen space sampling in path tracing
[occt.git] / tests / bugs / vis / bug27083
CommitLineData
f55ba97f 1puts "========"
2puts "OCC27083"
3a9b5dc8 3puts "Visualization, Ray Tracing - shape with visible face boundaries disappears after turning the ray-tracing on"
f55ba97f 4puts "========"
5puts ""
f55ba97f 6
7pload VISUALIZATION MODELING
8
9box b 1 1 1
10
3a9b5dc8 11vclear
12vinit View1
f55ba97f 13
3a9b5dc8 14vdisplay -noupdate -dispMode 1 b
f55ba97f 15vfit
f55ba97f 16vshowfaceboundary b 1 255 0 0 3
17vraytrace 1
18
19if {[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 23if {[vreadpixel 105 58 name] != "RED 1"} {
f55ba97f 24 puts "ERROR: the box's boundaries are not shown in ray-tracing mode!"
25}
26
27vdump $imagedir/${casename}.png