View Full Version : coordiante mapping
how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.
mikael_aronsson
03-24-2004, 10:12 PM
Hi !
The faq on this website has everything you need.
Mikael
SakuSys
03-25-2004, 12:55 AM
You have not mentioned the type of coordinate system you have choosen (3d or 2d). If 3d, windows doesn't support one of your axis.
Originally posted by <Radhika>:
how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.
SakuSys
03-25-2004, 12:58 AM
Also refer the sample of MFCOGL in the MSDN library and FAQs in this site. Let me know for further clarifications.
Originally posted by <Radhika>:
how can I map windows coordinates to opengl graphical area coordinates. I am using MFC. I want to get mouse click coordiantes on the graphical area.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.