mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Added TKOpenGlTest and TKD3DHostTest Draw Harness plugins. TKOpenGlTest is automatically loaded by ViewerTest::ViewerInit(). Commands vgldebug, vvbo, vcaps and vuserdraw have been moved to TKOpenGlTest. New command vglshaders lists GLSL programs defined by OpenGl_GraphicDriver, previously implemented by "vshaderprog -list". Added new command vdriver for graphic driver selection. Removed erroneous code from command vstereo.
24 lines
671 B
Plaintext
24 lines
671 B
Plaintext
puts "================"
|
|
puts "0027337: \[Regression vs. 6.9.1\] Selection highlight is poor in ray traced mode with FSAA"
|
|
puts "================"
|
|
|
|
pload MODELING VISUALIZATION
|
|
|
|
# Ray-Tracing doesn't work with Compatible Profile on macOS
|
|
pload OPENGL
|
|
if { $::tcl_platform(os) == "Darwin" } { vcaps -core }
|
|
|
|
box b 10 10 10
|
|
vdisplay b
|
|
vsetdispmode 1
|
|
vfit
|
|
vrenderparams -rayTrace -fsaa
|
|
vmoveto 200 200
|
|
|
|
puts "Check result by color in the middle of the top face:"
|
|
puts "should be color of shading and not of highlight (blue)"
|
|
checkcolor 205 100 0.64 0.56 0.08
|
|
|
|
puts "Check result by image: selection highlight should show only visible edges"
|
|
vdump ${imagedir}/${casename}.png
|