Zooming a selected point of an Bitmap Image using MFC and OpenGL
-
Hello I have developed an application, which load the Bitmap Image as texture using openGL. My question is, how to zoom a particular point of an image when i click using the mouse left button. Will any body help by providing the suitable source code or Link , so that it help me a lot I am using VC++ ( MFC's MDI ) and OpenGL . Regards Jagannathan
-
Hello I have developed an application, which load the Bitmap Image as texture using openGL. My question is, how to zoom a particular point of an image when i click using the mouse left button. Will any body help by providing the suitable source code or Link , so that it help me a lot I am using VC++ ( MFC's MDI ) and OpenGL . Regards Jagannathan
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
Hello I have developed an application, which load the Bitmap Image as texture using openGL. My question is, how to zoom a particular point of an image when i click using the mouse left button. Will any body help by providing the suitable source code or Link , so that it help me a lot I am using VC++ ( MFC's MDI ) and OpenGL . Regards Jagannathan
jagannathan thiruvengadathan wrote:
Hello I have developed an application, which load the Bitmap Image as texture using openGL. My question is, how to zoom a particular point of an image when i click using the mouse left button. Will any body help by providing the suitable source code or Link , so that it help me a lot I am using VC++ ( MFC's MDI ) and OpenGL . Regards Jagannathan
I had a similar problem when writing Clear Focus. I had to write code to reverse the OpenGL transform to convert a point on the screen to a ray in the 3D model. Then I used simple ray tracing to find which point on the 3D model I was pointing to. It helped to provide a marker object (in my case, just a glPoint) that always follows the mouse pointer so that you can see which point you'll be clicking. Nathan