Results 1 to 2 of 2

Thread: MOUSE

  1. #1
    Junior Member Newbie
    Join Date
    Oct 2010
    Location
    AR
    Posts
    3

    MOUSE

    good gentlemen need your help, I am studying the opengl but I ran with the uncertainty of the function of the mouse to click on the screen but I coordinate these coordinates are giving me the window is not my coordenada.como could trannsformar coordinates of my mouse to the coordinate axis
    dasdas avbrfvfdfsdfsdfsd

  2. #2
    Member Newbie
    Join Date
    Sep 2010
    Posts
    36

    Re: MOUSE


    Hi, mappers,
    when you running your program, it is in windows coordinate, for transforming to object coordinate you can use gluUnProject function with respective parameters.

Similar Threads

  1. Right mouse Button and Mouse Movement for Zoom?
    By GrimmBro in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 02-20-2011, 04:45 AM
  2. mouse speed between sampled mouse input points
    By sunnymonk in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-06-2005, 09:43 AM
  3. rotate on mouse click and drag in the direction of the mouse cursor
    By vamsee kanth in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-02-2005, 09:54 PM
  4. Replies: 2
    Last Post: 11-14-2000, 03:57 PM
  5. 2d mouse,3d object, how do I tell mouse is over it
    By Schlogenburg in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-18-2000, 11:52 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