Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 4 of 4

Thread: coordiante mapping

  1. #1
    Guest

    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.

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001
    Location
    Kristianstad,Skåne,Sweden
    Posts
    1,651

    Re: coordiante mapping

    Hi !

    The faq on this website has everything you need.

    Mikael

  3. #3
    Junior Member Newbie
    Join Date
    Mar 2004
    Location
    Bangalore
    Posts
    4

    Re: coordiante mapping

    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.

  4. #4
    Junior Member Newbie
    Join Date
    Mar 2004
    Location
    Bangalore
    Posts
    4

    Re: coordiante mapping

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •