jyoung77
07-05-2007, 03:50 PM
Hi,
Is there a way to retrieve the 6 parameters used to define a orthogonal projection (glOrtho())? It seems that the 3th, 7th, 11th floats in the array returned from glGet() with argument GL_PROJECTION_MATRIX are the 3 dimensions of the bounding box. It may fail if glOrtho() was called twice although it's unusual, right?
Please advise. Thanks.
Tony
Is there a way to retrieve the 6 parameters used to define a orthogonal projection (glOrtho())? It seems that the 3th, 7th, 11th floats in the array returned from glGet() with argument GL_PROJECTION_MATRIX are the 3 dimensions of the bounding box. It may fail if glOrtho() was called twice although it's unusual, right?
Please advise. Thanks.
Tony