Hi, I have drawn some images on the screen by using TextureMapping. In the OnSize(…) event i set the projection and viewport like this:
glViewport(0, 0, cx, cy);
gluPerspective(0.0f, fAspect, 0.0f, 1000.0f);
At the time of displaying the images i set the projection as
glOrtho(anViewport[0], anViewport[2], anViewport[3], anViewport[1], -1.0f, 1.0f);
The problem is , Just I moves the image to the end of the viewport. After that I can access the Feed back buffer; The Feedback buffer won’t fill with the proper info. But when i place the image within the viewport area the values in the Feedback buffer are properly filled. How to get the proper values when the image is outside the viewport.
[This message has been edited by Balu (edited 11-09-2003).]