Results 1 to 3 of 3

Thread: Selection Buffer

  1. #1
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    16

    Selection Buffer

    I am currently working on learning how to use the selection buffer and I am a little confused. Here is what I am doing. I have currently loaded a texture onto a polygon and drew 3 different shapes on top of the texture. None of them are touching and there is one Cyan Triangle, one small red triangle and one medium green rectangle. I would like to select the green rectangle only, but am unsure how to manipulate this into the code I have already created.

  2. #2
    V-man
    Guest

    Re: Selection Buffer

    The selection buffer is for selecting geometry, not images in a texture. You need to render your shapes and then you will be able to select.
    As an alternative, use a intersection detection library instead of using the GL selection feature which is kind of old.

  3. #3
    Junior Member Newbie
    Join Date
    May 2008
    Posts
    16

    Re: Selection Buffer

    I understood that, and that is actually what I am trying to do. I am rendering three different shapes and would like to be able to select them, but the code I am using to put the selection buffer into is not allowing it to work. It could be the way I am minipulating the selection buffer in the code and I will try and put my code up later today.

    Thank You

Similar Threads

  1. The selection buffer????
    By SAmhigh in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 01-07-2003, 02:56 PM
  2. Selection buffer
    By Neo the great hacker in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-01-2001, 05:21 AM
  3. Is using selection buffer for selection or picking slow?
    By mohsin in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-11-2001, 03:56 AM
  4. selection buffer
    By lee in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-23-2001, 09:12 AM
  5. Selection buffer???
    By Schlogenburg in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-18-2000, 02:28 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