0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / colorscale / bug26312
diff --git a/tests/v3d/colorscale/bug26312 b/tests/v3d/colorscale/bug26312
new file mode 100644 (file)
index 0000000..d22a537
--- /dev/null
@@ -0,0 +1,25 @@
+puts "============"
+puts "OCC26312: ColorScale doesn't work as expected."
+puts "============"
+puts ""
+
+pload VISUALIZATION
+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