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: Using the Mouse?

  1. #1
    Junior Member Newbie
    Join Date
    Dec 2005
    Location
    Oklahoma
    Posts
    9

    Using the Mouse?

    This may not belong here, but I'm going to ask it anyway. Is there a capability for OpenGL to get the point on the screen where the user clicks the mouse and OpenGL returns a polygon number or vertecies of the polygon where the user clicked or something like that? I have several applications in mind where this kind of thing would come in handy. I have no idea about the inner workings of OpenGL, so forgive me.

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    Oct 2000
    Location
    Belgium
    Posts
    857

    Re: Using the Mouse?



    Section 5.2 of the OpenGL specification: "Selection".

Posting Permissions

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