Results 1 to 2 of 2

Thread: How to get displayed object's vertices in a Buffer ?

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2002
    Posts
    27

    How to get displayed object's vertices in a Buffer ?

    Hi,
    I displayed a 3D object in a window by specifying coordinates in glBegin() and glEnd().My question is how to get the x,y and z values of the object from the window in a mouse click.
    Is possible ?I read that glFeedbackBuffer will returned it.If so,it is contain ogl coordinates or screen coordinates ?Anyway to get ogl coorinates ?

    Pls specify the steps to follow or any helping code

    Thanks a lot,
    Jerry

  2. #2
    Senior Member Regular Contributor
    Join Date
    Aug 2000
    Location
    Turin
    Posts
    258

    Re: How to get displayed object's vertices in a Buffer ?

    Do you want to pick vertexes ??? If so just do a search on the web for selection buffer or glproject, or give a visit at Romka's web site. he has some good picking tutorials.

    rIO.sK http://www.spinningkids.org/rio
    [rIO^sPINNING kIDS] - rio@nospam.spinningkids.org

    -/- This is a signature virus. Add it to your signature. Help it spreading! -/-

Similar Threads

  1. How to upload different types of vertices to one object?
    By Cofyka in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 10-20-2018, 04:19 PM
  2. Object displayed in all three directions..!!!
    By saurabhsb in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-10-2014, 05:34 AM
  3. vertex buffer object for vertices&colors
    By saman_artorious in forum OpenGL: Advanced Coding
    Replies: 0
    Last Post: 06-25-2013, 01:43 AM
  4. Replies: 1
    Last Post: 09-10-2008, 08:56 PM
  5. Render to buffer that is never displayed?
    By Henry Holmes in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 06-02-2008, 05:00 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