Results 1 to 2 of 2

Thread: Screen pixel to its location in global coordinate.

  1. #1
    Member Newbie
    Join Date
    Jul 2001
    Location
    boston, ma, usa
    Posts
    30

    Screen pixel to its location in global coordinate.

    How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).

    Thank you

  2. #2
    Member Newbie
    Join Date
    Jul 2001
    Location
    boston, ma, usa
    Posts
    30

    Re: Screen pixel to its location in global coordinate.

    I found the answer my self.
    Using gluUnproject(...)

    Originally posted by jxruan:
    How can I translate a position (x, y) on screen to its global match (x, y, 0)? (suppose z = 0).

    Thank you

Similar Threads

  1. Replies: 0
    Last Post: 03-03-2014, 06:44 PM
  2. Pixel Location
    By Jassel41 in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 08-02-2010, 08:18 PM
  3. Local and global coordinate system
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 10-12-2002, 07:10 PM
  4. local/global coordinate system problem
    By Dalhia in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 01-29-2001, 05:28 AM
  5. Global Coordinate System Transformations
    By mbonika in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 02-27-2000, 08:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean