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/bug26312
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

26 lines
463 B
Plaintext

puts "============"
puts "OCC26312"
puts "ColorScale doesn't work as expected."
puts "============"
puts ""
vinit View1
vclear
vaxo
# draw color scale
vcolorscale cs -demo
vdump ${imagedir}/${casename}_View1.png
#add more views
vinit View2 w=300 h=500
vinit View3 w=500 h=300
# dump all views
vactivate View2
vcolorscale cs -height 500
vdump ${imagedir}/${casename}_View2.png
vactivate View3
vcolorscale cs -height 300
vdump ${imagedir}/${casename}_View3.png