opengl - LookAt Matrix Question - when are they equivalent -


Can you please confirm or reject the following statement that is correct to me?

1) Two Lookout (eye, center 1, above)

and

  glLookAt (eye, center 2, above)  
  glLookAt   

are equal if center1 - eye == k (center2 - eye) for some positive Kashmir

2) tho lookAt matrices are never equal if their eye vector is different

is equivalent if cent1 - eye == k (center2 - eye) for some positive.

That's right. The direction vector is calculated by the center - with eyes, and then normalized, so if the direction is the same then length does not make any difference.

Be careful that there may be very slight numerical differences in the matrix as the circular circular, though for all practical purposes, the matrix is ​​the same.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -