Re: [Flightgear-devel] Drawing with OpenGL in Flightgear

2003-03-20 Thread Andy Ross
Richard Airlie wrote: I am trying to draw an OpenGL quad at the very end of fgRenderFrame in main.cxx, just before the glutSwapBuffers by doing: glMatrixMode(GL_MODELVIEW); glPushMatrix(); glLoadIdentity(); [...] This has worked on a few occasions, but not all the time. If

Re: [Flightgear-devel] Drawing with OpenGL in Flightgear

2003-03-20 Thread Richard Airlie
On Thu, Mar 20, 2003 at 04:32:57PM -0800, Andy Ross wrote: If you want to draw into screen space, you'll need to push the identity matrix onto the *projection* stack as well. Otherwise the coordinates you are using will end up drawing a 1m x 1m square parallel to the equatorial plane at the