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: Select a vertex from a 3D object

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2003
    Location
    Israel
    Posts
    12

    Select a vertex from a 3D object

    Hi,
    After pressing the mouse button,i need that all the vertices
    that are the most closest to that vertex to be painted ,lets say
    with a red color.
    I think that i shold use glRenderMode(GL_SELECT) function
    but i don't know how...
    Thanks.

  2. #2
    Intern Contributor
    Join Date
    Apr 2002
    Location
    UK
    Posts
    50

    Re: Select a vertex from a 3D object

    Nehe has a tutorial (number 32) that deals with picking.This should be what you're after.

Posting Permissions

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