RE: [Flightgear-devel] Screen to cartesian co-ords?

2004-11-05 Thread Aaron Wilson
Paul, You may want to look into the gluUnProject(...) function. Aaron At 04:29 PM 11/4/2004, you wrote: Thanks, that makes a lot more sense to me now. I'll see what I can glean from the PPE code. On Thursday, 4 November 2004 23:06, Norman Vine wrote: RE: [Flightgear-devel] Screen

RE: [Flightgear-devel] Screen to cartesian co-ords?

2004-11-05 Thread Paul Surgeon
On Friday, 5 November 2004 15:16, Aaron Wilson wrote: Paul, You may want to look into the gluUnProject(...) function. Aaron Thanks Aaron. I have it all working nicely with glReadPixels and gluUnProject. Not sure exactly how the Z cursor component is determined but it seems to work

Re: [Flightgear-devel] Screen to cartesian co-ords?

2004-11-04 Thread Paul Surgeon
On Thursday, 4 November 2004 22:02, Aaron Wilson wrote: Paul, NeHe has a good example of how to convert the screen coordinates into OpenGL coordinates. http://nehe.gamedev.net/data/articles/article.asp?article=13 Aaron I found that article very helpful. The part I don't understand

RE: [Flightgear-devel] Screen to cartesian co-ords?

2004-11-04 Thread Norman Vine
Paul Surgeon writes: On Thursday, 4 November 2004 22:02, Aaron Wilson wrote: Paul, NeHe has a good example of how to convert the screen coordinates into OpenGL coordinates. http://nehe.gamedev.net/data/articles/article.asp?article=13 Aaron I found that article very

RE: [Flightgear-devel] Screen to cartesian co-ords?

2004-11-04 Thread Paul Surgeon
Thanks, that makes a lot more sense to me now. I'll see what I can glean from the PPE code. On Thursday, 4 November 2004 23:06, Norman Vine wrote: RE: [Flightgear-devel] Screen to cartesian co-ords? If you have enabled DepthBuffer operations in OpenGL the rasterizing process keeps track