1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/bugs/vis/bug24728
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

16 lines
262 B
Plaintext

puts "============"
puts "CR24728: Test image dumping with software accelerated GL context"
puts "============"
puts ""
pload MODELING VISUALIZATION
pload OPENGL
vcaps -softMode 1 -ffp 1
vinit View1
box b 1 2 3
vdisplay b
vfit
vdump $imagedir/${casename}.png