hello there..

I am developing application using wxWidgets and OpenGL using C++.. I want the functionality where in, when a mouse is moved on GLCanvas, on the status bar of the application, x and y coordinates has to be displayed..

I am able to do this, by writing a code for mouse move event of GLCanvas.. Now, according to geography, there are various Coordinate Systems (CS).. e.g. UTM CS, Geographic CS etc.

Again for this CS, there are various ellipsoid.. The most commonly used ellipsoid is WGS84.. Now, i have an interface where in user can set the coordinate system either to Local, Geographic or UTM... And the ellipsoid is WGS84..

And also i have an interface, to convert Geographic CS to UTM CS.. Now, once the conversion is done, the projection changes.. I wanted to know how this change in projection can be acheived using OPENGL...

I found out one library on the internet called, PROJ.4... It can be integrated with C++, and i have used this library for conversion of CS.. But i'm failing to project the objects accordingly..

I dont know whether proj.4 can be integrated with OpenGL or not.. Any one kindly help me to get this problem solved...

Thanks in advance..

With Regards
Rakesh Patil