0032208: Tests - refactor visualization tests to cover several graphic drivers
[occt.git] / tests / v3d / raytrace / plastic
diff --git a/tests/v3d/raytrace/plastic b/tests/v3d/raytrace/plastic
deleted file mode 100644 (file)
index e8cb157..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-puts "========"
-puts "Ray Tracing - check lighting on Plastic material"
-puts "========"
-
-# create box
-box b 1 2 3
-
-# draw box
-vinit View1
-vclear
-vrenderparams -rasterization
-vsetdispmode 1
-vaxo
-vdisplay     b
-vsetmaterial b PLASTIC
-vsetcolor    b GREEN
-vfit
-vrotate 0.2 0.0 0.0
-
-# take snapshot with fixed pipeline
-vdump $::imagedir/${::casename}_OFF.png
-set aColorL [vreadpixel 150 250 rgb name]
-set aColorR [vreadpixel 250 250 rgb name]
-if { "$aColorL" != "GREEN3" || "$aColorR" != "GREEN4" } {
-  puts "Error: wrong color (fixed pipeline)!"
-}
-
-vrenderparams -raytrace
-set aColorL [vreadpixel 150 250 rgb name]
-set aColorR [vreadpixel 250 250 rgb name]
-#if { "$aColorL" != "GREEN3" || "$aColorR" != "GREEN4" } {
-#  puts "Error: wrong color (Ray Tracing)!"
-#}