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 2 of 2

Thread: Help for gluUnProject

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2004
    Posts
    6

    Help for gluUnProject

    I am trying to get the world coordinates (gluOrtho2D) from window coordinates.

    Can someone refer me to some code using gluUnProject to do this?

    Thanks.
    Brian

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2004
    Location
    Scotland
    Posts
    18

    Re: Help for gluUnProject

    Try this example:

    "Converting from window to world coordinates":
    http://www.cs.uaf.edu/~cs381/docs/unproject.cpp
    There are 10 kinds of people in this world. Those who understand binary and those who don't

Posting Permissions

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