0031999: Tests - request Core Profile on macOS for Ray-Tracing tests
[occt.git] / tests / bugs / vis / bug27337
CommitLineData
d9e72440 1puts "================"
2puts "0027337: \[Regression vs. 6.9.1\] Selection highlight is poor in ray traced mode with FSAA"
3puts "================"
4
5pload MODELING VISUALIZATION
ba562b2b 6
7# Ray-Tracing doesn't work with Compatible Profile on macOS
8if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
9
d9e72440 10box b 10 10 10
11vdisplay b
12vsetdispmode 1
13vfit
14vrenderparams -rayTrace -fsaa
15vmoveto 200 200
16
17puts "Check result by color in the middle of the top face:"
18puts "should be color of shading and not of highlight (blue)"
19checkcolor 205 100 0.64 0.56 0.08
20
21puts "Check result by image: selection highlight should show only visible edges"
ba562b2b 22vdump ${imagedir}/${casename}.png