Updates will be applied on October 27th between 12pm - 12:45pm EDT (UTC-0400). Gitlab may be slow during the maintenance window.

Commit c065d051 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Reduce fov angle in simple timing.

The field of view angle used in the simple timing test was a bit
exaggerated.  Appart from not being well representative of a real
application, it was causing load imbalances in the rendering
(I think).
parent 2d16d815
......@@ -589,7 +589,7 @@ static int SimpleTimingRun()
icetSingleImageStrategy(g_single_image_strategy);
/* Set up the projection matrix. */
icetMatrixFrustum(-0.5*aspect, 0.5*aspect, -0.5, 0.5, 1.0, 3.0,
icetMatrixFrustum(-0.65*aspect, 0.65*aspect, -0.65, 0.65, 3.0, 5.0,
projection_matrix);
if (rank%8 != 0) {
......@@ -632,7 +632,7 @@ static int SimpleTimingRun()
icetMatrixIdentity(modelview_matrix);
/* Move geometry back so that it can be seen by the camera. */
icetMatrixMultiplyTranslate(modelview_matrix, 0.0, 0.0, -2.0);
icetMatrixMultiplyTranslate(modelview_matrix, 0.0, 0.0, -4.0);
/* Rotate to some random view. */
icetMatrixMultiplyRotate(modelview_matrix,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment