0024413: Visualization - get rid of projection shift from orthographic camera definition
[occt.git] / tests / bugs / vis / bug113
index 8985c0c..6e33b66 100755 (executable)
@@ -12,17 +12,15 @@ set X_02 204
 set Y_02 300
 
 set scale    60.6309
-set center_X 7.07107
-set center_Y 4.08248
 set proj_X   0.479541
 set proj_Y   0.586729
 set proj_Z   0.652525
 set up_X     -0.838029
 set up_Y     0.0856396
 set up_Z     0.538863
-set at_X     8.87741
-set at_Y     -2.73728
-set at_Z     4.68363
+set at_X     3.61568258316782
+set at_Y     3.30626448080767
+set at_Z     3.11631746104816
 
 # Display two face
 vinit
@@ -57,6 +55,6 @@ vmoveto ${X_02} ${Y_02}
 checkcolor ${X_02} ${Y_02} 0 1 1
 
 # Rotation
-vviewparams ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
+vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
 
 set only_screen 1