0024887: Visualization - revise and extend Raytracing controls
[occt.git] / tests / v3d / raytrace / plastic
index b46b862..e8cb157 100644 (file)
@@ -8,6 +8,7 @@ box b 1 2 3
 # draw box
 vinit View1
 vclear
+vrenderparams -rasterization
 vsetdispmode 1
 vaxo
 vdisplay     b
@@ -24,7 +25,7 @@ if { "$aColorL" != "GREEN3" || "$aColorR" != "GREEN4" } {
   puts "Error: wrong color (fixed pipeline)!"
 }
 
-vraytrace 1
+vrenderparams -raytrace
 set aColorL [vreadpixel 150 250 rgb name]
 set aColorR [vreadpixel 250 250 rgb name]
 #if { "$aColorL" != "GREEN3" || "$aColorR" != "GREEN4" } {