0030942: Draw Harness, ViewerTest - command vdefaults should abort script on unknown...
[occt.git] / tests / bugs / vis / bug27629
1 puts "========"
2 puts "OCC27629"
3 puts "========"
4 puts ""
5 ##############################################################################################################################
6 puts "Visualization - apply a correct model-world matrix to normals in fixed function pipeline with enabled zoom persistence."
7 ##############################################################################################################################
8
9 vinit
10 box b0 25 25 25
11 vsetdispmode 1
12 vdisplay b0 -trsfPers zoom
13 vzoom 10
14
15 if { [vreadpixel 220 200 name] != "DARKGOLDENROD3 1"} {
16   puts "Error: normals aren't normalized!"
17 }
18
19 checkview -screenshot -3d -path ${imagedir}/${test_image}.png