Results 1 to 2 of 2

Thread: Mouse with Perspective Transformation

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Turkey
    Posts
    13

    Mouse with Perspective Transformation

    How can i get real mouse coor
    when i am using perspective transformation?

  2. #2
    Halcyon
    Guest

    Re: Mouse with Perspective Transformation

    Use the gluUnProject procedure. This is the format:
    Code :
    int gluUnProject(
      GLdouble winx,                   
      GLdouble winy,                   
      GLdouble winz,                   
      const GLdouble modelMatrix[16],   
      const GLdouble projMatrix[16],   
      const GLint viewport[4],         
      GLdouble * objx,                 
      GLdouble * objy,                 
      GLdouble * objz                  
    );

Similar Threads

  1. Perspective transformation matrix problem
    By WormLice in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 04-29-2018, 02:27 PM
  2. How to move camera in Perspective with the mouse ?
    By viewon01 in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 10-01-2009, 08:07 AM
  3. perspective issue (transformation along Z axis)
    By JTScott in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 04-09-2008, 03:22 PM
  4. Perspective Transformation for large plane
    By lingwitt in forum OpenGL: General
    Replies: 1
    Last Post: 08-12-2004, 08:20 AM
  5. Mouse Coordinate Transformation
    By Nat in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 08-23-2001, 10:36 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