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