1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00
occt/tests/bugs/vis/bug29127
kgv b8db9379fe 0032203: Draw Harness, ViewerTest - drop dependency from OpenGL
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.
2021-03-17 19:56:54 +03:00

25 lines
728 B
Plaintext

puts "============"
puts "0029127: Visualization - V3d_View::ToPixMap() crashes on tiled rendering without FBO"
puts "============"
puts ""
pload MODELING VISUALIZATION
box b 1 2 3
# request software OpenGL implementation - which is OpenGL 1.1 in case of Windows
# (test case is useless for other systems)
pload OPENGL
vcaps -softMode 1
# disable FPE signals -- these often occur in software OpenGL drivers
dsetsignal 0
vclear
vinit View1
vsetdispmode 1
vdisplay b
vfit
vdump $::imagedir/${::casename}_409.png -buffer rgb -width 409 -height 409
vdump $::imagedir/${::casename}_412.png -buffer rgb -width 412 -height 412 -tileSize 409
vdump $::imagedir/${::casename}_500.png -buffer rgb -width 500 -height 500 -tileSize 300