Results 1 to 2 of 2

Thread: Selection Buffer question...

  1. #1
    Junior Member Newbie
    Join Date
    Jan 2001
    Posts
    16

    Selection Buffer question...

    I have read some stuff about selection buffer and i have understood that you must render the scene 2 times, one time for selection, the other time for "colors" (i don't know in wich order). So i would like to know if it's not too slow, especially for commercial game like Quake III Arena, and if so, what techic do they use.

    Thanks by advance.

  2. #2
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    2,978

    Re: Selection Buffer question...

    The selection buffer in OpenGL is generally not too optimized on todays consumer level hardware, and therefore might be a somewhat slow. But if you are looking for other ways, you can see selection as just another form of collision detection. Cast a ray from the viewpoint through the pixel you click on, and see if that ray intersects any objects. That is one way to do it.

Similar Threads

  1. Selection buffer
    By Neo the great hacker in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-01-2001, 05:21 AM
  2. 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
  3. selection buffer
    By lee in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-23-2001, 09:12 AM
  4. Selection buffer
    By fox in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 10-12-2000, 03:27 AM
  5. SELECTION BUFFER
    By fox in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 09-24-2000, 07:24 AM

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