Results 1 to 4 of 4

Thread: Points

  1. #1
    Guest

    Points

    i need a way in OPenGl ONLY, not glut, to select a point in the screen and transform it into world coordinates...is there a way to do this?

  2. #2

    Re: Points

    Definitely, capture the appropriate mouse click event in your windowProc function and use OpenGL's GL_SELECT render mode.
    /*
    Cinematix Studios (www.cinematix.com)
    Engine/game programmer
    */

  3. #3
    Senior Member Regular Contributor
    Join Date
    Dec 1969
    Location
    Munich,Germany
    Posts
    227

    Re: Points

    do a search on picking in this newsgroup
    yes

  4. #4
    Senior Member Regular Contributor
    Join Date
    Nov 2000
    Location
    Dunblane, Scotland
    Posts
    333

    Re: Points

    gluUnproject
    Reality is for idiots only the best over come it!

Similar Threads

  1. Replies: 3
    Last Post: 10-30-2013, 02:58 PM
  2. round points become a square points
    By Swift in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 10-07-2002, 10:01 AM
  3. Replies: 3
    Last Post: 01-01-2002, 01:23 PM
  4. knot points and control points in NURBS
    By kkher in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 12-19-2000, 07:20 PM

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